From owner-freebsd-questions Sat Apr 1 11: 0: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from europe.std.com (europe.std.com [199.172.62.20]) by hub.freebsd.org (Postfix) with ESMTP id 2B69237C3EE for ; Sat, 1 Apr 2000 10:59:59 -0800 (PST) (envelope-from lowell@world.std.com) Received: from world.std.com (lowell@world-f.std.com [199.172.62.5]) by europe.std.com (8.9.3/8.9.3) with ESMTP id NAA28602; Sat, 1 Apr 2000 13:59:56 -0500 (EST) Received: (from lowell@localhost) by world.std.com (8.9.3/8.9.3) id NAA28606; Sat, 1 Apr 2000 13:59:55 -0500 (EST) To: "David J. Kanter" , freebsd-questions@freebsd.org Subject: Re: Package/port INDEX question References: <20000401120008.A23617@localhost.localdomain> From: Lowell Gilbert Date: 01 Apr 2000 13:59:55 -0500 In-Reply-To: "David J. Kanter"'s message of Sat, 1 Apr 2000 12:00:08 -0600 Message-ID: Lines: 17 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David J. Kanter" writes: > Is the package index referred to when using pkg_version an amalgam of > installed packages, installed ports, and not-installed ports? /usr/ports/INDEX is the index of available ports. It does not look at what is installed: just what is in the ports tree (or, what *was* in the ports tree when INDEX was built). pkg_version compares this to the installed ports and packages (which are equivalent once installed, by the way), and determines which ones it has new versions of. > 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. You are completely correct. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message