Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apt/cache.py", line 434, in _get_archive_lock fetcher.get_lock(archive_dir) apt_pkg.Error: E:Could not get lock /target/var/cache/apt/archives/lock - open (11: Resource temporarily unavailable), E:Unable to lock directory /target/var/cache/apt/archives/ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/apt-clone", line 148, in args.source, args.destination, new_distro=args.new_distro_codename, protect_installed=protect_installed) File "/usr/lib/python3/dist-packages/apt_clone.py", line 501, in restore_state self._restore_package_selection(statefile, targetdir, protect_installed, exclude_pkgs) File "/usr/lib/python3/dist-packages/apt_clone.py", line 658, in _restore_package_selection cache.commit(self.fetch_progress, self.install_progress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 623, in commit self._get_archive_lock(fetcher) File "/usr/lib/python3/dist-packages/apt/cache.py", line 437, in _get_archive_lock " %s") % (archive_dir, e)) apt.cache.LockFailedException: Failed to lock archive directory /target/var/cache/apt/archives/: E:Could not get lock /target/var/cache/apt/archives/lock - open (11: Resource temporarily unavailable), E:Unable to lock directory /target/var/cache/apt/archives/