Solved

Linux : can't create transaction lock error

Posted on 2016-07-25
1
57 Views
Last Modified: 2016-07-27
below bkp user part of root usergroup.

please advice fix

$ id
uid=1102(bkp) gid=0(root) groups=0(root)
[testbkp@srv ~]$ ll
-rwxr-xr-x 1 bkp oinstall 74050510 Jul 25 12:30 AvamarClient-linux-rhel4-x86_64-7.1.100-370.rpm

[testbkp@srv ~]$ rpm -Uvh AvamarClient-linux-rhel4-x86_64-7.1.100-370.rpm
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[testbkp@srv ~]$

advice how to fix thiis
0
Comment
Question by:mac_g
1 Comment
 
LVL 29

Accepted Solution

by:
Sudeep Sharma earned 500 total points
ID: 41727576
  1. You should use sudo to install the software.
[list=2]
on lock file only root user has the permission hence other users and group won't be able to write to it.[/list]
Sudeep
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LINUX CENTOS + APACHE 9 60
php ssh2_scp_send 1 46
How can you tell your public IP address without a browser? 9 50
su - oracle could not open session 6 47
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now