Update Locks Package Handling
Goh Lip
g.lip at gmx.com
Thu Jan 13 01:11:38 UTC 2011
On Thu, 13 Jan 2011 04:21:45 +0800, Billie Walsh <bilwalsh at swbell.net>
wrote:
> On 01/12/2011 01:48 PM, Goh Lip wrote:
>> Then it's not the apt cache lock but the dpkg lock.
>> However, I'll be careful to do the recommended method per
>> http://askubuntu.com/questions/15433/fixing-could-not-get-lock-var-lib-dpkg-lock
>> I'd rather try the following first .....
>>
>> sudo dpkg --configure -a
>> sudo apt-get -f install
>
> When you do the first of those commands it hangs on the grub configure.
> Never finishes. I left it for a whole day and it just sat there.
>
Okay, understand.
Start with.....
sudo grub-install /dev/sda (assuming it's sda)
If in error, you may have to use '-f' (force)
sudo apt-get install -f grub-pc
then.....
sudo apt-get -f install
sudo dpkg --configure -a
Hope this is better, if still not okay proceed to....
http://askubuntu.com/questions/15433/fixing-could-not-get-lock-var-lib-dpkg-lock
Good luck again. - Goh Lip
ps: I assume you're on grub2 and have not removed it and use grub-legacy
instead.
--
More information about the kubuntu-users
mailing list