I think that everybody who works with Fedora Core noticed that software installation utility YUM hangs up sometimes. I happens for me after killing yum process during it downloads package or etc. Next time I start yum, it hangs up. Here are two commands to avoid this:

killall -9 yum #to kill stopped yum
rm /var/lib/rpm/__db.* #to prevent hanging up

After it’s done, yum will start normally.




  1. July 9, 2008  6:13 pm by Stefan Reply

    it works...thanks a lot...

  2. Pingback : michfrms Blog » Archiv » Fedora vs Ubuntu

  3. September 6, 2010  10:14 am by deepthi Reply

    it used to work fine earlier...suddenly started hanging
    i tried the above code...

    [root@bng-ui-vm-38 ~]# killall -9 yum
    yum: no process killed
    You have mail in /var/spool/mail/root
    [root@bng-ui-vm-38 ~]# rm /var/lib/rpm/__db.*
    rm: remove regular file `/var/lib/rpm/__db.001'? y
    rm: remove regular file `/var/lib/rpm/__db.002'? y
    rm: remove regular file `/var/lib/rpm/__db.003'? y
    rm: remove regular file `/var/lib/rpm/__db.004'? y
    [root@bng-ui-vm-38 ~]# yum -y install openldap
    Loaded plugins: refresh-packagekit

    and it is stuck again like this...please help

  4. January 30, 2011  10:49 am by virginia tech bookstore Reply

    I just could not depart your site before suggesting that I really enjoyed the standard information a person provide for your visitors? Is gonna be back often to check up on new posts.

  5. April 9, 2011  10:18 am by payday loan payday Reply

    Hello, Today within a new directory of blogs. I don’t recognize how your site came up, must have been a typo. Your site looks good, use a nice day.

Leave a reply


Your email address will not be published.