Install Packages on Redhat 8
I'm using RH8 and I would like to install some packages that I didn't install during the Redhat installation. I run /usr/bin/redhat-config-packages as root in a terminal and the Package Management starts up and reads the packages, but then disappears.
What am I missing? |
What error messages were shown in the terminal?
You may have gnorpm as well and there is the gool old command rpm. # Redhat links Red Hat Linux Manuals Maximum RPM rpmfind Easier software management: APT-RPM - Red Carpet # Redhat 8.0 configuration commands Configure soundcard: redhat-config-soundcard Configure X server: redhat-config-xfree86 |
For some reason in RedHat 8.0 rpms can be a bit buggy. I've had this problem before, and many like it, and there is a simple way to solve it. Sometimes the rpm database gets locked up due to an interupted install of an rpm package. When this happens the database becomes corrupted. Have no fear! The following commands will do the trick:
rm -f /var/lib/rpm/__db* rpm --rebuilddb The first command deletes the existing database files and the second command rebuilds the database. This should do it for you. Unfortunately this is a little known problem in RH 8.0. |
Thanks for the quick replys.
I ran the commands. rm -f /var/lib/rpm/__db* rpm --rebuilddb The same thing happened. The terminal had some messages just before it dissapeared. I did not have time to read it. Is there a log I can look at? |
Most distros have the log in /var/log/messages
|
open up a terminal, then run it. Don't use the run dialog. That way the errors should stay on the screen.
|
here is the message I get:
Traceback (most recent call last): File "/usr/share/redhat-config-packages/MainWindow.py", line 163, in ? comps = im.readCompsViaMethod(hdlist, progress.update) File "/usr/share/redhat-config-packages/method.py", line 488, in readCompsViaMethod update_method = update_method) File "/usr/share/redhat-config-packages/comps.py", line 387, in __init__ self.readCompsFile(file, self.packages) File "/usr/share/redhat-config-packages/comps.py", line 471, in readCompsFile self.setupStateDicts(packages) File "/usr/share/redhat-config-packages/comps.py", line 420, in setupStateDicts for prov in h[rpm.RPMTAG_PROVIDES]: TypeError: iteration over non-sequence I found this in RH bugzilla: http://bugzilla.redhat.com/bugzilla/...g.cgi?id=77343 it seems to point to here for a solution: http://bugzilla.redhat.com/bugzilla/...g.cgi?id=74877 I downloaded the file after Additional Comment #7 From Jeremy Katz on 2002-10-11 17:11. It did not solve the problem. Am I correct in thinking that this is a solution to my particular problem? |
I found this and it worked!
http://www.linuxquestions.org/questions/history/34310 Thanks again for all the help. I wont be a noob for long. |
Good to see. The new redhat config tools are still shaking out the bugs. A .0 release, what can I say?
|
All times are GMT -5. The time now is 10:25 AM. |