pkg_add problem

Kris Kennaway kris at obsecurity.org
Fri Sep 30 10:50:06 PDT 2005


On Fri, Sep 30, 2005 at 06:37:37PM +0100, eoghan wrote:
> 
> On 30 Sep 2005, at 18:05, Kris Kennaway wrote:
> 
> >On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote:
> >
> >>On 30 Sep 2005, at 15:30, Josh Ockert wrote:
> >>
> >>
> >>>Uhh... Well my first bet when trying to find stuff on FTP would be
> >>>to follow the path that the address given tries to specify. Had you
> >>>tried, you would have found that packages-5.3-release doesn't exist
> >>>under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would
> >>>have led you to wonder how to change the site pkg_add -r uses for
> >>>packages. This, appropriately enough, is set in the environment
> >>>variable PACKAGESITE, which you could have found by googling the
> >>>archives (this question came up maybe a week ago) or reading the
> >>>man page.
> >>>
> >>>
> >>>My recommendation would be:
> >>>o Set PACKAGESITE to:
> >>>  ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/
> >>>o pkg_add -rf portupgrade
> >>>o portupgrade -arfP
> >>>
> >>
> >>Ok thanks. I have done this...
> >>setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/
> >>packages-5-stable/
> >>and im still getting the same error.
> >>
> >
> >Show us the error, it can't be precisely the same one since you
> >changed the environment variable.
> 
> i set the PACKAGESITE... then
> pkg_add -r gnome2
> 
> Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ 
> packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no  
> access)
> pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ 
> i386/packages-5-stable/gnome2.tbz' by URL

Indeed, there is no such file in this directory.  You're missing a
Latest/.

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/20050930/474c2b61/attachment.bin


More information about the freebsd-questions mailing list