From owner-freebsd-questions Fri May 17 12:12:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from phobos.idirect.com (phobos.idirect.com [207.136.80.181]) by hub.freebsd.org (Postfix) with ESMTP id 27F7937B406 for ; Fri, 17 May 2002 12:12:37 -0700 (PDT) Received: from yop.flatfoot.ca (on-tor-blr-a58-04-981.look.ca [216.154.19.219]) by phobos.idirect.com (8.9.3/8.9.3) with ESMTP id PAA08945; Fri, 17 May 2002 15:12:33 -0400 (EDT) Received: from yop.flatfoot.ca (localhost [127.0.0.1]) by yop.flatfoot.ca (8.12.3/8.12.3) with ESMTP id g4HJ4qqO045437; Fri, 17 May 2002 15:04:52 -0400 (EDT) (envelope-from bminard@yop.flatfoot.ca) Received: (from bminard@localhost) by yop.flatfoot.ca (8.12.3/8.12.3/Submit) id g4HJ4q1q045434; Fri, 17 May 2002 15:04:52 -0400 (EDT) (envelope-from bminard) From: Brian Minard MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15589.21588.23312.302422@yop.flatfoot.ca> Date: Fri, 17 May 2002 15:04:52 -0400 To: pjklist@ekahuna.com Cc: questions@FreeBSD.org Subject: Re: Portupgrade / pkgdb question In-Reply-To: <20020517132846380.AAA341@empty1.ekahuna.com@pc02.ekahuna.com> References: <20020517051517645.AAA373@empty1.ekahuna.com@pc02.ekahuna.com> <20020517132846380.AAA341@empty1.ekahuna.com@pc02.ekahuna.com> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 May 17, 2002, Philip J. Koenig wrote: > 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) > Just a thought: Why not update the ports tree? When I moved from the 4.0 CD to the 4.6 pre-release, I cvsup'ed the ports tree and then executed the following. # portsupgrade -cO > upgrade.sh (edit upgrade.sh to remove the packages you really don't want upgraded) # sh upgrade.sh # portsdb -Uu # pkgdb -F (with a much smaller number of out of date origins...) In this case, all installed ports are upgraded to their current versions. This seems to have worked well. I avoided the interactive ports and didn't meet with much success building KDE. (Might want to look at pkgtools.conf before you try this.) If you use portsclean (-CDD) things should get cleaned up afterwards. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message