Yum/rpm error (rpmdb versioning issue?)

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



On Wed, 2005-07-20 at 06:39 -0400, Chris Mauritz wrote:
> Has anyone seen this before?
> [root@shelob rpm]# yum update
> rpmdb: Program version 4.2 doesn't match environment version

That's not good IIRC.  Might be the reason why the rest is
an issue.

> error: db4 error(22) from dbenv->open: Invalid argument
> error: cannot open Packages index using db3 - Invalid argument (22)
> error: cannot open Packages database in /var/lib/rpm
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 30, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum/yummain.py", line 163, in main
>     (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
>   File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
>     conf=yumconf(configfile=yumconffile)
>   File "/usr/share/yum/config.py", line 155, in __init__
>     self.yumvar['releasever'] = self._getsysver()
>   File "/usr/share/yum/config.py", line 285, in _getsysver
>     idx = ts.dbMatch('provides', self.distroverpkg)
> TypeError: rpmdb open failed
> Trying to rebuild the rpm database results in a similar error.

Are you saying the rebuild completes, but yum still fails?
Or the rebuild doesn't complete?

> Any suggestions would be greatly appreciated as this is a remote
> system that  isn't easy for me to get physical access to.  8-(


-- 
Bryan J. Smith                                     b.j.smith@xxxxxxxx 
--------------------------------------------------------------------- 
It is mathematically impossible for someone who makes more than you
to be anything but richer than you.  Any tax rate that penalizes them
will also penalize you similarly (to those below you, and then below
them).  Linear algebra, let alone differential calculus or even ele-
mentary concepts of limits, is mutually exclusive with US journalism.
So forget even attempting to explain how tax cuts work.  ;->



[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