LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2004, 01:35 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
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?
 
Old 06-29-2004, 01:36 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 06-29-2004, 01:39 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Where's te icon of a complete idiot banging his head against a brick wall?
 
Old 06-29-2004, 01:41 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It's ok - I can hear you from here
 
Old 06-30-2004, 04:47 AM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
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?
 
Old 06-30-2004, 04:53 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 06-30-2004, 06:55 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.

Last edited by ppuru; 06-30-2004 at 06:56 AM.
 
Old 07-01-2004, 10:56 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
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.
 
Old 07-06-2004, 10:36 AM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
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)
 
Old 07-16-2004, 02:24 AM   #10
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Rep: Reputation: 15
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.
 
Old 07-16-2004, 04:24 AM   #11
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
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.
 
Old 07-29-2004, 10:08 AM   #12
Rathann
Member
 
Registered: Jul 2004
Location: Poland
Distribution: RedHat 7.3/8.0/9, Fedora Core 1/2/3/4
Posts: 35

Rep: Reputation: 15
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.
 
Old 07-30-2004, 12:13 AM   #13
dogface
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse Linux 7.1
Posts: 18

Rep: Reputation: 0
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.
 
Old 08-01-2004, 04:40 PM   #14
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
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)
 
Old 11-16-2006, 04:03 PM   #15
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
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.

Last edited by Tux-O-Matic; 11-16-2006 at 04:04 PM.
 
  


Reply



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
How do i install lilo manually? Alexander.s Linux - Software 3 06-07-2005 03:41 PM
How to install lilo manually kool_kid Slackware - Installation 17 02-03-2005 12:40 PM
How do I manually install LILO? Choey Slackware 5 06-19-2004 12:36 AM
Help....trying to install a program manually SurferRoxyChiq Linux - Software 7 01-30-2004 03:30 AM
install grub manually GoK Linux - Newbie 3 08-13-2003 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 AM.

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