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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...