apt database locked

Howard Coles Jr. dhcolesj at gmail.com
Thu Oct 12 18:38:51 BST 2006


On Thursday 12 October 2006 12:46 pm, Grumpy_Penguin wrote:
> On Thursday 12 October 2006 09:50 am, D. R. Evans wrote:
> > About an hour ago, I tried to upgrade to KDE 3.5.5. Big mistake.
> >
> > 94 of 95 packages installed OK. That leaves me with the adept icon in
> > my systray saying that there is 1 update available,
> >
> > But when I click on the icon and enter my password, I get:
> >
> > -----
> >
> > Another process is using the packaging system database (probably some
> > other Adept application or apt-get or aptitude). Please close the
> > other application before using this one.
> >
> > -----
> >
> > I have logged out and restarted KDE.
> >
> > I have even rebooted.
> >
> > But still I keep getting this message. I imagine that it means that
> > somewhere a lock file has been created and somehow did not get
> > deleted, presumably because one package did not download properly --
> > but I have no idea which lock file it might be, so I can remove it
> > manually.
> >
> > Any ideas anyone?
>
> I had the same problem I had to shut down completely than restart to get
> rid of it [not elegant, but sometimes a big hammer is your only option]
>
> --
> Diplomacy is the art of saying "Nice Doggy" While you look for a rock..Will
> Rodgers

Actually all either of you had to do was go to /var/cache/apt/archives and 
delete the file "lock"

Then restart your apt front-end of choice, and all should be well.

-- 
See Ya'
Howard Coles Jr.
John 3:16!

http://risenbooks.com Christian bookstore



More information about the kubuntu-users mailing list