Date: Thu, 27 Jul 2006 08:47:13 -0700 (PDT) From: Bryan Bonifacio <bryanbonifacio@yahoo.com> To: Joshua Lewis <joshua.lewis@familyfunzone.net>, freebsd-questions@freebsd.org Subject: Re: Corrupt pkgdb Message-ID: <20060727154713.23577.qmail@web55107.mail.re4.yahoo.com> In-Reply-To: <20060727080525.e72c8bd2fa3c8298c4bf39a8c4c61b77.8b5f7bec2e.wbe@email.secureserver.net>
index | next in thread | previous in thread | raw e-mail
>From "man portupgrade"...
1) Try a "pkgdb -fu"
2) If it doesn't work, remove the database file at
(/var/db/pkg/pkgdb.db) and
3) Rerun "pkgdb -fu"
Hope this helps...
--
Bryan
Joshua Lewis <joshua.lewis@familyfunzone.net> wrote:
I am setting up a new system and ran a portupgrade -a. Unfortunately I
also in my arrogance tried to run XDM while the portupgrade was
running. Well to make a long story short I could not exit out of XDM
and get back to my console and had to reboot the system. Now I get an
error that my pkgdb is corrupt when I try to rerun the portupgrade.
Is there a way to rebuild that DB or do I have to reinstall the whole
OS? I don't know how that pkgdb gets created so I don't know if it is
created during the install or when I installed portupgrade.
Any advice is welcome. Thanks.
Sincerely,
Joshua Lewis
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060727154713.23577.qmail>
