Archive

warning during installation

Explorer

while installing splunk (64-bit version) via rpm, i got the following warning:

warning: splunk-4.3.4-136012-linux-2.6-x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 653fb112: NOKEY

is this something to be concerned about?

Tags (1)

Path Finder

No.  Installing with "rpm -ivh xxx.rpm".  I have 8 VM and I have used over the past year unchanged that has worked repeatedly with this command and all of a suddent I got this.  Weird.  Anyway made it work with "rpm -ivh xxx.rpm --force".  Makes no sense why all of a sudden this is necessary.

0 Karma

Super Champion

are you using root user to install?

if not, the user got write permission to the /var/lib/?

 

Any ways, the meaning for "rpm -force" is... (you may be already aware of this, as you used this,.. i copy this info here for future readers).... 

--force: The Big Hammer

Adding --force to an install command is a way of saying "Install it anyway!" In essence, it adds --replacepkgs and --replacefiles to the command. Like a big hammer, --force is an irresistible force that makes things happen. In fact, the only thing that will prevent a --force'ed install from proceeding is a dependency conflict.

And like a big hammer, it pays to fully understand why you need to use --force before actually using it.

http://ftp.rpm.org/max-rpm/s1-rpm-install-additional-options.html#:~:text=The%20%2D%2Dreplacepkgs%20....

 

0 Karma

Path Finder

The above solution does not work for me.  It helps but still fails to initiate the install.  I get the following:

error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)

0 Karma

Super Champion

its about permissions.. with which user, you are trying to install? that user got write permission  to /var/lib/?

0 Karma

Splunk Employee
Splunk Employee

This is the PGP key for the Splunk version described above:
http://docs.splunk.com/Documentation/Splunk/4.3.4/Installation/PGPPublicKey,This is the PGP key for the Splunk version described above.
http://docs.splunk.com/Documentation/Splunk/4.3.4/Installation/PGPPublicKey

Communicator

Were you installing splunk via yum specifying localinstall? I've installed splunk numerous times, and haven't seen that happen when installing using rpm directly "rpm -ivh xxx.rpm"

I believe the warning just means that your install method couldn't find the PGP key to verify the package, but it should have installed anyway. To avoid the error you could either try to get the key from splunk and import, or force the install without a key by using: rpm -ivh --nosignature xxxx.rpm or yum --nogpgcheck localinstall xxxx.rpm