pkgdb kaputt

From: nighthawk <nighthawk(at)gmail.com>
Date: Mon, 19 Jun 2006 16:26:42 +0200

Hallo,

durch die vielen Hin und Hers beim portupgrade-Port hat es der
Maintainer tatsaechlich geschafft meine pkgdb.db zu zerstoeren. Wenn
ich nun portupgrade aufrufe kommt folgendes:

$ portupgrade portupgrade
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 232
packages found (-0 +0) Command failed [exit code 1]:
/usr/local/sbin/pkgdb -aFQ
$

Daraufhin habe ich mal die pkgdb.db gelöscht und mit 0 Byte neu angelegt.. dann
kommt folgendes:

$ portupgrade portupgrade
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... origins -
not a string (NilClass); rebuild needed] [Rebuilding the pkgdb
<format:bdb1_btree> in /va
r/db/pkg ... - 232 packages found (-0 +232) .
Operation not permitted: skipping...
.
Operation not permitted: skipping...
.
(diese beiden Zeilen kommen noch viele Male - ich wuerde tippen fuer
jeden installierten Port 1x)
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
$

Was tut man in so einem Falle?

+n

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 19 Jun 2006 - 16:28:11 CEST

search this site