Re: check-update fails after yum-upgrade is interrupted

Flatfender <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Fri, Jul 18, 2008 at 10:36 AM, seth vidal <[email protected]> wrote:
> On Fri, 2008-07-18 at 10:32 -0400, Flatfender wrote:
>> 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
>>
>
>
> you probably have the newer yum but the older yum-metadata-parser.
>
> rpm -qa | grep yum
>
> -sv


 rpm -qa |grep yum
yum-metadata-parser-1.0-8.fc6
yum-metadata-parser-1.1.2-2.el5
yum-updatesd-3.0.5-1.el5.centos.5
yum-3.0.5-1.el5.centos.5

rpm -Vl yum-metadata-parser
Unsatisfied dependencies for yum-metadata-parser-1.1.2-2.el5.i386: yum < 3.2.0
S.5....T   /usr/lib/python2.4/site-packages/_sqlitecache.so
S.5....T   /usr/lib/python2.4/site-packages/sqlitecachec.py
S.5....T   /usr/lib/python2.4/site-packages/sqlitecachec.pyc
S.5....T   /usr/lib/python2.4/site-packages/sqlitecachec.pyo


Looks like the python sqlite dependencies is messed up.

rpm -qa |grep sql yields the following

sqlite-3.3.6-2
python-sqlite-1.1.7-1.2.1
sqlite-devel-3.3.6-2
postgresql-libs-8.1.11-1.el5_1.1


And they all seem to verify
rpm -Vl python-sqlite-1.1.7-1.2.1
rpm -Vl sqlite
rpm -Vl sqlite-devel

Not quite sure what dependency might be missing.

Matt P.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.