can't install rpm's manually
Not sure whether to post here or at the fedora board (running fc2) but here goes.
I have no trouble installing through the intall/uninstall manager, but when I try to install an rpm manually I get the following message: Code:
$ rpm -i <something>.rpm |
You need to be root to do this. Open a console, type in su and hit enter, then type the root password and hit enter, then redo the rpm command. Type exit to return to being a normal user.
|
Where's te icon of a complete idiot banging his head against a brick wall?
|
It's ok - I can hear you from here :D
|
SUd to root and tried again only to get the same warning, but without the error message. It also tells me there's a dependencie problem, so I downloaded a package that includes the required dependency, but because this again has other dependencies I extracted the required library (libxine.so.1 which appeared to be a link to lixine.so.1.8.1) and copied it (both) into the directory it would have been installed into (file roller told me). However, rpm still can't find it and keeps giving the dependency error. How can I tell it it is already installed?
|
It's possible that your rpm database is out of date or having problems This posts will give instructions on rebuilding it.
The best way I have ever forund to deal with rpm dependencies is to use Apt4RPM or YUM. They do the install for you and deal with dependencies. Before using either the manual method or the suggested automatic methods, rebuild the database. |
Quote:
You can #rpm --import <PUBKEY> PUBKEY (something like RPM-GPG-KEY) can be found on the Fedora CDs. |
apt isn't an option at the moment. I haven't got a working internet connection: linmodem - won't work under kernel 2.6.* + haven't got the kernel source and headers which are on cd3 (will get them soon though and probably a hardware modem.
Thanks for the input though. I love it when there's a reason for an error and a way to solve it other than 'restart' or 'install undate one-zillion and two'. I'll have a look at it as soon as I'm back at my home box. |
Ok, I've installed all the PUBKEY files on the FC2 cd (about 5) and I still get the same error message?!
I also did rpm --rebuilddb but got no result (took some minutes but still didn't recognise libxine.so.1 as installed) |
i had this problem with mplayer, so i su to root & did it, & it gave me a dependency error even though i had just installed the package it needed.... so i did "rpm -ivh --nodeps mplayer*" & it installed, & is now working fine... i don't think that is the recommended way to go about it, but it worked fine for me.
|
I finally decided to download the mplayer packages and install the lot.Myproblem is solved,but I don't feel too happy about not knowing what exactly went wrong.
|
Quote:
http://pgp.mit.edu:11371/pks/lookup?...rch=0xE42D547B You also can't install a file into RPM database just by coping it into the right place in the filesystem. RPM doesn't really care about what's actually in the filesystem. It checks the dependencies against its db and if a lib is not there, it'll complain. So your only option is to install an rpm which provides the correct lib or use --nodeps, which can mess up your system if you're not careful. |
i get the same errors as LinMix..also tried double clicking on rpm and it popped up a window asking for a program to associate with the RPM. I downloaded the APT from fedora and was trying to install it.
|
Thanks for the right key, but I still have some questions. First of all, how do I install it. It appears to be a plain text file. Do I save it with a random name and install like any key? And HOW do you know this is the right key (just so I'll know what I need and where to look for it next time around)
|
I'm generally having the same problem. I've turned off the dependencies
[I think it makes sence for there to be no dependencies, because I have no Internet, and when I installed Linux, other packages were installed] and tried to do a localinstall, but I got the same error message, though I was the root. I know that there are public keys in the (what I call) home folder of the CD, but I don't know which one to use or how to install the public keys (they're just text files). I'm trying to install k3b. |
All times are GMT -5. The time now is 12:09 AM. |