LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm install problem (https://www.linuxquestions.org/questions/linux-software-2/rpm-install-problem-91646/)

SeanBoz 09-11-2003 10:42 AM

rpm install problem
 
This is what I get when I try to install the up2date rpm from red hat network.
As you can see below both are dependent on each other, but neither will install with out the other one. How do I get around this?
Any help would be apprecieated.

[seanb@krondor seanb]$ ls
apt-0.5.4cnc9-fr1.i386.rpm up2date-gnome-3.0.7.2-1.i386.rpm
Mail webmin-1.020-1.noarch.rpm
up2date-3.0.7.2-1.i386.rpm
[seanb@krondor seanb]$ rpm -ihv up2date-g*.rpm
error: Failed dependencies:
up2date = 3.0.7.2 is needed by up2date-gnome-3.0.7.2-1
[seanb@krondor seanb]$ rpm -ihv up2date-3*.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[seanb@krondor seanb]$

--SeanBoz
A relative Linux newbie

Crashed_Again 09-11-2003 10:49 AM

You must be root in order to install rpm packages. Just su to root and do:

rpm -Uvh *.rpm

acid_kewpie 09-11-2003 10:49 AM

you need to be root to install them, as for "circular" deps. just put both filenames on the same rpm comand

rshaw 09-11-2003 10:53 AM

either force one with blah.blah.rpm --force --no-deps or put both in a directory by themselves and do a rpm -ivh *.rpm

rshaw 09-11-2003 10:54 AM

wow, everybody jumped on this one

acid_kewpie 09-11-2003 11:02 AM

jumped? that took you 11 minutes.... more of a crawl....!

rshaw 09-11-2003 11:13 AM

not enough coffee yet

chris319 09-11-2003 04:19 PM

Get apt4rpm and Synaptic. You'll be glad you did.


All times are GMT -5. The time now is 08:28 AM.