From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 00:53:13 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 4B3CE16A4B3 for ; Tue, 21 Oct 2003 00:53:13 -0700 (PDT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C79D943F85 for ; Tue, 21 Oct 2003 00:53:11 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([138.88.217.247]) by out012.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031021075310.GSAZ20366.out012.verizon.net@kirk.dlee.org> for ; Tue, 21 Oct 2003 02:53:10 -0500 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id h9L7r9wW029999 for ; Tue, 21 Oct 2003 03:53:09 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id h9L7r9le029998 for freebsd-questions@freebsd.org; Tue, 21 Oct 2003 03:53:09 -0400 (EDT) (envelope-from dgl) Date: Tue, 21 Oct 2003 03:53:08 -0400 From: Doug Lee To: freebsd-questions@freebsd.org Message-ID: <20031021075308.GN93145@kirk.dlee.org> Mail-Followup-To: Doug Lee , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Organization: Bartimaeus Group User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [138.88.217.247] at Tue, 21 Oct 2003 02:53:10 -0500 Subject: Where to find info on how to clean up port database properly? 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: Tue, 21 Oct 2003 07:53:13 -0000 I have got to be missing something here... I need to find pointers on how to handle the various questions from running pkgdb -F. I'm afraid I may have made a mess, because I keep getting stuck trying to clean up the database. I didn't find any advice about these questions in the FreeBSD handbook or the various portupgrade/pkgdb/portsdb/pkg_* man pages. I have done the following recently though: cvsup -g -L 2 /etc/cvsup_ports (includes ports-all and doc-all) cd /usr/ports && make INDEX && portsdb -u make readmes # not essential but nice pkgdb -fuF # on advice to someone else here =2E.. but I get confused by what pkgdb starts asking. My general practice (off the top of my head) has been - Change origin to a higher version number of a port when pkgdb recommends it or I believe the new will work in place of the old. - Allow a port origin to be regressed to an older version if pkgdb seems to insist it has problems unless I change the origin and it only lists an older choice. - pkg_deinstall ports I don't need that (1) cause pkgdb to complain and (2) can be uninstalled without extra and surely overzealous options like -r/-R. The last of these tonight caused me to begin deinstalling gnome, but I seem to continue tripping over port database issues. Tonight's whole bout with ports was spurred by my need to clean up a MySQL problem (summary: I once installed MySQL 3.23 server and client, then went to 4.1 but noted the client stayed at 3.23, then somehow--I forget how--upgraded the client but now find Perl/DBI/DBD:mysql is too old to talk the current password authentication protocol with a 4.1 server). In case it helps, this is my last run of pkgdb -F, in which I just pressed Enter at every prompt, to do more recording than altering. I welcome any help, but again as the subject implies, I'm assuming I've missed a wealth of how-to info somewhere regarding the proper care and feeding of pkgdb -F prompts. Script started on Tue Oct 21 03:49:06 2003 # pkgdb -F=0D=0D ---> Checking the package registry database=0D Stale origin: 'print/ghostscript55': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Stale origin: 'audio/gnomeaudio': perhaps moved or obsoleted.=0D -> The port 'audio/gnomeaudio' was removed on 2003-07-15 because:=0D "removed as part of GNOME 1.4 desktop phase out"=0D -> Hint: gnomeaudio-1.0.0 is required by the following package(s):=0D gnumeric-0.61=0D gconf-0.12_1=0D electriceyes-0.3.12=0D gnomecore-1.2.4=0D bonobo-0.37=0D py-gnome-1.0.53=0D gnomevfs-0.5=0D gal-0.5=0D glade-0.5.11=0D gnomepim-1.2.0=0D gnomeusersguide-1.2=0D -> Hint: checking for overwritten files...=0D -> No files installed by gnomeaudio-1.0.0 have been overwritten by other p= ackages.=0D Deinstall gnomeaudio-1.0.0 ? [no] =0D Stale origin: 'x11/gnomecore': perhaps moved or obsoleted.=0D -> The port 'x11/gnomecore' was removed on 2003-07-15 because:=0D "removed as part of GNOME 1.4 desktop phase out"=0D -> Hint: gnomecore-1.2.4 is required by the following package(s):=0D gnumeric-0.61=0D gconf-0.12_1=0D electriceyes-0.3.12=0D bonobo-0.37=0D py-gnome-1.0.53=0D gnomevfs-0.5=0D gal-0.5=0D glade-0.5.11=0D gnomepim-1.2.0=0D gnomeusersguide-1.2=0D -> Hint: checking for overwritten files...=0D -> No files installed by gnomecore-1.2.4 have been overwritten by other pa= ckages.=0D Deinstall gnomecore-1.2.4 ? [no] =0D Stale origin: 'misc/gnomeusersguide': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Stale origin: 'graphics/mpeg-lib': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Stale origin: 'x11-toolkits/qt22': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Stale origin: 'misc/rpm': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Stale origin: 'editors/vim6': perhaps moved or obsoleted.=0D Skip this for now? [yes] =0D To skip it without asking in future, please list it in HOLD_PKGS.=0D Duplicated origin: delete - gnomeaudio-1.0.0 gnomecore-1.2.4=0D Unregister any of them? [no] =0D Stale dependency: gtkextra-0.99.17 -> imake-4.3.0_1 (devel/imake-4):=0D imap-uw-2002_1,1 (score:16%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: gtkextra-0.99.17 -> XFree86-libraries-4.3.0_6 (x11/XFree8= 6-4-libraries):=0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: gtkextra-0.99.17 -> fontconfig-2.2.90_3 (x11-fonts/fontco= nfig):=0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: libiodbc-3.0.5_1 -> imake-4.3.0_1 (devel/imake-4):=0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Stale dependency: libiodbc-3.0.5_1 -> XFree86-libraries-4.3.0_6 (x11/XFree8= 6-4-libraries):=0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Stale dependency: libiodbc-3.0.5_1 -> fontconfig-2.2.90_3 (x11-fonts/fontco= nfig):=0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Stale dependency: libwmf-0.2.1 -> XFree86-3.3.6_10 ():=0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: mod_php4-4.2.3 -> apache-1.3.27_1 ():=0D apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: mysql-server-4.1.0_1 -> p5-DBI-137-1.37 (databases/p5-DBI= -137):=0D p5-DBI-1.28 (score:40%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: mysql-server-4.1.0_1 -> p5-DBD-mysql-2.1026_1 (databases/= p5-DBD-mysql):=0D p5-DBI-1.28 (score:26%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: mysqlman-1.09 -> apache-1.3.27_5 (www/apache13):=0D apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: wol-0.6.0_1 -> gettext-0.11.5_1 ():=0D gettext-0.12.1 (score:73%) ? ([y]es/[n]o/[a]ll) [no] =0D New dependency? (? to help): =0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D Skipped.=0D Stale dependency: wv-0.6.7 -> XFree86-3.3.6_10 ():=0D Skip this? ([y]es/[n]o/[a]ll) [yes] =0D # ^D=08=08exit=0D Script done on Tue Oct 21 03:50:07 2003 --=20 Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Never does the human soul appear so strong as when it foregoes revenge, and dares forgive an injury." --E. H. Chapin