Various temporary problems with package lists can make u-u crash (typically in --download-only mode), but those can be handled printing an error and exiting.
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1706, in <module>
main(options)
File "/usr/bin/unattended-upgrade", line 1394, in main
allowed_origins=allowed_origins)
File "/usr/bin/unattended-upgrade", line 119, in __init__
apt.Cache.__init__(self, rootdir=rootdir)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 113, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 164, in open
self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_artful_universe_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.
Various temporary problems with package lists can make u-u crash (typically in --download-only mode), but those can be handled printing an error and exiting.
Traceback (most recent call last): unattended- upgrade" , line 1706, in <module> unattended- upgrade" , line 1394, in main origins= allowed_ origins) unattended- upgrade" , line 119, in __init__ Cache._ _init__ (self, rootdir=rootdir) python3/ dist-packages/ apt/cache. py", line 113, in __init__ open(progress) python3/ dist-packages/ apt/cache. py", line 164, in open Cache(progress) apt/lists/ cn.archive. ubuntu. com_ubuntu_ dists_artful_ universe_ i18n_Translatio n-en, E:The package lists or status file could not be parsed or opened.
File "/usr/bin/
main(options)
File "/usr/bin/
allowed_
File "/usr/bin/
apt.
File "/usr/lib/
self.
File "/usr/lib/
self._cache = apt_pkg.
apt_pkg.Error: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/