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.

 

6 Comments

 

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

    it works...thanks a lot...

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

  3. January 31, 2010  11:45 am by Elisabeth Covar Reply

    Substantially, the post is actually the best on this noteworthy topic. I fit in with your conclusions and will eagerly look forward to your incoming updates. Just saying thanks will not just be sufficient, for the fantasti c clarity in your writing. I will right away grab your rss feed to stay abreast of any updates. Pleasant work and much success in your business dealings!

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

    hi,
    it used to work fine earlier...suddenly started hanging
    so,
    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

  5. 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.

  6. 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.