LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-12-2003, 03:21 PM   #1
JamboUK
Member
 
Registered: Apr 2003
Posts: 47

Rep: Reputation: 15
Question RPM Dependencies In Red Hat 9 GUI


Hi,

I previously had RH8 installed and tinkered around with that for a little while. When an opportnity for a new hard drive came along I decided to ditch RH8 in favour of RH9.

Now still being a newbie and having installed relatively few RPM's I set about re-installing Mplayer which I had successfully done in RH8.

From what I remember in RH8 if I double clicked on the downloaded MPlayer file in the Gnome GUI it asked me for my root password (which it does in RH9 too) and attempts to install and then gives an error listing which applications Mplayer is dependant on. I would then of course download and install these too.

When I try the same thing in RH9 i.e. double click the downloaded file the installer windows opens (i.e. Preparing System Update etc) and the it disappears and nothing. No dependency error windows listing what is missing or anything!!

If I use the command line they are listed. What has changed in the Gnome GUI... I am forgetting something? Am I going mad?

It is several months ago now but I am pretty sure I was able to install GAIM in the same way......and it gave me a dependency list then?!?

Please help!! Thanks.
 
Old 08-12-2003, 03:29 PM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Console rpm works, gui not? To me, it looks like a software bug.
If you want to get the error-output, run your rpm-gui program from console. If it crashes, just post the error. This might give us a clue
 
Old 08-12-2003, 03:41 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
rm -rf /var/lib/rpm/__db.*
as root
and then go back to double clicking your rpms...
or.......
the other thing is, if you have a source rpm (src.rpm) alot of the times that is what it does, you double click it enter root password and then the screen disappears...
so check both options i've told you, and if case 2 is not the case, issuing that command i mentioned, and that should fix things.
 
Old 08-12-2003, 04:27 PM   #4
JamboUK
Member
 
Registered: Apr 2003
Posts: 47

Original Poster
Rep: Reputation: 15
Config... error when running GUI in terminal and double clicking on file is:

error: cannot open Packages database in /var/lib/rpm
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID e42d547b
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 252, in
?
main_window.run()
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 216, in
run
self.do_initial_setup ()
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 145, in
do_initial_setup
h = ts.hdrFromFdno(fd)
rpm.error: public key not available

What is that all about?! Help!!!


DrOzz - Definitely not source files! Made that mistake before! lol
Entered the command in the Terminal window i.e.

SU
Password
rm -rf /var/lib/rpm/_db.*

Bash accepts the command with no syntax (and no other messages). I double click on the Mplayer file and exactly the same as before. Problem unsolved unfortunately (or am I doing something wrong?).

Any more ideas guys? Thanks!

Last edited by JamboUK; 08-12-2003 at 05:03 PM.
 
Old 08-12-2003, 05:03 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well in the terminal when you type:
rpm -ivh package.rpm
or ...
rpm -Uvh package.rpm
do you get errors?
 
Old 08-12-2003, 05:10 PM   #6
JamboUK
Member
 
Registered: Apr 2003
Posts: 47

Original Poster
Rep: Reputation: 15
DrOzz,

I get the following when entering the commands from your last post...

warning: mplayer-0.90-4.20030808.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b

Plus a whole list of dependencies which I would expect to see when double clicking in the GUI (which of course I don't).

Out of interest what is the difference between the last two commands you issued?

I have also added an error message to my previous post based on the info that Config provided.

Does this help because I am well and truly baffled!

Thank you for you time.
 
Old 08-12-2003, 06:03 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well the "i" in -ivh stand for intstall
and the "u" in -Uvh stands for upgrade
but the -Uvh argument can be used for installing also....

maybe try running :
rpm --rebuilddb

note: this will take a little longer then you'll probably expect so dont' cancel it because you may start thinking it stalled or something....
if you want to see output while its doing its thing then add the -v argument to the command to see what its doing if you like.

but in closing, just let this command run and wait till your booted back to the prompt and then try installing again.
 
Old 08-13-2003, 02:40 AM   #8
JamboUK
Member
 
Registered: Apr 2003
Posts: 47

Original Poster
Rep: Reputation: 15
OK thank you once again. I will try your recommendations later.

Sorry to be a nuisance but by using that command what is it I am trying to achieve?

Thanks.
 
Old 08-13-2003, 02:49 PM   #9
JamboUK
Member
 
Registered: Apr 2003
Posts: 47

Original Poster
Rep: Reputation: 15
OK after running the command:

RPM --rebuilddb in terminal.

I get the error :

error: db4 error(16) from dbenv->remove: Device or resource busy.


Must be doing something wrong surely?
 
  


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
Rpm and dependencies with no gui crypix Linux - Enterprise 4 04-29-2005 06:44 AM
dependencies problem with red hat 8.0 (Psyche) 2.4.18-14smp rodrigk Red Hat 3 03-05-2005 07:38 AM
fighting red hat package dependencies/libc.so.6 drdont Linux - Software 1 01-01-2005 04:02 PM
no GUI...Red Hat 9 blueplanet200 Linux - Newbie 1 07-07-2004 04:10 AM
XMMS on Red Hat 8.0....Failed dependencies?? kolich Linux - Software 6 11-29-2002 12:12 PM

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

All times are GMT -5. The time now is 08:27 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
Open Source Consulting | Domain Registration