Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-08-2013, 01:55 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Question rpm without import options.

It seems the rpm command in the redhat 7.3 doesn't have the import option. There is no clear answer, maybe i missed, on the web to explain it how to configure the public key.

Pls help.

$ cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
$ rpm --version
RPM version 4.0.4
$ rpm --import
--import: unknown option
Old 08-08-2013, 02:53 AM   #2
Red Hat Content Author
Registered: Nov 2007
Location: Brisbane, Australia
Distribution: RHEL, Fedora
Posts: 29

Rep: Reputation: 4
Any particular reason you're using such an old version of Red Hat Linux? As far as I can tell the last errata for that was nearly 10 years ago.

RPM version 4.8.0 has the --import option available, but I don't know when it was introduced. Later versions of Red Hat Enterprise Linux and Fedora have it available. I have both Fedora 16 and 19 installed, and --import is available. Not sure how you'd go about importing keys in your version.

Sorry I can't be more help.

Old 08-08-2013, 02:59 AM   #3
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Redhat 7.3 is 11 years old! (7.3 (Valhalla), May 6, 2002 (Linux 2.4.18-3)

All the packages are from that era and it is more then possible that rpm's import options wasn't present (or present in a different form). I've tried to find when --import was introduced, but the rpm release page only goes back as far as 2007.

Many, many things have changed over the last 11 years. I would strongly suggest you start using a modern, up-to-date distro.

EDIT: Too slow, again....

Last edited by druuna; 08-08-2013 at 03:11 AM. Reason: Fixed a typo.
Old 08-08-2013, 03:06 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks dob12460 and druuna reminding. I will try a newer version.


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
[SOLVED] RPM software manager upgrade from v4.4.2 to 4.9.0 database import problem on RHEL5 quophyie Linux - Newbie 4 06-30-2011 12:44 PM
Weird xmgrace problem:Missing import data options Euler2 Linux - Software 1 04-13-2010 12:07 PM
RPM options Corrado Linux - General 1 05-01-2007 01:43 PM
Install RPM w/ options ckoniecny Linux - General 1 02-15-2007 02:30 PM
rpm --import <file> hangs SheldonPlankton Linux - Software 2 08-26-2004 02:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration