Re: Aptitude has locking problem on cache file -- cannot upgrade to latest sarge.
On Thursday 13 January 2005 07:45, Hendrik Boom wrote:
> Yesterday (2004 jan 12) , when I tried to upgrade to the latest sarge,
> it spend a marry 23 minutes downloading all the changes, but when I got
> around to telling it to go ahead and install, all it did was give me the
> message
> Apt errers
> W: Warning: could not lock the cache file. Opening in read-only mode
>
> I press return to say "OK" (though everything ie evidently not OK), and
> it doesn't do any installations or upgrades.
>
> How do I get out of this wedged state?
>
> -- hendrik
I get this same exact behavior when I run two instances of aptitude by
mistake. Basically, one package manager can lock the cache file at a time.
Quit one of them, and the other will then work properly.
Justin Guerin
Reply to: