[Bug 1854772] Re: /var/lib/dpkg/status has faulty entries

Thomas Schweikle 1854772 at bugs.launchpad.net
Mon Dec 2 15:06:26 UTC 2019


** Attachment added: "faulty /var/lib/dpkg/status"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1854772/+attachment/5309330/+files/status

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

Title:
  /var/lib/dpkg/status has faulty entries

Status in apt package in Ubuntu:
  New

Bug description:
  Es wurden 1.109 kB in 0 s geholt (3.865 kB/s).
  Traceback (most recent call last):
    File "/usr/share/apt-listchanges/DebianFiles.py", line 117, in readfile
      self.stanzas += [ControlStanza(x) for x in f.read().split('\n\n') if x]
    File "/usr/share/apt-listchanges/DebianFiles.py", line 117, in <listcomp>
      self.stanzas += [ControlStanza(x) for x in f.read().split('\n\n') if x]
    File "/usr/share/apt-listchanges/DebianFiles.py", line 70, in __init__
      field, value = line.split(':', 1)
  ValueError: not enough values to unpack (expected 2, got 1)

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/usr/bin/apt-listchanges", line 280, in <module>
      main(config)
    File "/usr/bin/apt-listchanges", line 83, in main
      status.readfile('/var/lib/dpkg/status')
    File "/usr/share/apt-listchanges/DebianFiles.py", line 120, in readfile
      {'what': file, 'errmsg': str(ex)}) from ex
  RuntimeError: Fehler beim Verarbeiten von »/var/lib/dpkg/status«: not enough values to unpack (expected 2, got 1)
  (Lese Datenbank ... 376829 Dateien und Verzeichnisse sind derzeit installiert.)

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: apt 1.9.4
  ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
  Uname: Linux 5.3.0-23-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Mon Dec  2 16:00:56 2019
  InstallationDate: Installed on 2019-09-09 (83 days ago)
  InstallationMedia: Xubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1854772/+subscriptions



More information about the foundations-bugs mailing list