If think this is the faulty code of apport in data/general-hooks/ubuntu.py
        if report['Package'] != 'initramfs-tools':
            # update-initramfs emits this when it fails, usually invoked from 
the linux-image postinst
            # https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors
            if 'DpkgTerminalLog' in report and re.search(r'^update-initramfs: 
failed for ', report['DpkgTerminalLog'], re.MULTILINE):
                # File these reports on the initramfs-tools package instead
                report['SourcePackage'] = 'initramfs-tools'

The regex is applied to the full term.log, not only the last
installation session, and thus it catches a previous failure, not the
one triggering the report.

** Changed in: apport (Ubuntu)
       Status: Confirmed => Triaged

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

Title:
  apport used wrong source package when filing package installation
  failure

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to