Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apt/cache.py", line 72, in __enter__ return self._lock.__enter__() apt_pkg.Error: E:Could not get lock /var/cache/apt/archives/lock. It is held by process 26973 (apt-get) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 2522, in sys.exit(main(options)) File "/usr/bin/unattended-upgrade", line 1993, in main res = run(options, rootdir, mem_log, logfile_dpkg, File "/usr/bin/unattended-upgrade", line 2412, in run pkgs_kept_installed) = do_auto_remove( File "/usr/bin/unattended-upgrade", line 1883, in do_auto_remove res, error = cache_commit(cache, logfile_dpkg, verbose) File "/usr/bin/unattended-upgrade", line 871, in cache_commit res = cache.commit(install_progress=iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 657, in commit with self._archive_lock: File "/usr/lib/python3/dist-packages/apt/cache.py", line 74, in __enter__ raise LockFailedException(("Failed to lock directory %s: %s") % apt.cache.LockFailedException: Failed to lock directory /var/cache/apt/archives/: E:Could not get lock /var/cache/apt/archives/lock. It is held by process 26973 (apt-get)