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

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



On Wed, 2007-05-30 at 13:26 +0530, Bala 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 ?

On RHEL 5 it's 
%_rpmlock_path  %{_dbpath}/__db.000

Sounds like your macro files are incorrect.

rpm -V rpm should tell you. You probably want to ensure you have the
package provided macros to ensure all other settings are correct.

Paul



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