pkgdb -F stuck

Dave Symonds dsymonds at gmail.com
Wed Jan 18 03:46:39 PST 2006


On 18/01/06, Rob <rbyrnes at mailshack.com> wrote:
> Hi all,
>
> I was in the middle of updating the KDE ports when we had a blackout and my
> UPS wasn't able to keep the box alive long enough.  I have a feeling the
> pkgdb.db is corrupt, because when I try to do anything that touches it, the
> process hangs while updating the pkgdb:
>
> % ps ax | grep ruby
> 4021  p2  R+   1288:56.99 /usr/local/bin/ruby18 /usr/local/sbin/portinstall -O
> kdebase
>
> Any way to recover this?

Run "pkgdb -fu". It should rebuild the database from scratch.


Dave.

--
"Strange women lying in ponds distributing swords
  is no basis for a system of government."


More information about the freebsd-ports mailing list