Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2006 09:46:20 -0500
From:      "Webster, Andrew" <awebster@connectalk.com>
To:        <freebsd-questions@freebsd.org>
Subject:   pkg_fetch fetches from wrong place???
Message-ID:  <9D61D69E3C1F7F459C5513AD830EE2195128FC@mtlex01.connectalk.com>

next in thread | raw e-mail | index | archive | help
I'm trying to figure out how pkg_fetch decides where to get packages
from. =20

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.

=20

I've set the following environment vars:

PACKAGES=3D/release/packages-5-stable/

PKG_SITES=3Dftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stabl=
e
/

=20

If I run pkg_fetch -v www/apache20=20

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

=20

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

=20

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
=2E./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?

=20

Thanks

=20

Andrew Webster

=20



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