Date: Sun, 28 Apr 2002 15:05:43 -0400 From: The Anarcat <anarcat@anarcat.dyndns.org> To: freebsd-questions@freebsd.org Subject: portupgrade not always using PACKAGES as documented? Message-ID: <20020428190543.GA315@lenny.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi.
I have a /usr/ports collection mounted via read-only NFS, so I had to
hack a bit my config to have writable packages and distfiles
directories.
Here is the content of my make.conf:
WRKDIRPREFIX=/usr/ports.local
DISTDIR=/usr/ports.local/distfiles
PACKAGES=/usr/ports.local/packages
Now, I understand portupgrade isn't likely to parse that, so I
included the modifs in pkgtools.conf too:
ENV['PACKAGES'] ||= '/usr/ports.local/packages'
ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'
And now, pkg_fetch works well, but it seems portupgrade -P itself
cannot find the package, why?
---> Identifying the package /usr/ports.local/packages/All/popt-1.5.1_1.tgz
---> Saved as /usr/ports.local/packages/All/popt-1.5.1_1.tgz
---> Skipping libiconv-1.7_3 (already installed)
---> Skipping gettext-0.11.1_1 (already installed)
---> Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed)
+ popt-1.5.1_1
- libiconv-1.7_3
- gettext-0.11.1_1
** Could not fetch the latest version '1.5.1_1'
---> Using the port instead of a package
---> Upgrading 'popt-1.5.1' to 'popt-1.5.1_1' (devel/popt)
It's clear that pkg_fetch has successfully fetched the package and
installed it!
What am I doing wrong?
A.
--
From the age of uniformity, from the age of solitude, from the age of
Big Brother, from the age of doublethink - greetings!
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjzMSAYACgkQttcWHAnWiGcW0ACfe5mJ7nXDLt6DaQpeRehaoDwu
8dgAoKKFtmiWIPmtiTU+QTUZTyrdaS0i
=X37M
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020428190543.GA315>
