From owner-freebsd-stable Mon Mar 5 6:30:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 6016B37B718 for ; Mon, 5 Mar 2001 06:30:46 -0800 (PST) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA10353; Mon, 5 Mar 2001 06:30:25 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda10347; Mon Mar 5 06:30:03 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f25ETww48771; Mon, 5 Mar 2001 06:29:58 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdj48769; Mon Mar 5 06:29:23 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.3/8.9.1) id f25ETMZ09066; Mon, 5 Mar 2001 06:29:22 -0800 (PST) Message-Id: <200103051429.f25ETMZ09066@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdek8963; Mon Mar 5 06:29:14 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Don Read Cc: Martti Kuparinen , freebsd-stable@FreeBSD.ORG Subject: Re: Different output from pkg_version In-reply-to: Your message of "Sun, 04 Mar 2001 16:02:38 CST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Mar 2001 06:29:14 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Don Read writes: > > On 04-Mar-01 Martti Kuparinen wrote: > > Hi! > > > > Does anyone know a reason for the difference in the following outputs: > > > > > ROOT ws3:~> pkg_version -v | grep bash > > bash-2.04 = up-to-date with port > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > ROOT server:~> pkg_version -v | grep bash > > bash-2.04 * multiple versions (index has 1.14.7,2.04) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ > > pkg_version is telling you that the INDEX does not match exactly what's > installed. > > If you want out of date ports, use pkg_version -vl"<" Not entirely true. pkg_version -vl"*" also tells you that because there are multiple versions in the INDEX, it is confused, e.g. it doesn't know which version of the port in the INDEX to compare the installed version number with, and that you need to manually verify that the listed ports are up to date. You need to have pkg_version check for both "<" and "*". Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message