LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2003, 01:56 PM   #1
bigmurph0449
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Rep: Reputation: 0
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?
 
Old 02-16-2003, 02:08 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
 
Old 02-16-2003, 02:32 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 02-16-2003, 03:59 PM   #4
bigmurph0449
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Original Poster
Rep: Reputation: 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?
 
Old 02-16-2003, 04:05 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Most distros have the log in /var/log/messages
 
Old 02-16-2003, 04:34 PM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
open up a terminal, then run it. Don't use the run dialog. That way the errors should stay on the screen.
 
Old 02-16-2003, 05:18 PM   #7
bigmurph0449
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 02-16-2003, 05:50 PM   #8
bigmurph0449
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 02-16-2003, 06:41 PM   #9
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Good to see. The new redhat config tools are still shaking out the bugs. A .0 release, what can I say?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install rpm packages in RedHat shahrokhnikou Linux - Software 1 07-28-2005 03:50 PM
Can I install redhat rpm packages in Suse?. linux123456 SUSE / openSUSE 6 10-16-2004 07:16 PM
can i install redhat rpm packages in mandrake linux chamara910 Linux - Software 5 08-26-2004 12:41 PM
Can't install addt'l packages with Redhat installer chagrin Linux - Software 6 03-01-2004 09:57 AM
How to re-install redhat-config-packages?? cmura LinuxQuestions.org Member Success Stories 1 03-25-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration