From owner-freebsd-bugs Thu Aug 24 18:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4FE0337B424 for ; Thu, 24 Aug 2000 18:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA72417; Thu, 24 Aug 2000 18:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 32B2437B424; Thu, 24 Aug 2000 18:02:18 -0700 (PDT) Message-Id: <20000825010218.32B2437B424@hub.freebsd.org> Date: Thu, 24 Aug 2000 18:02:18 -0700 (PDT) From: david@bushong.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/20827: pkg_add -r only fetchs one-level deep dependencies Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20827 >Category: bin >Synopsis: pkg_add -r only fetchs one-level deep dependencies >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 24 18:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: David Bushong >Release: 4.1-STABLE >Organization: >Environment: FreeBSD everest.DataMain.COM 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Aug 1 16:19:45 PDT 2000 dbushong@everest.DataMain.COM:/usr/obj/usr/src/sys/EVEREST i386 >Description: Given a functional package server and pkg_add -r, dependencies of dependencies of a given package are not fetched, and thus the install fails. >How-To-Repeat: # setenv PACKAGE_SITE http://www.example.com/packages/All/ # pkg_add -r evolution-0.4.1 Fetching http://localhost/packages/All/evolution-0.4.1.tgz... Done. Fetching http://localhost/packages/All/bonobo-0.18.tgz... Done. pkg_add: could not find package gdk-pixbuf-0.8.0 ! pkg_add: could not find package gnomecontrolcenter-1.2.1 ! pkg_add: could not find package gnomeprint-0.20 ! pkg_add: pkg_add of dependency `bonobo-0.18' failed! Fetching http://localhost/packages/All/gconf-0.8.tgz... Done. pkg_add: could not find package gdk-pixbuf-0.8.0 ! pkg_add: could not find package gnomecontrolcenter-1.2.1 ! ... and so on. All of these dependent packages _do_ exist on the server. >Fix: Pass the remote flag to child pkg_add's? I have a feeling that this might cause problems with duplicate dependencies, not sure. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message