[K12OSN] yum hangs after checking extras repo

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue Nov 21 17:39:25 UTC 2006


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




More information about the K12OSN mailing list