check-update fails after yum-upgrade is interrupted

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

 



Yum guru's,



Yesterday I was in the middle of a yum upgrade when my session got
lost in the middle (grr, I didn't start screen first).  Anyways this
morning I tried to do a yum check-update to see if things got messed
up b/c the upgrade was terminated in the middle.  Running yum
check-upgrade fails with the following.  Seems like maybe the db's are
corrupted ?  This is on Centos 5.2, being upgraded from 5.0  and yum
3.0.5



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 94, in main

    result, resultmsgs = base.doCommands()

  File "/usr/share/yum-cli/cli.py", line 381, in doCommands

    return self.yum_cli_commands[self.basecmd].doCommand(self,
self.basecmd, self.extcmds)

  File "/usr/share/yum-cli/yumcommands.py", line 317, in doCommand

    ypl = base.returnPkgLists(extcmds)

  File "/usr/share/yum-cli/cli.py", line 895, in returnPkgLists

    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)

  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 999,
in doPackageLists

    ver=v, rel=r)

  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
232, in searchNevra

    return self._computeAggregateListResult("searchNevra", name,
epoch, ver, rel, arch)

  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
369, in _computeAggregateListResult

    sackResult = apply(method, args)

  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 574,
in searchNevra

    returnList.append(self.pc(rep,self.db2class(x)))

  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 431,
in db2class

    y.checksum = {'pkgid': 'YES','type': db.checksum_type,

  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 97, in
__getattr__

    raise AttributeError, key

AttributeError: CHECKSUM_VALUE





Any help would be appreciated.





Thanks,



Matt P.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[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