Re: Problem running yum update command

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



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.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
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