LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-26-2003, 04:59 PM   #1
CrushGruve
LQ Newbie
 
Registered: Jun 2002
Posts: 14

Rep: Reputation: 0
rpm install not workin


Help!!! i have just installed rh 9 and my rpms wont install i have tried a few different rpms from fresh rpm and none of them work...they start to read the rpm and then it disapears....im alittle lost. i tried through command line and it told me the gpg key was missing. im goin insane...and i like rpms so i dont wanna just deal with it please help...thanx cg
 
Old 05-26-2003, 05:11 PM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Well, the rpm might be installed. The missing gpg key will not hinder installation.

try:
$rpm -q package_name

here is a verification that I do indeed have wine installed on my laptop:

[root@redbox3 bignate]# rpm -q wine
wine-20020605-2
[root@redbox3 bignate]#

If you do not have the package installed you will see:

[root@redbox3 bignate]# rpm -q uninstalled_package
package uninstalled_package is not installed
[root@redbox3 bignate]#

Try that to make sure rpm is broken and then post back.

Good Luck!
 
Old 05-26-2003, 05:11 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Who's GPG key was missing? Packages that are GPG-signed are somewhat more "trusted" opposed to packages that only have a separate md5sum. Importing the GPG key or disabling checking the GPG signature should fix it.
 
Old 05-26-2003, 05:12 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I suggest checking out apt4rpm and Red Carpet for automatic dependency resolution until you get used to resolving them yourself. Then ask about installing a certain program (after reading how to aks questions, of course) and you can get better answers to your questions.;

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

# Redhat 9.0
Redhat 9.0 Upgrading the kernel
Building a custom kernel
 
Old 05-26-2003, 05:48 PM   #5
CrushGruve
LQ Newbie
 
Registered: Jun 2002
Posts: 14

Original Poster
Rep: Reputation: 0
rpm problem

thanx for the replies.....
!. to big nate i did a -q and also a -K and this was the result
[cg@localhost cg]$ rpm -q gkrellm-2.1.10-fr1.i386.rpm
package gkrellm-2.1.10-fr1.i386.rpm is not installed
[cg@localhost cg]$ rpm -K gkrellm-2.1.10-fr1.i386.rpm
gkrellm-2.1.10-fr1.i386.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#e42d547b)

and to unspawn...how do i disable it
 
Old 05-26-2003, 05:56 PM   #6
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
You are not using the -q option correctly. You need not include the xxx.i386.rpm info. See:

[root@redbox3 spool]# rpm -q fluxbox-0.1.14-2.i386.rpm
package fluxbox-0.1.14-2.i386.rpm is not installed
[root@redbox3 spool]# rpm -q fluxbox
fluxbox-0.1.14-2
[root@redbox3 spool]#

You are looking for the actual software not the rpm package. Try it again.
 
Old 05-26-2003, 06:43 PM   #7
CrushGruve
LQ Newbie
 
Registered: Jun 2002
Posts: 14

Original Poster
Rep: Reputation: 0
rpm problem

ok i tried it and i picked the wrong file to use as an example cause it was installed but i tried it with xine which was the actuall reason all this started...lol...here is the result
[cg@localhost cg]$ rpm -q gkrellm
gkrellm-2.1.5-3
[cg@localhost cg]$ rpm -q xine
package xine is not installed
[cg@localhost cg]$ rpm -K xine-0.9.21-fr1.i386.rpm
xine-0.9.21-fr1.i386.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#e42d547b)
[cg@localhost cg]$
 
Old 05-26-2003, 06:57 PM   #8
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Ok so you want to install this package I take it??

$rpm -ivh xine-0.9.21-fr1.i386.rpm

incidentially what what does the -K option do?
 
Old 05-26-2003, 07:17 PM   #9
CrushGruve
LQ Newbie
 
Registered: Jun 2002
Posts: 14

Original Poster
Rep: Reputation: 0
hey thanx for that it started to install now i have to take care of my dependencies which i can deal with but i still am confused as to why it works like that but not by double clicking...i would really like to disable the gpg so i can just double click alittle easier than all the typin...lol i know im lazy but hey if i can do it does anyone know how to disable it......the -K option i was told was the checksig for the rpm a friend told me to try that and it would tell me why it wasnt workin....if anyone can tell me how to disable the gpg i would love to see if that would work
thanx for the help.....cg
 
Old 05-27-2003, 07:05 AM   #10
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Well crush I gotta say I am not for disabling gpg. I am kind of a gpg fan though so I am a little biased. I am not sure where the config file is for rpm/gpg. I do know that it is very simple to import keys to rpm (although I am not sure if there is a gui way to do it, when I import a key I go with a cli)

see man rpm for details.
fwiw, gpg is a great way to verify you are getting a good package from a reputable author. If you are like most folks you will usually only dl from a few repositories so a couple of extra text files with pub keys on them will not take up too much room and once a particular key is imported you will (should) never have to import it again. just my $.02

If you are really hell bent on getting rid of gpg...try
$whereis rpm
and look to see which dirs are listed and start digging around for a config file. I am sure it is probably as simple as commenting out a line.
 
Old 05-27-2003, 08:43 AM   #11
mjolnir
Member
 
Registered: Apr 2003
Posts: 750

Rep: Reputation: 83
Is the gpg contained in the name of the file? The reason I ask is
that because of modem troubles I am downloading to xp and
cp to mdk9.1. During the process I renamed opera-7.11-20030515
.4-shared-qt.i386.rpm to opera7.rpm. The install worked fine but
I got a message about a missing "gpg". Is there any harm in
renaming the rpm?
 
Old 05-27-2003, 01:58 PM   #12
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Nope. The gpg key is a seperate file althogether. A small cookie is in the rpm and it is verified against the copy of the public key that is dl'd seperately and stored on your key ring. that cookie can only be related to the orig key therefore if the cookie is there then you know the person who made the package and is distributing it is legit. gpg is cool in general go to gpg.org and read more...I think you may find it, as I do, indespensible.

Take care!
 
Old 05-27-2003, 03:12 PM   #13
mjolnir
Member
 
Registered: Apr 2003
Posts: 750

Rep: Reputation: 83
Thanks for the reply BigNate. I never could get www.gpg.org
web site but google yielded a wealth of infomation.
 
Old 05-27-2003, 03:49 PM   #14
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Quote:
Originally posted by mjolnir
Thanks for the reply BigNate. I never could get www.gpg.org
web site but google yielded a wealth of infomation.
oops that is because I lied, er, made a mistake. it is gnupg.org. Sorry.
 
Old 05-27-2003, 06:25 PM   #15
mjolnir
Member
 
Registered: Apr 2003
Posts: 750

Rep: Reputation: 83
Quite alwright, I've hicupped once or twice before my own self.
Between the gnupg site and the Maximum RPM link from
fancypiper I have a lot of reading to do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Yahoo not workin duffmckagan Linux - Software 25 07-31-2005 12:29 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM
Mouse not workin sometimes ? nutshell Linux - General 11 03-07-2002 03:25 AM


All times are GMT -5. The time now is 03:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration