Shipped apport hook contains diff lines

Bug #1804709 reported by Dan Watkins on 2018-11-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)

Bug Description

As you can see here:

$ head -n3 /usr/share/apport/package-hooks/ ubuntu/devel [ 17:38:44 ]
'''Apport package hook for gnome-screensaver

This means that I can't report bugs (including this one!) using ubuntu-bug, because I get this:

ERROR: hook /usr/share/apport/package-hooks/ crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/", line 203, in _run_hook
    exec(compile(, hook, 'exec'), symb)
  File "/usr/share/apport/package-hooks/", line 1
SyntaxError: invalid syntax

Adolfo Jayme (fitojb) on 2018-11-22
tags: added: packaging
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, screensaver != screenshot, I'm reassigning to the right component.

That was reported before and fixed in Debian, it now needs to be merged to Ubuntu

affects: gnome-screenshot (Ubuntu) → gnome-screensaver (Ubuntu)
Changed in gnome-screensaver (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screensaver - 3.6.1-8ubuntu3.2

gnome-screensaver (3.6.1-8ubuntu3.2) eoan; urgency=medium

  * debian/
    - backport a fix from Debian for a merge error (lp: #1804709)
    - use python3 (lp: #1804710)
  * debian/patches/03_fix_ltsp-fading.patch:
    - fix an invalid return call leading to a build error

 -- Sebastien Bacher <email address hidden> Mon, 19 Aug 2019 17:31:01 +0200

Changed in gnome-screensaver (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers