From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 07:54:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D47EB37B401; Sun, 10 Aug 2003 07:54:03 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C1543F3F; Sun, 10 Aug 2003 07:54:03 -0700 (PDT) (envelope-from rperry4@earthlink.net) Received: from dialup-171.75.71.33.dial1.weehawken.level3.net ([171.75.71.33] helo=earthlink.net) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19lra3-00021C-00; Sun, 10 Aug 2003 07:53:59 -0700 Message-ID: <3F365CFD.9000708@earthlink.net> Date: Sun, 10 Aug 2003 10:55:57 -0400 From: Bob Perry User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030704 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Khairil Yusof References: <3F35002F.1060108@earthlink.net> <1060497995.17037.85.camel@daemon.home.net> In-Reply-To: <1060497995.17037.85.camel@daemon.home.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD-Questions cc: knu@FreeBSD.org Subject: Re: Portupgrade Broke? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 14:54:04 -0000 Khairil Yusof wrote: >On Sat, 2003-08-09 at 22:07, Bob Perry wrote: > > >>I run FreeBSD 4.7 RELEASE. Just ran the portversion command for the >>first time since last Saturday and the ouptut indicated that my >>installed packages were up-to-date. Thought it odd so I ran pkg_version >>command and picked up 9 packages in need up upgrade and several >>"orphaned" packages listed. Is there a known problem with the >>portupgrade system or was there some warning I missed previously? >> >> > >If I'm not wrong, portversion/pkg_version relies on ports index (man 8 >portupgrade) which needs to be up to date in order for portversion to be >accurate. This is not done on a daily basis for the ports tree (as it >takes some time). > >What you should try to do is check that your pkgdb is ok and fix any >problems: > >#pkgdb -F > >then update the ports index (which takes a while) > >#portsdb -Uu > >Then run your portversion/pkg_version which should give more accurate >results. > >Hope this helps. > > First, thanks for taking the time to respond. Yesterday, I brought all of my packages up-to-date, ran pkgdb -F, followed by portsdb -Uu and rhe output from both portversion and pkg_version matched. I slept well. This morning, portversion indicated that all packages were current but pkg_version showed p5-Date-Manip-5.40 needed to be upgraded to 5.42. I ran portupgrade expecting to receive a message indicating that the package was current, but instead, it fetched, built, installed, p5-Date-Manip-5.42 and I thought, removed p5-Date-Manip-5.40. I ran portversion again and it indicates that "p5-Date-Manip-5.42 > succeeds port (port has 5.40)". Pkg_version shows p5-Date-Manip-5.42 is up-to-date with port. Looks as though the portversion program may not be reading the port tree accurately (?). I'll have to do more investigation. Maybe I broke something. Thanks again. Bob