RE: I think I broke yum

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

 



 > Subject: Re: I think I broke yum
> 
> On Mon, 2007-01-15 at 15:20 -0600, Michael Yep wrote:
> > 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@localhost ]# ps aux |grep yum
> 
> Try:
> 
> 	su -
> 	rm -f /var/lib/rpm/__db*  (that's two underscores)
> 	rpm --rebuilddb
> 
On three different FC6 machines I had the same thing happen.  I
used the commands:

su -
rm -f /var/lib/rpm/__db*
db_verify /var/lib/rpm/Packages
rpm --rebuilddb
yum clean all

In all three cases updates went back to normal.  Basically the same
thing Rick suggested with the db_verify and the yum clean added in.
They may not be necessary, but did work for me.

After that yum update worked.  

Bob Styma

[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