From owner-freebsd-questions Fri May 17 6:28:52 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 EC90037B400 for ; Fri, 17 May 2002 06:28:46 -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; Fri, 17 May 2002 06:28:46 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: questions@FreeBSD.ORG Date: Fri, 17 May 2002 06:28:46 -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: Brian Minard In-reply-to: <15588.63940.774526.122365@yop.flatfoot.ca> References: <20020517051517645.AAA373@empty1.ekahuna.com@pc02.ekahuna.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020517132846380.AAA341@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 17 May 2002, at 8:38, Brian Minard boldly uttered: > On May 16, 2002, Philip J. Koenig wrote: > > My understanding is that "origin" is the path to the port in the > > ports directory - ie if the port is /usr/ports/editors/joe, the > > origin is "editors/joe". > > > > That's my understanding of how it works. > > > 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. Thanks. However I did that prior to reporting this problem. It appears that ports or packages created back in the 4.1 days aren't aware of "origin", so you have to 'correct' all of them. (very tedious without some form of prompting when running pkgdb -F, IMHO.. especially when you have 200+ packages/ports installed) What is equally strange to me is why I can't seem to use pkg_deinstall to remove groups of packages by wildcard (see original post) I figured since a bunch were not in use I'd just delete 'em and re-install the ones I needed. (On a side note I'm amazed that the handbook and/or "Complete FreeBSD" suggests for people who want a lot of stuff that they can "install ALL the ports".. yeegods, from my limited experience from various things that stick startup scripts into /etc and so forth, that must be a total nightmare..) Phil -- 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