Software updater hangs after about 80%

Richard Kimber richardkimber at politicsresources.net
Tue Jul 3 09:28:34 UTC 2018


On Mon, 2 Jul 2018 22:12:52 +0200
Ralf Mardorf <silver.bullet at zoho.com> wrote:

> On Mon, 2 Jul 2018 19:01:01 +0200, Liam Proven wrote:
> >On Mon, 2 Jul 2018 at 18:49, Richard Kimber wrote:  
> >> sudo apt install -f complained that
> >> it could not get an exclusive lock.    
> >
> >So there's still an operation running.  
> 
> Not necessarily...
> 
> >> I tried killing the other process, but it remains in the list.  
> 
> ...what ever signal is send to end the process, if something went
> wrong in the first place, it could happen that the lock file isn't
> removed.
> 
> I tend to be reckless with removing lock files manually, wimps or
> users without backups should check if a lock file is really unused,
> before removing it.
> 
> https://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process
> https://askubuntu.com/questions/157196/unable-to-use-package-manager-due-to-exclusive-lock-error

Thanks. I looked for apt processes, as one of your references suggested,
and killed that. The software updater then ran and said it was checking
for updates, but stopped at the point where it said "running post
installation trigger linux-image-4.15.0-24-generic"

- Richard
-- 
Richard Kimber





More information about the ubuntu-users mailing list