pkgdb.db locked

Lee Capps lcapps at
Mon Jun 19 18:35:52 UTC 2006

On Jun 19, 2006, at 11:28 AM, Bill Moran wrote:

> In response to Bill Moran <wmoran at>:
>>> Lewis McLouth wrote:
>> [snip]
>>>> Also, if pkgdb.db was deleted, how do I rebuild the pkgdb.db?  
>>>> (pkgdb -f
>>>> does not rebuild pkgdb.db, I just checked)
>> portupgrade -an
>> In order for portupgrade to analyze your packages, it needs to  
>> update the
>> pkgdb.  It will create it if it doesn't exist.
> Nevermind.  That's not working.
> pkgdb -fu is failing as well.  Shouldn't it generate the pkgdb if  
> it doesn't
> exist?

I had the same trouble this morning.  Apparently the 'portupgrade'  
port was broken this morning.   a cvsup and desintall and reinstall  
of portupgrade worked for me.  This will downgrade the port to the  
last stable version.


Lee Capps
Technology Specialist
lcapps at

More information about the freebsd-questions mailing list