I'm trying to figure out how pkg_fetch decides where to get packages
from.  

It doesn't appear to consistently fetch from the same directory.
Sometimes is fetches from the Latest directory, other times from All.
The problem is that the All directory doesn't have the short package
names listed, only Latest does.

 

I've set the following environment vars:

PACKAGES=/release/packages-5-stable/

PKG_SITES=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable
/

 

If I run pkg_fetch -v www/apache20 

It fetches the file from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ap
ache20.tbz, and renames it to apache-2.0.55_3.tbz

 

If I run pkg_fetch -v databases/postgresql74-server

It tries to fetch the file from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/postg
resql74-server.tbz

 

The problem is that in the All directory there is no
postgresql74-server.tbz file, but if I go look in the Latest directory,
there is a symlink for postgresql74-server.tbz to
../All/postgresql-server-7.4.11.tbz.

Why didn't pkg_fetch use the Latest directory?

Can I force it to use Latest all the time?

 

Thanks

 

Andrew Webster

 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to