pkg_add -r returns error?

Kris Kennaway kris at obsecurity.org
Wed Sep 21 13:37:57 PDT 2005


On Wed, Sep 21, 2005 at 01:52:26PM -0600, Chris Burchell wrote:
> I have a freshly installed 5.3-RELEASE system configured and am trying
> to add a few packages using the 'pkg_add -r' command, but I get errors
> for all packages similar to the following:
> 
> 
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest
> /fastest-cvsup.tbz: File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lates
> t/fastest-cvsup.tbz' by URL
> 
> 
> I noticed that the FTP site does not have a 'packages-5.3-RELEASE'
> directory, but only a 'packages-5-stable' and a 'packages-5.4-release'
> directory.
> 
> Does this have to do something with the fact that my system 'RELEASE
> NAME' variable is '5.3-RELEASE'?  If so, how do I work around this?

This is discussed here fairly regularly.  You are running 5.3-release,
so pkg_add -r looks for 5.3-release packages.  You can either point
pkg_add at another master site that still carries them (see the
manpage), or try to use the 5.4-stable packages, which are not
supported on 5.3.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050921/d9f4c65d/attachment.bin


More information about the freebsd-questions mailing list