Problems with yum! - Redhat
This is a discussion on Problems with yum! - Redhat ; Hi I'm having problems running 'yum -y update' please can someone help me... thanks! I get the following errors afterwards: 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 97, in main result, resultmsgs ...
| | LinkBack | Tools |
|
#1
| |||
| |||
| I'm having problems running 'yum -y update' please can someone help me... thanks! I get the following errors afterwards: 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 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 481, in doCommands return self.updatePkgs() File "/usr/share/yum-cli/cli.py", line 957, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 82, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) 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) _sqlite.DatabaseError: database disk image is malformed |
|
#2
| |||
| |||
| Stan wrote: > Hi > > I'm having problems running 'yum -y update' > please can someone help me... thanks! > > I get the following errors afterwards: Rebuild your current version of yum from the source rpm file. Want a better answer provide more information. please have a look at; http://linuxmafia.com/faq/Essays/smart-questions.html -- "A personal computer is called a personal computer because it's yours, Anything that runs on that computer, you should have control over." Andrew Moss, Microsoft's senior director of technical policy, 2005 |
|
#3
| |||
| |||
| Lenard wrote: > Stan wrote: > >> Hi >> >> I'm having problems running 'yum -y update' >> please can someone help me... thanks! >> >> I get the following errors afterwards: > > Rebuild your current version of yum from the source rpm file. Want a > better answer provide more information. please have a look at; > > http://linuxmafia.com/faq/Essays/smart-questions.html > > Thanks! I've actually done so but I still have the same problem. Is there any other way to solve this problem? I will really appreciate if anyone can help! |
|
#4
| |||
| |||
| Stan wrote: > self.rs = self.con.db.execute(SQL) > _sqlite.DatabaseError: database disk image is malformed Hi Stan. I'm just taking a guess here... but the error message looks like a corrupted SQLite file: "sqlite.DatabaseError: database disk image is malformed" Yum maintains several sqlite databases. The command "yum makecache" will rebuild several of them. Dunno if this will help or not, but may be worth a try. -- Greg |
|
#5
| |||
| |||
| Greg Hackney wrote: > Stan wrote: > >> self.rs = self.con.db.execute(SQL) >> _sqlite.DatabaseError: database disk image is malformed > > > Hi Stan. I'm just taking a guess here... but the error message > looks like a corrupted SQLite file: > > "sqlite.DatabaseError: database disk image is malformed" > > Yum maintains several sqlite databases. The command "yum makecache" will > rebuild several of them. Dunno if this will help or not, but may be worth > a try. -- > Greg Thank you Greg! This command did not solve the problem directly but it gave me the idea to try the following sequentially: 1.) yum clean metadata 2.) yum clean dbcache 3.) yum makecache as I'm writing this message, the process is still going on... this might solve my problem. I'll still post a message here if all is OK or not!!! Thanks! |
|
#6
| |||
| |||
| Stan wrote: > Greg Hackney wrote: > >> Stan wrote: >> >>> self.rs = self.con.db.execute(SQL) >>> _sqlite.DatabaseError: database disk image is malformed >> >> >> Hi Stan. I'm just taking a guess here... but the error message >> looks like a corrupted SQLite file: >> >> "sqlite.DatabaseError: database disk image is malformed" >> >> Yum maintains several sqlite databases. The command "yum makecache" will >> rebuild several of them. Dunno if this will help or not, but may be worth >> a try. -- >> Greg > > > Thank you Greg! > > This command did not solve the problem directly but it gave me the idea to > try the following sequentially: > > 1.) yum clean metadata > 2.) yum clean dbcache > 3.) yum makecache > > as I'm writing this message, the process is still going on... this might > solve my problem. I'll still post a message here if all is OK or not!!! > > Thanks! I can 100% say now that all is OK again with yum. Thanks a million Greg and Lenard for your help! |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IpSec / secpol.msc - problems, problems. problems. | unix | Network | 1 | 10-03-2007 09:39 PM |
| netLib problems? Memory problems? File opening fails... | unix | VxWorks | 2 | 10-02-2007 08:38 AM |
| Re: 1] Problems with compiler 2] Problems with Rhide -- Update More info | unix | MS-DOS | 0 | 10-01-2007 04:52 AM |
| 1] Problems with compiler 2] Problems with Rhide -- Update More info | unix | MS-DOS | 17 | 10-01-2007 04:52 AM |
| Re: X server problems (was Re: Problems with Debian Woody install and Amiga 2.4.20 kernel) | unix | Powerpc | 1 | 09-30-2007 05:52 PM |
All times are GMT. The time now is 09:33 AM.
