LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm without import options. (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-without-import-options-4175472590/)

sleepy_11 08-08-2013 01:55 AM

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


dob12460 08-08-2013 02:53 AM

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

druuna 08-08-2013 02:59 AM

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....

sleepy_11 08-08-2013 03:06 AM

Thanks dob12460 and druuna reminding. I will try a newer version.


All times are GMT -5. The time now is 11:31 AM.