Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 13:40:09 +0100
From:      j mckitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   pkg_add resume problems
Message-ID:  <20000901134009.A48178@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000901134009.A48178>