pkgdb -Ff and autoconf question...how do I respond?

John Murphy freebsd001 at freeode.co.uk
Sat Oct 27 14:59:32 PDT 2007


I have a similar problem with gnu-automake, it seems to be required by
the kde meta port:

# pkg_info | grep kde-3
kde-3.5.7           The "meta-port" for KDE
kdeartwork-xscreensaver-kde-3.5.7 Support for xscreensaver blankers in KDE

# pkg_info | grep gnu-aut
gnu-automake-1.10   GNU Standards-compliant Makefile generator (GNU unmodified)

# portupgrade -a
cd: can't cd to /usr/ports/devel/gnu-automake
** Package 'gnu-automake' has been removed from ports tree.
** Port marked as IGNORE: graphics/ImageMagick:
        Presence of FPX breaks self-tests. Disable FPX or disable automatic tests.

# ll /usr/ports/devel/gnu-automake
ls: /usr/ports/devel/gnu-automake: No such file or directory

# pkgdb -Ff
--->  Checking the package registry database
Stale origin: 'devel/gnu-automake': perhaps moved or obsoleted.
-> The port 'devel/gnu-automake' was removed on 2007-09-10 because:
        "No longer required with new autotools system"
-> Hint:  gnu-automake-1.10 is required by the following package(s):
        kde-3.5.7
-> Hint: checking for overwritten files...
 -> No files installed by gnu-automake-1.10 have been overwritten by other packages.
Deinstall gnu-automake-1.10 ? [no] yes
--->  Deinstalling 'gnu-automake-1.10'
pkg_delete: package 'gnu-automake-1.10' is required by these other packages
and may not be deinstalled:
kde-3.5.7
** Listing the failed packages (*:skipped / !:failed)
        ! gnu-automake-1.10     (pkg_delete failed)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall gnu-automake-1.10

I managed to get rid of gnu-autoconf by answering no to "deinstall?"
It then asked if I wanted to unregister it:

Unregister any of them? [no] yes
  Unregister gnu-autoconf-2.61 keeping the installed files intact? [no] yes
  -> gnu-automake-1.10 is kept.
  --> Saving the gnu-autoconf-2.61's +CONTENTS file as /var/db/pkg/gnu-automake-1.10/+CONTENTS.gnu-autoconf-2.61
  --> Unregistering gnu-autoconf-2.61
  --> Done.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 724 packages found (-1 +0) (...) done]
Stale dependency: gnu-automake-1.10 -> gnu-autoconf-2.61 (devel/gnu-autoconf):
cd: can't cd to /usr/ports/devel/gnu-automake
-> Deleted. (irrelevant)
Stale dependency: kde-3.5.7 -> gnu-autoconf-2.61 (devel/gnu-autoconf):
-> Deleted. (irrelevant)

But I don't get asked to unregister gnu-automake.

Can I force it, without breaking anything, somehow?

-- 
Thanks, John.


More information about the freebsd-questions mailing list