From owner-freebsd-questions Sun Apr 28 12: 6:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by hub.freebsd.org (Postfix) with ESMTP id E9E9B37B416 for ; Sun, 28 Apr 2002 12:06:52 -0700 (PDT) Received: from shall.anarcat.dyndns.org ([65.94.190.137]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020428190646.CHNH19497.tomts22-srv.bellnexxia.net@shall.anarcat.dyndns.org>; Sun, 28 Apr 2002 15:06:46 -0400 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by shall.anarcat.dyndns.org (Postfix) with SMTP id 79F0C56; Sun, 28 Apr 2002 15:06:11 -0400 (EDT) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Sun, 28 Apr 2002 15:05:43 -0400 Date: Sun, 28 Apr 2002 15:05:43 -0400 From: The Anarcat To: freebsd-questions@freebsd.org Subject: portupgrade not always using PACKAGES as documented? Message-ID: <20020428190543.GA315@lenny.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D/usr/ports.local DISTDIR=3D/usr/ports.local/distfiles PACKAGES=3D/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'] ||=3D '/usr/ports.local/packages' ENV['PKG_PATH'] ||=3D 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. --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzMSAYACgkQttcWHAnWiGcW0ACfe5mJ7nXDLt6DaQpeRehaoDwu 8dgAoKKFtmiWIPmtiTU+QTUZTyrdaS0i =X37M -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message