[Yum] Problem with Yum

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

 



On 8/30/05, John Fox <fedora@xxxxxxxxxxxxxxxxx> wrote:
> 
> Hi,
> 
> Having problems with yum in Centos3 this is the error message:
> 
> "rpmdb: Program version 4.2 doesn't match environment version
> error: db4 error(22) from dbenv->open: Invalid argument
> error: cannot open Packages index using db3 - Invalid argument
> (22)

This is an RPM/RHEL3u4 problem, not a yum problem.  Googling your
error message found the problem directly. 
http://www.google.com/search?hl=en&safe=off&q=rpmdb:+Program+version+4.2+doesn%27t+match+environment+version+error:+db4+error(22)+from+dbenv-&spell=1

The solution is the age old "rpm, rinse, repeat":

http://www.linuxquestions.org/questions/archive/31/2005/01/2/273856

# rm -rf /var/lib/rpm/__db*

# rpm --rebuilddb

Enjoy!
Greg

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux