update manager

James james2432 at gmail.com
Fri Feb 18 22:05:30 UTC 2011


Yeah I forgot to say that you have to make sure that you are positive apt or
dpkg aren't running in background, updating something also if you reboot try
to run "sudo apt-get install -f" to try to fix broken packages

a good place to look also is a "tail" of /var/lib/dpkg/status
will tell you the status of last packages

On Fri, Feb 18, 2011 at 3:47 PM, David Curtis <dave.c.curtis at gmail.com>wrote:

>
>
> On Fri, Feb 18, 2011 at 11:32 AM, Leslie Lewis <lesliel8 at gmail.com> wrote:
>
>> If a previous process that uses apt-get (Synaptic, Software Centre,
>> whatever) terminated abnormally there will be a lock file left behind that
>> keeps it from running again. it's been a while since I had that problem, so
>> I'm afraid i can' t  remember precisely where it is. I'm running Synaptic
>> just now to see where files called 'lock' have been put, and there's a
>> directory in /var called lock that seems to have just been created. If you
>> delete that it might help.
>>
>
> Whoa, hold on a sec, /var/lock is a traditional location for creating lock
> files for system device files. If you remove it you could possibly harm some
> essential parts of Ubuntu.
>
> Besides, the locations for lock files in regards to apt and dpkg are
> /var/cache/apt/archives/lock and /var/lib/dpkg/lock as James pointed out
> above.
>
> And really you should not be removing lock files unless you are absolutely
> sure there is no running process that is using the locked resource, the
> potential for harm is obvious, especially with the package database. You at
> least need to run ps or pgrep to see if an update is running in the
> background, which seems to me to be the most probable cause of the OP's
> issue. As Leigh suggested a reboot is good as unattended updates (security
> updates) are gracefully interrupted during shutdown.
>
> Dave
>
> --
> ubuntu-ca mailing list
> ubuntu-ca at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>
>


-- 
外に遊びに行こう!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20110218/de42aac8/attachment.html>


More information about the ubuntu-ca mailing list