From owner-freebsd-questions Sat May 18 14:23:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id CBA6F37B40A for ; Sat, 18 May 2002 14:23:52 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Sat, 18 May 2002 14:23:51 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: questions@FreeBSD.ORG Date: Sat, 18 May 2002 14:23:51 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Portupgrade / pkgdb question Reply-To: pjklist@ekahuna.com Cc: Kent Stewart , Jens Rehsack , Brian Minard In-reply-to: <3CE686F8.4070909@owt.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020518212351345.AAA410@empty1.ekahuna.com@pc02.ekahuna.com> 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 On 18 May 2002, at 9:53, Kent Stewart boldly uttered: > Jens Rehsack wrote: > > [Phil wrote]: > > >> > But there is no interactive search or anything to help find the > >> > correct path to input to correct this problem when running "pkgdb - > >> > F", so does this mean that I have to sit down, manually find and make > >> > a list of all the modern equivalents/locations of all 200 installed > >> > packages, then manually type in each path for each old package during > >> > "pkgdb -F" before I can effectively use portupgrade? > >> > > >> > >>Try portsdb -Uu. The recommendation is that you run this command > >>after you update your ports collection. I run this command after each > >>cvsup of the ports collection I perform. > >> > > > > It will be done by "make index" in /usr/ports, too. > > > That only remakes /usr/ports/INDEX and the portupgrade set also needs > INDEX.db. If you use portsdb -uU, it remakes both of them. Re: the problem I was originally talking about, where if the packages are missing "origin" you have to manually fix it when running "pkgdb -F". This is actually not the case, but it's not documented. (looks like the manpage for pkgdb is either incomplete or was never finished) When you run "pkgdb -F" and run into a package which has no origin, and if you then answer "NO" or "N" to that question, it WILL "guess" the origin and prompt you to accept (or change). This is the functionality I was hoping for and it does greatly improve the process because I don't have to sit down and make a list of paths for over 200 packages and then type them in manually. -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message