RPM, YUM hang problems

Recently, I had problems with yumex, yum and rpm in generals.

I finally found this useful post : Dealing with yum hangs on FC6
Basically, you have to remove theses files : rm -f /var/lib/rpm/__db.* !

For security, I did a rpm --rebuilddb ; yum clean all to clean up things.

By the way I found lots of informations using :
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{ARCH}-%{DISTRIBUTION}-%{VENDOR}\\n"
rpm --querytags will give you all the tags that you can use in the query.

%{ARCH} \\n" | grep openssl | sort

A good yum plugin : protectbase. In case you are using “dangerous” repositories like Freshrpms, ATrpms, livna …

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: