Error "can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)" when trying to run the rpm installer for TIBCO Spotfire Server

Error "can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)" when trying to run the rpm installer for TIBCO Spotfire Server

book

Article ID: KB0075472

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

While trying to run the rpm installer for the TIBCO Spotfire Server on Redhat Linux, we may see the following message:

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

Issue/Introduction

Error "can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)" when trying to run the rpm installer for Spotfire Server

Environment

Redhat Linux Operating System

Resolution

The reason for the permission denied error is that the RPM installers are required to be run with elevated permissions (SUDO). 

Here is a sample of how the command would look like:
sudo rpm -ivh <filename>.rpm
Please check with your Linux administrator to ensure the proper permissions are in place.

Additional Information

External: RPM installation having NO root access