Date: Sun, 02 Apr 2000 09:37:26 -0700 From: bmah@CA.Sandia.GOV (Bruce A. Mah) To: "David J. Kanter" <djkanter@nwu.edu> Cc: FreeBSD questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Package/port INDEX question Message-ID: <200004021637.e32GbQT72261@nimitz.ca.sandia.gov> In-Reply-To: <20000401120008.A23617@localhost.localdomain> References: <20000401120008.A23617@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-1176548480P Content-Type: text/plain; charset=us-ascii If memory serves me right, "David J. Kanter" wrote: > Is the package index referred to when using pkg_version an amalgam of > installed packages, installed ports, and not-installed ports? Unless you specified otherwise by command-line option, it refers to /usr/ports/INDEX. > I ask this because of the "multiple versions" that shows up when I run > pkg_version after upgrading from 3.4-R to 3.4-S. A bunch now show up, and > I'm assuming it's because multiple versions of a port exist, rather than my > installation of multiple versions of a package or port. The purpose of pkg_version is to compare the version numbers of installed ports with what's in the INDEX file. If there are multiple versions of a port installed *or* if there exist multiple versions in the INDEX file, pkg_version can't make a meaningful comparison of the version numbers because it doesn't know which quantities to compare. The "multiple versions" output is pkg_version's (my) way of saying there isn't any automated way of figuring out which comparison to make and that you have to look at the output yourself and see. > For instance, bash has multiple versions, but I only installed 2.03. > However, an earlier version shows up in the ports tree, so is this why > pkg_version shows multiple version existing? Yep. Bruce. --==_Exmh_-1176548480P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: G8dFdtfShoDPGzPxDihlo68BlMytAQTf iQA/AwUBOOd3RtjKMXFboFLDEQLFLwCgjcf/H33s7PUy1yXan70PyEXPvxMAn3sd mKJV29avI9nfrTcs3upWcE5G =Ysic -----END PGP SIGNATURE----- --==_Exmh_-1176548480P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004021637.e32GbQT72261>