RE: yum completely freezes as root

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

 



On Thu, 23 Aug 2007, Miner, Jonathan W (CSC) (US SSA) wrote:


Karl Larsen wrote:
   Try it after you do a su - in a terminal window. The simple su gives
you a sort-of root. The su - makes it a real root termial.


Just tried it - same thing, it freezes.  Happens for "su", "su -", and
"sudo".

Two things that I have done in the past to resolve problems with rpm and yum commands that hang.

1) rm /var/lib/rpm/__db.00*

I'm not sure what information is held in these files, but deleting them seems to clear up some problems. The files get automatically re-created

The __* files are BDB "database environment" files which among other things contain rpmdb locks. If anything accessing the rpmdb as root is terminated uncleanly (kill -9 or through crash) you'll need to clean up the environment (with the above rm -f command) before rpm/yum/anything else using rpmdb can access them.

	- Panu -

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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