Where to find info on how to clean up port database properly?
Doug Lee
dgl at dlee.org
Tue Oct 21 00:53:13 PDT 2003
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
... 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
---> Checking the package registry database
Stale origin: 'print/ghostscript55': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'audio/gnomeaudio': perhaps moved or obsoleted.
-> The port 'audio/gnomeaudio' was removed on 2003-07-15 because:
"removed as part of GNOME 1.4 desktop phase out"
-> Hint: gnomeaudio-1.0.0 is required by the following package(s):
gnumeric-0.61
gconf-0.12_1
electriceyes-0.3.12
gnomecore-1.2.4
bonobo-0.37
py-gnome-1.0.53
gnomevfs-0.5
gal-0.5
glade-0.5.11
gnomepim-1.2.0
gnomeusersguide-1.2
-> Hint: checking for overwritten files...
-> No files installed by gnomeaudio-1.0.0 have been overwritten by other packages.
Deinstall gnomeaudio-1.0.0 ? [no]
Stale origin: 'x11/gnomecore': perhaps moved or obsoleted.
-> The port 'x11/gnomecore' was removed on 2003-07-15 because:
"removed as part of GNOME 1.4 desktop phase out"
-> Hint: gnomecore-1.2.4 is required by the following package(s):
gnumeric-0.61
gconf-0.12_1
electriceyes-0.3.12
bonobo-0.37
py-gnome-1.0.53
gnomevfs-0.5
gal-0.5
glade-0.5.11
gnomepim-1.2.0
gnomeusersguide-1.2
-> Hint: checking for overwritten files...
-> No files installed by gnomecore-1.2.4 have been overwritten by other packages.
Deinstall gnomecore-1.2.4 ? [no]
Stale origin: 'misc/gnomeusersguide': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'graphics/mpeg-lib': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'x11-toolkits/qt22': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'misc/rpm': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'editors/vim6': perhaps moved or obsoleted.
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Duplicated origin: delete - gnomeaudio-1.0.0 gnomecore-1.2.4
Unregister any of them? [no]
Stale dependency: gtkextra-0.99.17 -> imake-4.3.0_1 (devel/imake-4):
imap-uw-2002_1,1 (score:16%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: gtkextra-0.99.17 -> XFree86-libraries-4.3.0_6 (x11/XFree86-4-libraries):
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: gtkextra-0.99.17 -> fontconfig-2.2.90_3 (x11-fonts/fontconfig):
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: libiodbc-3.0.5_1 -> imake-4.3.0_1 (devel/imake-4):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Stale dependency: libiodbc-3.0.5_1 -> XFree86-libraries-4.3.0_6 (x11/XFree86-4-libraries):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Stale dependency: libiodbc-3.0.5_1 -> fontconfig-2.2.90_3 (x11-fonts/fontconfig):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Stale dependency: libwmf-0.2.1 -> XFree86-3.3.6_10 ():
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: mod_php4-4.2.3 -> apache-1.3.27_1 ():
apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: mysql-server-4.1.0_1 -> p5-DBI-137-1.37 (databases/p5-DBI-137):
p5-DBI-1.28 (score:40%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: mysql-server-4.1.0_1 -> p5-DBD-mysql-2.1026_1 (databases/p5-DBD-mysql):
p5-DBI-1.28 (score:26%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: mysqlman-1.09 -> apache-1.3.27_5 (www/apache13):
apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: wol-0.6.0_1 -> gettext-0.11.5_1 ():
gettext-0.12.1 (score:73%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: wv-0.6.7 -> XFree86-3.3.6_10 ():
Skip this? ([y]es/[n]o/[a]ll) [yes]
# ^Dexit
Script done on Tue Oct 21 03:50:07 2003
--
Doug Lee dgl at dlee.org http://www.dlee.org
Bartimaeus Group doug at 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
More information about the freebsd-questions
mailing list