Installation

warning during installation

bob87
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)

mhouse3
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

inventsekar
Ultra 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

mhouse3
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

inventsekar
Ultra Champion

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

0 Karma

jhidalgo_splunk
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

briang67
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

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...