[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM error : Can't create transaction lock on /



I set the _rpmlock_path in /usr/lib/rpm/macros to /var/lock/rpm and tried again. Works now.
 
# rpm -ivh mysql-devel-5.0.22-2.1.i386.rpm
warning: mysql-devel-5.0.22-2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:mysql-devel            ########################################### [100%]
#
 
Many thanks to everyone who helped me in overcoming this problem.
 
Thanks,
Bala

 
On 5/30/07, Bala <balaknathan gmail com> wrote:
No, I haven't modified this file yet.
 
# rpm -E '%{_rpmlock_path}'
%{_rpmlock_path}
#
 
Looks like this is not defined in the /usr/lib/rpm/macros. What should be the default path be ? /var/lock/rpm or /var/lock/rpm/transaction ?
 
Bala

 
On 5/30/07, Paul Nasrat <pnasrat redhat com > wrote:
On Wed, 2007-05-30 at 00:32 -0700, Valery Reznic wrote:
> Noone, root included can
> open("/", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1
> EISDIR (Is a directory)
>
> But I have no idea how fix it :(

/ shouldn't be the transaction lock - can you do

rpm -E '%{_rpmlock_path}'

This should be defined in /usr/lib/rpm/macros - have you modified this
file?

Paul

_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]