** Changed in: apport (Ubuntu)
    Milestone: None => ubuntu-17.04

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1532548

Title:
  package python3-apport 2.14.1-0ubuntu3.18 failed to install/upgrade:
  Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie
  sollten es  nochmal installieren, bevor Sie die Konfiguration
  versuchen.

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Trusty:
  In Progress

Bug description:
  [Impact]
  ------
  The general Ubuntu apport hook can receive a Traceback if DpkgTerminalLog is 
empty. While its a minor issue it results in extra attachments being sent to 
Launchpad and should be sorted out.

  This was fixed in Xenial.

  [Test Case]
  -----------
  1) Install apport
  2) cd /usr/share/apport/general-hooks
  3) Run the following
  (trusty-amd64)root@impulse:/usr/share/apport/general-hooks# python3 
  Python 3.4.3 (default, Nov 17 2016, 01:08:31) 
  [GCC 4.8.4] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import apport
  >>> import ubuntu
  >>> report = apport.Report()
  >>> report['DpkgTerminalLog'] = ''
  >>> ubuntu.trim_dpkg_log(report)
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/share/apport/general-hooks/ubuntu.py", line 437, in trim_dpkg_log
      if isinstance(lines[0], str):
  IndexError: list index out of range

  With the version of apport from -proposed one will no longer receive a
  Traceback.

  [Regression Potential]
  None as we just return if lines is empty.

  ProblemType: PackageDistroRelease: Ubuntu 14.04
  Package: python3-apport 2.14.1-0ubuntu3.18
  ProcVersionSignature: Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30
  Uname: Linux 3.13.0-74-generic i686
  ApportLog:

  ApportVersion: 2.14.1-0ubuntu3.18
  Architecture: i386
  Date: Sun Jan 10 13:49:13 2016
  ErrorMessage: Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie 
sollten es  nochmal installieren, bevor Sie die Konfiguration versuchen.
  InstallationDate: Installed on 2012-02-02 (1437 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.5
   apt  1.0.1ubuntu2.10SourcePackage: apport
  Title: package python3-apport 2.14.1-0ubuntu3.18 failed to install/upgrade: 
Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten es  
nochmal installieren, bevor Sie die Konfiguration versuchen.
  UpgradeStatus: Upgraded to trusty on 2014-10-04 (462 days ago)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to