[K12OSN] yum hangs after checking extras repo
Petre Scheie
petre at maltzen.net
Tue Nov 21 18:25:53 UTC 2006
Eric Harrison wrote:
> Petre Scheie wrote:
>> I'm trying to install a package with yum, but when I run any yum
>> command--e.g., yum list available, yum install gconf-editor--after it
>> reads the repo metadata for extras, saying it added 5694 new packages,
>> it just hangs. I've tried it a few times, running 'yum clean all' in
>> between, but to no avail. I think it's something on this particular
>> box, because running it on a different server it works just fine.
>> Suggestions?
>>
>> Petre
>>
>
> 'yum clean all' should fix any type of corruption with yum-specific
> files. Perhaps it is a problem with rpm? (yum uses rpm on the backend)
>
>
> When anything screwy happens with rpm, I first remove
> /var/lib/rpm/__db.00* (temporary transaction databases)
>
> rm /var/lib/rpm/__db.00*
>
> If that doesn't fix it, I rebuild the rpm database:
>
> rpm --rebuilddb
>
>
>
> -Eric
>
Removing the /var/lib/rpm/__db.00* files fixed the problem. Thanks, Eric.
Petre
More information about the K12OSN
mailing list