Re: Problem running yum update command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On 04/07/2014 05:51 PM, H wrote:
> Just tried yum clean all but receive exactly the same error message:
>
> rpmdb: unable to join the environment
> error: db3 error(11) from dbenv->open: Resource temporarily unavailable
> error: cannot open Packages index using db3 - Resource temporarily
> unavailable (11)
> error: cannot open Packages database in /var/lib/rpm
> CRITICAL:yum.main:
>
> I do not remember the last yum update (a couple of weeks ago) going
> wrong but finishing as expected.
>
> Suggestions or ideas?
>
> Thank you.
>
> Hakan
>
> On 04/05/14 09:32 pm, Darr247 wrote:
>> On 06 April 2014 @00:46 zulu, H wrote:
>>
>>> Googling the message I find several-year old posts where it seems that
>>> the database has been corrupted (or similar.) Has anyone else seen this
>>> recently and is there a recommended fix?
>>>
>> If you're in the /etc/sudoers file...
>> $ sudo yum clean all
>> $ sudo rpm --rebuilddb
>>
>> otherwise, try
>> $ su -c yum clean all
>> $ su -c rpm --rebuilddb
>>
>> NB there are 2 dashes in front of rebuilddb.

it's an rpm problem not a yum problem
you've been told to try rpm --rebuilddb , did you?

and please don't top-post. As you can see it screws things up. Some 
people just ignore top-posters, I know I often do. You'll get more help 
if you follow the list rules.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux