From owner-freebsd-questions Fri Sep 1 5:40:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 2B45037B422 for ; Fri, 1 Sep 2000 05:40:11 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 13Uq78-0003aa-00 for freebsd-questions@freebsd.org; Fri, 1 Sep 2000 13:40:10 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.9.3/8.9.3) id NAA48260 for freebsd-questions@freebsd.org; Fri, 1 Sep 2000 13:40:09 +0100 (BST) (envelope-from jcm) Date: Fri, 1 Sep 2000 13:40:09 +0100 From: j mckitrick To: freebsd-questions@freebsd.org Subject: pkg_add resume problems Message-ID: <20000901134009.A48178@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have had a few problems lately with the pkg_add command. Sometimes the dependencies are not satisfied, maybe because of a remote file fetch failure, and this trips up the process. Is there an easy way to resume? I know there is a re-fetch command, but pkg_add still tries to start from the beginning of the dependencies list and if a dependency is not installed, it insists on fetching all of the uninstalled packages. In other words, if i try to install foo, and it depends on bar1, bar2 and bar3, suppose i need all of the dependencies. Now suppose bar3 is not available for download. I wait an hour and try again. But pkg_add will start with downloading foo, then bar1, then bar2, and finally bar3, even if the previous download attempt was successful for those files. It seems that it only checks to see if a dependency is installed, but does not check if the uninstalled package file exists on the system. Is this the way it is supposed to work? Using 'make' checks if the port is installed, but also checks if the file exists in ports/distfiles before trying to download it. jcm -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message