Re: I think I broke yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Yep <myep <at> remotelink.com> writes:

> 
> After starting yum it was doing a 300+ pkg update, and it never
> finished.  Now I cannot run yum, and rpm seems to be broke too.
> In addition I cannot issue a Ctrl-C command, I must hit Ctrl-Z and do a
> kill -9 on the yum process.  How do I find out what yum is doing and how
> to get it back to normal?
> 
> This is what yum says now:
> 
> Loading "installonlyn" plugin
> 
> [1]+  Stopped                 ./u
> [root <at> localhost ]# ps aux |grep yum
> 

First, make sure yum isn't running, then delete file as follows: -
rm -f /var/run/yum.pid

If the file is not there, try: - 
locate yum.pid

If it can't find it, it's probably gone, otherwise delete it using the `rm`
command above, but with the correct fiole path as determined by the locate
statement.

Then clear out the yum caches with: -
yum clean all

That should do the trick. If "yum clean all" comes up with a message: "Existing
lock /foo/bar/yum.pid" then you've found the yum.pid you need to delete before
trying "yum clean all" again.


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux