Subject: pkg database damaged
To: None <tech-pkg@NetBSD.org>
From: None <Knappe@tu-harburg.de>
List: tech-pkg
Date: 11/24/2003 21:56:21
		Hallo!

Well, it seems that problems always coming in bursts.
I made a make update in the openssl directory and everything went
fine. At the end during (or at the end) of the galeon build a
core dump caused by a segmentation fault occured. The reason for this
I don't know (running at these time was gmplayer with a file from a USB
stick).

When I now tried to start the update build from galeon once again I got
this:
trinity# make update
===> Resuming update for galeon-1.2.11nb3
===> Checking for vulnerabilities in galeon-1.2.11nb3
===> Installing for galeon-1.2.11nb3
===>  galeon-1.2.11nb3 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete galeon-1.2.11nb3" and "make reinstall" to upgrade
properly
***  - "make update" to rebuild the package and all of its dependencies
***  - "make replace" to replace only the package without re-linking
***    dependencies, risking various problems.
*** Error code 1


But
trinity# pkg_delete galeon-1.2.11nb3
pkg_delete: package 'galeon-1.2.11nb3' doesn't have a prefix

So I made a pkg_admin rebuild. This caused a total freeze of my system.
After a reboot and a fsck of the disks a rebuild resulted in this:
trinity# pkg_admin rebuild
..................................................................................................................................................................................................................................................pkg_admin:
Package `galeon-1.2.11nb3' has no @name, aborting.


A pkg_info also ends with this line:
pkg_info: show_file: can't open '+COMMENT' for reading



Ciao , Frank .