Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2006 15:04:58 +0200
From:      Fanz Klammer <klammer@webonaut.com>
To:        Mark Evenson <mark.evenson@gmx.at>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: latest portupgrade problem
Message-ID:  <4496A0FA.1060009@webonaut.com>
In-Reply-To: <44969FDB.5060705@gmx.at>
References:  <c21e92e20606182055r32571f5av64d978616e812380@mail.gmail.com>		<44966D63.5090804@FreeBSD.org>		<c21e92e20606190239t6a89fb91h776b4a542b121766@mail.gmail.com>		<44967583.2050108@FreeBSD.org>		<c21e92e20606190300p11bfa752td3f5fde0867ddbbb@mail.gmail.com>		<44967645.50507@FreeBSD.org>	<c21e92e20606190319h3d05268awe5eac28d80baa950@mail.gmail.com>	<44967C6F.3010902@FreeBSD.org>	<e7646o$63p$1@sea.gmane.org> <449696D6.3000701@webonaut.com> <44969FDB.5060705@gmx.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Evenson schrieb:
> Fanz Klammer wrote:
>> Mark Evenson schrieb:
>>> I am getting (a possibly unrelated error):
>>>
>>> portupgrade -as
>>> Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... ** Database 
>>> file locked. Waiting.
>>>
>>> Which waits forever.
> [...]
>> had the same problem: i removed the latest added patch 
>> "files/patch-lib-pkgdb.rb"
>> and did a "make install FORCE_PKG_REGISTER=yes" - now everything 
>> works again.
>>
>
> After removing this patch, and recompiling, and reinstalling I am now 
> getting:
>
> portupgrade -as
> [Rebuilding the pkgdb <format:dbm_hash> in /var/db/pkg ... ---> 
> [Executing a command as root: sudo /usr/local/sbin/pkgdb -aFQ]
> Command failed [exit code 1]: sudo /usr/local/sbin/pkgdb -aFQ
>
> So your fix doesn't seem to work for me.  Thanks for the help, though.
>
just an idea: seems that you are running portupgrade as non-root and 
sudo didn't work...
have you ever tried to run it as root?

/Franz




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