Click to See Complete Forum and Search --> : UGH! RPM's Not working!
ShinSeiki
12-24-2002, 07:20 PM
Im on: Redhat 8
Using: KDE
I've downloaded several RPM's in the last couple hours, for various programs... One is xmms 1.2.7, one is noatun media player (im trying as hard as i can to find a media player that will play my frickin mp3s!), another is glib 2.0.6....
This is what happens... RPM opens the file, it goes Processing System Headers... Reading System State, and then craps out. It doesnt give any errors, it just disappears. Is there anyone out there who knows whats going on???
I used RH 7.3 for a long time, and never had a single problem.. and now this. BAH!
swangods
12-24-2002, 07:31 PM
are you running rpm through the command-line or gui?
ShinSeiki
12-24-2002, 07:33 PM
gui.... im not sure what the commands are for command line rpms.
Could that be the problem? would i get a comprehensive error message from the command line?
ShinSeiki
12-24-2002, 09:03 PM
Here is what happens when I run rpm on my package...
[root@localhost]# rpm -ivh kdemultimedia-3.0.3-4.src.rpm
warning: kdemultimedia-3.0.3-4.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1: kdemultimedia ########################################### [100%]
Thats what i get.
Anyone know what's up? Please?
swangods
12-24-2002, 10:39 PM
well, i'm not sure how to break this to you... but it looks like it's working? the #######[xx%] is a progress bar, and when it hits 100%, that means it's done with no errors. besides the reaction from the gui rpm installer, any reason to suspect that the package didn't install? it looks like it went in clean
and on a sidenote, when you install an rpm from commandline, i always use 'rpm -Uvh myrpm.rpm' -U indicates an upgrade (note it's capital), and will upgrade a package instead of plain installing.
A.J.Gibson
12-24-2002, 11:54 PM
I upgraded to 8.0 from 7.3 and found I had a great deal of trouble compiling RPMs because some of the kernel header files were in the wrong place.
destructo
12-25-2002, 12:07 AM
yea..it looks like its working...BTW you must have "special" mp3s cause xmms works like a dream.
amh4u
12-25-2002, 12:43 AM
1st, run the package manager through your terminal (/usr/bin/redhat-config-packages)and it should tell you where the error is. it should be either of these 2 files: /usr/share/redhat-config-packages:
/MainWindow.py or /comps.py
The error should give you a line number on the error. This apparently is a popular bug in 8.0 :(
good luck
ShinSeiki
12-25-2002, 03:20 AM
Yea, the error is in MainWindow.py
on line 163...
/usr/bin/redhat-config-packages
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
There is what my error messages are telling me... I'm not really sure what they mean, it's just some Python interpreter errors.
You say this is a popular bug? Well, do you know how to fix it?
And, if the RPM successfully installed, i should be able to type "noatun" at the command line (which is the package i installed) and it should run, correct?
Thanks, again.
:confused:
amh4u
12-25-2002, 11:45 AM
run "rpm -rebuilddb" to rebuild rpm database then run "rpm -qa" to list installed packs. try redhat-config-packages again and see if it clears up, if not, here's what I ended up doing to fix the bug, 1st, BACKUP the damaged files, (all the python scripts)then delete the sections in question (if you use Kate text editor it will tell you what line number you are on) then save and rerun "rpm -rebuilddb" and "rpm -qa" and after, run redhat-config-packages again. Let me know if that works.
pauper
12-26-2002, 03:19 AM
Originally posted by destructo
you must have "special" mp3s cause xmms works like a dream.
It may not be the MP3s - I had the same problem with RH8, XMMS would just refuse to open them at all (I couldn't even get the titles to load into the playlists) so I went the same route as ShinSeiki, trying package after package to find one that worked.
I eventually ended up with a cd burning package that also plays MP3s - that works really well! One day I'll get around to uninstalling all those extra, unwanted packages and XMMS will be top of the hit list! ;)