Ubuntu 19.10 to 20.04 upgrade after dpkg lock

Otto Kekäläinen otto at seravo.fi
Sun Feb 9 17:44:05 UTC 2020


> kokoye2007 at ubuntu:~$ sudo apt-get update
> Reading package lists... Done
> E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2169
> (packagekitd) - open (11: Resource temporarily unavailable)
> N: Be aware that removing the lock file is not a solution and may break
> your system.
> E: Unable to lock directory /var/lib/apt/lists/
>
> few minuets later
> its normal state.

You can run 'ps faux' to view the list of running processes and see if
there is another dpkg process running and what started it. The lock
there is to prevent conflicting dpkg runs.

Most likely there was some apt cron job running a that time.



More information about the Ubuntu-quality mailing list