help with adept_manager lock

Goh Lip g.lip at gmx.com
Wed May 13 06:42:19 UTC 2009


Patricia Wilson wrote:

> On Tue, May 12, 2009 at 9:42 PM, Goh Lip <g.lip at gmx.com> wrote:
> 
>> Patricia Wilson wrote:
>> >
>> >      >     Patricia Wilson wrote:
>> >      >      > When I try to use adept_manager to do the upgrade to 9.04
>> >     I get
>> >      >     an error
>> >      >      > message -- Unable to get exclusive lock
>> >      >      > With detail --
>> >      >      > This usually means that another package management
>> >     application (like
>> >      >      > apt-get or aptitude) already running. Please close that
>> >      >     application first.
>> >      >      >
>> >      >      > I had the system go down during a prior attempt to do the
>> >     upgrade and
>> >      >      > suspect that there may be a lock file somewhere that
>> >     didn't get
>> >      >     cleaned
>> >      >      > up. Can anyone help me find that/those  lockfile(s)?
>> >      >      >
>> >      >      >
>> >      >
>> >      >     Try
>> >      >
>> >      >     sudo dpkg --configure -a
>> >      >
>> >      >     or
>> >      >
>> >      >     sudo apt-get install -f
>> >      >
>> >
>> >
>> >      > I tried both and am still getting the same error.
>> >
>> >     Have you exited Adept or Synaptic or whatever when you do this?
>> >
>> >     Note: please bottom post,(meaning write your reply below the
>> >     quotes).
>> I
>> >     have to rearrange your messages so others can get some sense of the
>> >     messages.
>> >
>> > Yes, I just tried running both after a reboot and I still get the lock
>> > error from adept_manager. I am running adept_manager from the command
>> > line and get a lot of messages in  the terminal window but none seem
>> > relevant to this issue. Also, I am running from gnome not KDE.
>>
>> Thanks for bottom posting.
>> When I mentioned exit from Adept or Synaptic, it means don't use the
>> program, close, quit or whatever term you can understand. Don't use
>> adept_manager. Close, quit, exit. Then, on a terminal, console or bash,
>> type "sudo dpkg --configure -a" or "sudo apt-get install -f"  without
>> the quotation marks.
>>
>> If you are using Gnome, why are you using Adept?
>>
>>
> 
>>
>> Good question. I was following the instructions at
> https://help.ubuntu.com/community/JauntyUpgrades/Kubuntu/8.04.
>  Here is what I did from a fresh terminal (in a KDE session) after a
>  reboot:
> 
> Leothon/home/pwilson> sudo dpkg --configure -a
> Leothon/home/pwilson> sudo apt-get install -f
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Leothon/home/pwilson>
> 
> Then I opened adept_manager from the KDE menu and selected Fetch Updates.
> Then when it appeared I selected Version Upgrade. Then after going through
> a few forms I get the Unable to get exclusive lock error.
> 
> I very much appreciate the time you are taking with this and I hope I am
> understanding you correctly.
> 


Good. " 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." is 
good. WITHOUT opening adept OR Synaptic, at the terminal, type in
sudo apt-get update

When done...., type in 
sudo apt-get upgrade

I am not sure running Adept in Gnome affects anything. Most of here don't do 
this. In fact, some here prefer Synaptic to Adept when using KDE. And 
Kpackage still has some problems. Most here prefer aptitude.
Well... whatever works.

Regards,
Goh Lip

It doesn't matter if the cat is black or white,
As long as it catches mice.
           -  -Deng XiaoPing









More information about the kubuntu-users mailing list