Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 20:45:13 -0500
From:      Jonathan Horne <>
Subject:   Re: Package Database DOA
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thursday 05 July 2007 20:23:53 Mark Jacobs wrote:
> My machine froze during a portupgrade process and I was forced to
> reboot. Now my package database is corrupted. When I issue a pkg_version
> I receive hundreds of these type errors;
> pkg_version: the package info for package 'cups-base-1.2.11_2' is
> corrupt
> I attempted to delete and rebuild the database with the commands I know
> but it didn't seem to fix the problem.
> Can someone assist me in rebuilding the database?
> Mark Jacobs

try as root:

mv /var/db/pkg/pkgdb.db /var/db/pkg/pkgdb.old
pkgdb -fu

i used this method to straighten mine out just the other day.

Jonathan Horne

Want to link to this message? Use this URL: <>