LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-08-2013, 02:55 AM   #1
sleepy_11
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.

Code:
Code:
$ 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, 03:53 AM   #2
dob12460
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.

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

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
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 04:11 AM. Reason: Fixed a typo.
 
Old 08-08-2013, 04:06 AM   #4
sleepy_11
LQ Newbie
 
Registered: Apr 2008
Posts: 6

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


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
[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 01:44 PM
Weird xmgrace problem:Missing import data options Euler2 Linux - Software 1 04-13-2010 01:07 PM
RPM options Corrado Linux - General 1 05-01-2007 02:43 PM
Install RPM w/ options ckoniecny Linux - General 1 02-15-2007 03:30 PM
rpm --import <file> hangs SheldonPlankton Linux - Software 2 08-26-2004 03:42 PM


All times are GMT -5. The time now is 02:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration