[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm questions
- From: Ralf Corsepius <corsepiu faw uni-ulm de>
- To: redhat-list redhat com
- Subject: Re: rpm questions
- Date: Sat Mar 1 00:07:17 2003
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]