Bug 216529
Summary: | Software Updater Exception | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Thomas <rich_d_thomas> |
Component: | pirut | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | dick.cowan, frederic.blanchard, sstead, teflon, walter.gygli |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-01-25 18:50:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard Thomas
2006-11-20 22:52:04 UTC
Does this occur consistently? Do you have a network connection up when it happens? Hi, This does happen consistently and I do have a network connection when this happens. Richard. What happens if you just run 'yum update'? I have the same error. If I run yum update I get the following: # yum update rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30977) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 80, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig self.doConfigSetup(fn=opts.conffile, root=root) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in doConfigSetup self.conf = config.readMainConfig(fn, root) File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in readMainConfig vars['releasever'] = _getsysver(earlyconf.installroot, earlyconf.distroverpkg) File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed I got a similiar error using pirut. The TypeError is the same, TypeError: rpmdb open failed, the traceback is different: Component: Software Manager Summary: TBa375070c rpmsack.py:210:_all_packages:TypeError: rpmdb open failed Traceback (most recent call last): File "/usr/sbin/pirut", line 182, in _searchClicked for (po, res) in self.searchGenerator(fields, [t]): File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1134, in searchGenerator for po in sack: File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 34, in __iter__ ret = self.returnPackages() File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 195, in returnPackages return [ self._makePackageObject(hdr, idx) File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 210, in _all_packages mi = ts.dbMatch() TypeError: rpmdb open failed Local variables in innermost frame: self: <yum.rpmsack.RPMDBPackageSack instance at 0x94c5dcc> ts: <rpmUtils.transaction.TransactionWrapper instance at 0x98edcec> I'm going to try and run pirut again. I'm at a loss why it crashed! I attempted to re-run pirut and got the same failure. I removed the database files, /var/lib/rpm/__db.00[0-9], and killed some cron jobs, rpm in cron.daily and makewhatis in cron.weekly, and restarted pirut successfully. It appears that pirut depends on /var/lib/rpm/__db.00[0-9] for some reason. Is that Bugzilla entry for this problem? I experienced this on FC-6 after doing a software upgrade on 1/23/07, or there-abouts. I tried removing a zero-length __db.000 file in /var/lib/rpm but it did not help. Any suggestions? Thanks - Harry Sorry - forgot to add that 'yum update' works fine for me, although Software Updater crashes. - Harry Jan 25 GMT 07:26 pirut-1.2.8-1.fc6 Me too. I tried rerunning pup several times and got the same exception:- Component: Software Updater Summary: TB8a9160cb comps.py:143:parse_package_list:CompsException Traceback (most recent call last): File "/usr/sbin/pup", line 659, in ? main() File "/usr/sbin/pup", line 655, in main pup.run() File "/usr/sbin/pup", line 494, in run self.doRefresh() File "/usr/sbin/pup", line 269, in doRefresh self.reposSetup(pbar) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 153, in reposSetup self.doGroupSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 408, in doGroupSetup self.comps.add(groupfile) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 339, in add group = Group(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 57, in __init__ self.parse(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 133, in parse self.parse_package_list(child) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 143, in parse_package_list raise CompsException CompsException Local variables in innermost frame: genre: optinoal self: Graphics package: digikam packagelist_elem: <Element 'packagelist' at 0x9299f98> child: <Element 'packagereq' at 0x9299ec0> Jan 25 GMT 15:50 Just tried running pup again. No exception, but there was also no available updates. Ditto Comment #9 Software updater stalls whilst 'Recovering software information' then generates an exception:- Component: Software Manager Summary: TB8a9160cb comps.py:143:parse_package_list:CompsException Traceback (most recent call last): File "/usr/sbin/pirut", line 445, in ? main() File "/usr/sbin/pirut", line 441, in main pm.run() File "/usr/sbin/pirut", line 350, in run self.doRefresh() File "/usr/sbin/pirut", line 365, in doRefresh self.reposSetup(pbar) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 153, in reposSetup self.doGroupSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 408, in doGroupSetup self.comps.add(groupfile) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 339, in add group = Group(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 57, in __init__ self.parse(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 133, in parse self.parse_package_list(child) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 143, in parse_package_list raise CompsException CompsException Local variables in innermost frame: self: Graphics package: digikam type: optinoal packagelist_elem: <Element 'packagelist' at 0x96700f8> child: <Element 'packagereq' at 0x964f5d8> Got exactly the same result. The last component I added was the exchange plugin for evolution. Since that no lock anymore. I have a very similar problem on two FC6 servers that were fully updated on 1/19/07. In both case, starting Package Updater from the GUI fails at "Retreiving update information" step with the following dump: Component: Software Updater Summary: TB8a9160cb comps.py:143:parse_package_list:CompsException Traceback (most recent call last): File "/usr/sbin/pup", line 659, in ? main() File "/usr/sbin/pup", line 655, in main pup.run() File "/usr/sbin/pup", line 494, in run self.doRefresh() File "/usr/sbin/pup", line 269, in doRefresh self.reposSetup(pbar) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 153, in reposSetup self.doGroupSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 408, in doGroupSetup self.comps.add(groupfile) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 339, in add group = Group(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 57, in __init__ self.parse(elem) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 133, in parse self.parse_package_list(child) File "/usr/lib/python2.4/site-packages/yum/comps.py", line 143, in parse_package_list raise CompsException CompsException Local variables in innermost frame: genre: optinoal self: Graphics package: digikam packagelist_elem: <Element 'packagelist' at 0xa231068> child: <Element 'packagereq' at 0xa228f68> *** This bug has been marked as a duplicate of 224292 *** |