pkg_add problem

eoghan freebsd at redry.net
Fri Sep 30 10:56:43 PDT 2005


On 30 Sep 2005, at 18:50, Kris Kennaway wrote:

> 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/.
>

Ah! Thanks for your help all.
Eoghan



More information about the freebsd-questions mailing list