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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-12-2003, 03:21 PM
|
#1
|
Member
Registered: Apr 2003
Posts: 47
Rep:
|
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. 
|
|
|
08-12-2003, 03:29 PM
|
#2
|
Member
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376
Rep:
|
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
|
|
|
08-12-2003, 03:41 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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.
|
|
|
08-12-2003, 04:27 PM
|
#4
|
Member
Registered: Apr 2003
Posts: 47
Original Poster
Rep:
|
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.
|
|
|
08-12-2003, 05:03 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well in the terminal when you type:
rpm -ivh package.rpm
or ...
rpm -Uvh package.rpm
do you get errors?
|
|
|
08-12-2003, 05:10 PM
|
#6
|
Member
Registered: Apr 2003
Posts: 47
Original Poster
Rep:
|
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.
|
|
|
08-12-2003, 06:03 PM
|
#7
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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.
|
|
|
08-13-2003, 02:40 AM
|
#8
|
Member
Registered: Apr 2003
Posts: 47
Original Poster
Rep:
|
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.
|
|
|
08-13-2003, 02:49 PM
|
#9
|
Member
Registered: Apr 2003
Posts: 47
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 03:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|