[Bug 1737442] Re: /usr/bin/unattended-upgrade:apt_pkg.Error:/usr/bin/unattended-upgrade at 1706:main:__init__:__init__:open

Balint Reczey balint.reczey at canonical.com
Sun Dec 10 23:06:28 UTC 2017


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.

** Changed in: unattended-upgrades (Ubuntu)
       Status: New => In Progress

** Changed in: unattended-upgrades (Ubuntu)
     Assignee: (unassigned) => Balint Reczey (rbalint)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1737442

Title:
  /usr/bin/unattended-upgrade:apt_pkg.Error:/usr/bin/unattended-
  upgrade at 1706:main:__init__:__init__:open

Status in unattended-upgrades package in Ubuntu:
  In Progress

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades.  This problem was most recently seen with package version 0.98ubuntu1, the problem page at https://errors.ubuntu.com/problem/933de54e4841d617eb5c73ab02bb2d3be522a6ff contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1737442/+subscriptions



More information about the foundations-bugs mailing list