Fedora Linux Support Community & Resources Center
  #1  
Old 8th June 2006, 01:31 PM
complete-noobie
Guest
 
Posts: n/a
Updating Fedora

I'm trying to install the updates for fedora and I'm getting the following error:

Component: Software Updater
Summary: TB9f78d0ec main.py:244:executeatabaseError: database disk image is malformed

Traceback (most recent call last):
File "/usr/sbin/pup", line 389, in ?
main()
File "/usr/sbin/pup", line 385, in main
pup.run()
File "/usr/sbin/pup", line 357, in run
self.doRefresh()
File "/usr/sbin/pup", line 161, in doRefresh
self.reposSetup(pbar)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 154, in reposSetup
self.doSackSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 291, in doSackSetup
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 289, in populateSack
dobj = repo.cacheHandler.getPrimary(xml, csum)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 96, in getPrimary
return self._getbase(location, checksum, 'primary')
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 89, in _getbase
self.updateSqliteCache(db, parser, checksum, metadatatype)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 373, in updateSqliteCache
cur.execute("DELETE FROM "+table+ " where pkgKey in %s" % delpkgs)
File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute
self.rs = self.con.db.execute(SQL)
DatabaseError: database disk image is malformed

Local variables in innermost frame:
self: <sqlite.main.Cursor instance at 0xb3d390ac>
parms: ()
SQL: DELETE FROM provides where pkgKey in (11549,11617,11660,11515,11770,11588,11606,11733,2 50,11509,11745,11529,11858,1432,11557,11853,11622, 11540,11487,11550,11581,11761,11719,11816,11849,11 634,11673,11631,11584,11481,11675,11715,11575,1164 9,11497,11535,11762,11763,11525,11735,11818,11601, 11669,11865,11613,11556,11499,11500,11697,11541,11 695,11513,11706,11723,11683,11757,11616,11688,1183 9,11643,11609,11732,11676,11811,11648,11498,11595, 11580,11555,11646,11519,11846,11823,11837,11614,11 844,11636,11492,11717,11603,11790,11626,11705,1163 7,11814,11713,11833,11521,11604,11516,11567,11729, 11602,11854,11524,11718,11488,11563,11855,11680,11 668,11739,11583,11793,11783,11736,11572,11806,1179 5,11530,11756,11655,11768,11504,11711,11767,11832, 11741,11671,11689,11647,11600,11862,11759,11791,11 579,11522,11589,11543,11700,11815,11807,11552,1165 8,11809,11577,11632,11482,11797,11786,11860,11625, 11623,11690,11478,11578,11722,11721,11821,11685,11 827,11825,11781,11772,11702,11624,11629,11539,1169 1,11773,364,11851,11678,11641,11569,11708,11508,11 817,11496,11652,11659,11566,11554,11796,11545,1168 1,11766,11476,11507,11493,11755,11672,11664,11640, 11780,11608,11710,11805,11820,11573,11785,11856,11 548,11490,11621,11651,11716,11611,11544,11748,1148 9,11788,11787,11502,11662,11694,11479,11840,11594, 11674,11831,11542,11784,11531,11599,11505,11800,11 619,11570,11591,11698,11775,11644,11537,11506,1150 1,11494,11779,11536,11696,11804,11686,11835,11707, 11754,11682,11861,11802,11758,11738,11628,11819,11 776,11491,11728,11746,11703,11630,11838,11565,1176 9,11670,11526,11777,11666,11517,11564,11638,11528, 11495,11822,11607,11826,1196,11760,11576,11799,118 45,11560,11665,11701,11734,11726,11813,11727,11778 ,11532,11752,11653,11551,11857,11642,11538,11750,1 1699,11635,11667,11679,11558,11574,11480,11843,118 08,11605,11527,11618,11867,11847,11615,11829,11850 ,11582,11693,11687,11774,11859,11868,11712,11771,1 1830,11842,11866,11590,11598,11747,11596,11730,117 94,11812,11585,11477,11511,11656,11764,11512,11657 ,11593,11848,11782,11743,11753,11737,11863,11639,1 1725,11714,11559,11485,11547,11751,11568,11709,117 31,11724,11841,11834,11627,11720,11650,11546,11633 ,1518,11765,11533,11663,11692,11803,11586,11645,11 677,11587,11486,11534,11792,11514,11562,11620,1186 4,11740,11742,11744,11610,11801,11520,11523,11484, 11749,11810,11553,11510,11561,11661,946,11518,1178 9,11828,11836,11824,11654,11684,11483,11597,11798, 11571,11852,11592,11704,11503,11612)

Is this caused from by computer?
Reply With Quote
  #2  
Old 8th June 2006, 01:54 PM
markjensen's Avatar
markjensen Offline
Registered User
 
Join Date: Feb 2004
Location: Middle Tennessee
Age: 46
Posts: 390
On the surface, it sounds like your rpm database may be corrupt? Did you have some sort of problems updating/installing before, perhaps something that locked up or was interrupted for some reason?

The rpm command has a "rebuild database" option. More info here: http://www.rpm.org/hintskinks/repairdb/

Maybe a good way to peek at the health of your rpm database would be a rpm -qa to query and list all packages in the database...


Also, what is the exact command you are using to do the update?
__________________
Semi-Recent screenshot: here
Fluxbox user certified with a Linux Genuine Advantage provided by the GNU GPL
Reply With Quote
  #3  
Old 8th June 2006, 03:17 PM
complete-noobie
Guest
 
Posts: n/a
That didn't work. If it helps, I updated it on I think monday then I shut it down and installed my new hard drive which I installed Suse on. I hope that helps. Kaleb
Reply With Quote
  #4  
Old 8th June 2006, 03:19 PM
complete-noobie
Guest
 
Posts: n/a
Sorry, I just realized that you were wondering which command I'm using. I've use yum update and when that didn't work, I tryed updating it through the GUI which came out with the same error.
Reply With Quote
  #5  
Old 8th June 2006, 03:54 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
Hello:
Did you install some non-compatible repos or a non-std rpm from somewhere, which may have replaced some base FC5 rpms?
No expert here, but it looks like python is borked?
I know this doesn't fix your problem, just trying to figure out what caused it.
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #6  
Old 8th June 2006, 08:52 PM
complete-noobie
Guest
 
Posts: n/a
Thats fine - Thanks for your help! I don't think so because the last thing I did with it was do some updates on monday and then I shut it down and booted up into Suse on another hard drive. Kaleb
Reply With Quote
  #7  
Old 9th June 2006, 01:07 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,488
Try as root:

Code:
# yum clean dbcache
because I suspect sqllite's db is what's bad, then re-run your

Code:
# yum update
if that doesn't help, *really* clean it out and do your
yum update:

Code:
yum clean all
yum clean metadata
yum clean cache
yum clean dbcache

yum update
Mark
Reply With Quote
  #8  
Old 9th June 2006, 09:31 PM
complete-noobie
Guest
 
Posts: n/a
Thanks marko! That worked! Also you were right, it was the dbcache that needed to be cleaned
Reply With Quote
Reply

Tags
fedora, updating

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 9 not updating kestrel1 Using Fedora 2 2nd December 2008 08:32 PM
Updating Fedora JoJocage Installation and Live Media 3 14th March 2008 09:15 AM
Updating From Fedora 7 (6.93) Michale Using Fedora 2 18th July 2007 04:35 PM
Updating Fedora 4 sdb2028 Using Fedora 10 14th February 2006 12:06 PM
Updating Fedora skubinnad Using Fedora 1 28th April 2005 11:51 PM


Current GMT-time: 14:56 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat