ports-mgmt/portupgrade: ** Database file locked. Waiting.
O. Hartmann
ohartman at zedat.fu-berlin.de
Fri Oct 5 15:40:31 UTC 2012
Am 10/05/12 17:28, schrieb Bryan Drewery:
> On 10/5/2012 3:24 AM, O. Hartmann wrote:
>> Using pkg(ng) in conjunction with the port ports/mgmt/portupgrade
>> results in long waiting cycles when portupgrade is updating the local
>> database, it is even on fast boxes sometimes in the range of a minute or
>> even two.
>
> You mean ports-mgmt/portupgrade-devel right?
Of course, yes.
>
>>
>> Is this usual or is there something wrong with my setup?
>>
>> Regards,
>> Oliver
>> ---
>>
>> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1114
>> packages found (-0 +1) . done]
>> ---> Cleaning out obsolete shared libraries
>> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... USING PKGNG
>> ** Database file locked. Waiting.
>
> I have not experienced this. Are you running multiple portupgrade tools
> at once?
No, there is only one instance running at the same time, but apart from
the usual installations, I use Ruby 1.9 on all machines, I guess Ruby
1.8 is still the default.
But anyway, the long locking time is a bit of frustrating, since it
takes ages for updating large sets of ports (as done recently on FreeBSD
9.1-PRE).
>
> Bryan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20121005/620d5797/signature.pgp
More information about the freebsd-ports
mailing list