LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't install rpm's manually (https://www.linuxquestions.org/questions/linux-software-2/cant-install-rpms-manually-199154/)

linmix 06-29-2004 01:35 PM

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
warning: <something>.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: can't create transaction lock

what's going on?

XavierP 06-29-2004 01:36 PM

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.

linmix 06-29-2004 01:39 PM

Where's te icon of a complete idiot banging his head against a brick wall?

XavierP 06-29-2004 01:41 PM

It's ok - I can hear you from here :D

linmix 06-30-2004 04:47 AM

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?

XavierP 06-30-2004 04:53 AM

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.

ppuru 06-30-2004 06:55 AM

Quote:

warning: <something>.rpm: V3 DSA signature: NOKEY
You get that warning because rpm does not have the signature of issuer of the rpm in its database.

You can

#rpm --import <PUBKEY>

PUBKEY (something like RPM-GPG-KEY) can be found on the Fedora CDs.

linmix 07-01-2004 10:56 AM

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.

linmix 07-06-2004 10:36 AM

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)

moschi 07-16-2004 02:24 AM

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.

linmix 07-16-2004 04:24 AM

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.

Rathann 07-29-2004 10:08 AM

Quote:

Originally posted by linmix
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)

You can't just install any public GPG key and hope for the best. You need to import the right one, which in this case is:
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.

dogface 07-30-2004 12:13 AM

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.

linmix 08-01-2004 04:40 PM

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)

Tux-O-Matic 11-16-2006 04:03 PM

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.