[Yum] _sqlite.DatabaseError using YUM

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

 



On Mon, 2005-11-07 at 15:15 +0100, licial@xxxxxxxxxx wrote:
> Hi,
> 
> 
> I'm using FC4 with yum 2.4
> 
> Since few days ago I can't run yum without getting this error that I do
> not understan what it means:
> 
>  (Command being executed: yum -y info available).
> 
> *** Traceback (most recent call last):
> ***   File "/usr/bin/yum", line 27, in ?
> ***     yummain.main(sys.argv[1:])
> ***   File "/usr/share/yum-cli/yummain.py", line 92, in main
> ***     result, resultmsgs = do()
> ***   File "/usr/share/yum-cli/cli.py", line 506, in doCommands
> Setting up repositories
> Reading repository metadata in from local files
> ***     ypl = self.returnPkgLists()
> ***   File "/usr/share/yum-cli/cli.py", line 1168, in returnPkgLists
> ***     ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
> ***   File "__init__.py", line 923, in doPackageLists
> ***   File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
> ***     self.doSackSetup(thisrepo=thisrepo)
> ***   File "__init__.py", line 263, in doSackSetup
> ***   File "__init__.py", line 426, in excludeNonCompatArchs
> ***   File "sqlitesack.py", line 460, in excludeArchs
> ***   File "/usr/src/build/539311-i386/install//usr/lib/python2.4/site-packages/sqlite/main.py",
> line 244, in execute
> *** _sqlite.DatabaseError: database disk image is malformed
> 
> I obtain this error with any command-
> 
> I tryed doing:
> # rpm --rebuilddb
> but it didn't changed
> 
> I tryed reinstalling yum
> but it didn't changed
> 
> Until now i think rpm is working fine.
> 
> I don't know what I have to do.
> 
> Can anyone help?
> Thanks.
> Ciao! 

run: yum clean all

see if that helps fix it.

-sv





[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux