Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Restarting the Ubuntu system does not help. Any hints?
Another situation when this error can occur is when some other process or user is using apt tool to install, update or remove packages. In that case you can attempt to see which process is holding lock on /var/lib/dpkg/lock file by using: