[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm questions
- From: Jack Bowling <jbinpg shaw ca>
- To: redhat-list redhat com
- Subject: Re: rpm questions
- Date: Sat Mar 1 01:36:20 2003
** Reply to message from Ralf Corsepius <corsepiu faw uni-ulm de> on Sat, 01 Mar 2003 06:06:19 +0100
> 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.
There might also be an apt-get lock itself from a previous instantiation, so get rid of it:
rm -f /var/cache/apt/archives/lock
jb
--
Jack Bowling
mailto: jbinpg shaw ca
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]