Am Sam, 2003-03-01 um 00.06 schrieb CM Miller:
> Is anyone using apt-get for rpms in RH 8.0? 
I do.

> Whenever I issue the following command, I get a
> strange error: 
> 
> apt-get install foo 
> 
> warning: cannot get exclusive lock on
> /var/lib/rpm/Packages
> What does this mean?  All of these directories do
> exist. 

This means that something else but apt-rpm has locked your rpm database.

This typically indicates that
(a) there might be another process running accessing your rpm database
in parallel to apt-rpm
(b) you have a stale file lock on your rpm database.
(c) you are trying to run "apt-rpm install" without root privileges.

In case of 
(a) Terminate all other processes trying access your rpm database in
parallel to apt-rpm 
(b) Remove rpm's lock files (rm /var/lib/rpm/__db*) and rerun apt-rpm.
This typically happens after having interrupted rpm or apt by "Ctrl C".
(c) Become root.

Ralf




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to