Yum errors

David Hacker yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 10 09:37:03 2004


It must have quit during a download and left a stale lock file.  Try 
yum clean and then restart and run yum again.

David C. Hacker, DVM
212 N 1st St #2
New Salem, ND 58563
(701) 843-8179
On Jun 10, 2004, at 10:23 AM, dan wrote:

>    I've been using yum all morning with no problems searching for and 
> listing packages. Then I try it again and get the following error:
>
> ---------------
> [dan@loki dan]$ yum list libart
> error: cannot get shared lock on /var/lib/rpm/Packages
> error: cannot open Packages index using db3 - Operation not permitted 
> (1)
> 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 152, in main
>    (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
>  File "/usr/share/yum/yummain.py", line 71, in parseCmdArgs
>    conf=yumconf(configfile=yumconffile)
>  File "/usr/share/yum/config.py", line 130, in __init__
>    self.yumvar['releasever'] = self._getsysver()
>  File "/usr/share/yum/config.py", line 255, in _getsysver
>    idx = ts.dbMatch('provides', self.distroverpkg)
> TypeError: rpmdb open failed
> [dan@loki dan]$
> ----------------------
>
> I haven't installed anything or changed anything with yum.conf. If I 
> try to do anything with rpm I get the same error. Trying it with sudo 
> doesn't work either.
>
> Any ideas?
>
> Thanks,
> Dan
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>