Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 22:46:38 +1100
From:      Dave Symonds <dsymonds@gmail.com>
To:        ports@freebsd.org
Cc:        Rob <rbyrnes@mailshack.com>
Subject:   pkgdb -F stuck
Message-ID:  <ee77f5c20601180346y472475e5h@mail.gmail.com>
In-Reply-To: <ee77f5c20601180345vf2558b7l@mail.gmail.com>
References:  <200601182200.07133.rbyrnes@mailshack.com> <ee77f5c20601180345vf2558b7l@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18/01/06, Rob <rbyrnes@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, t=
he
> process hangs while updating the pkgdb:
>
> % ps ax | grep ruby
> 4021  p2  R+   1288:56.99 /usr/local/bin/ruby18 /usr/local/sbin/portinsta=
ll -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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee77f5c20601180346y472475e5h>