apport hook gzips apt-clone_system_state two times

Bug #973747 reported by Brian Murray
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Unassigned
Oneiric
Fix Released
Medium
Brian Murray

Bug Description

The apport hook for update-manager in oneiric gzips the attachment apt-clone_system_state two times so when you are working with those attachments you end up having to do the following:

gunzip VarLogDistupgradeAptclonesystemstatetargz.gz.
mv VarLogDistupgradeAptclonesystemstatetargz VarLogDistupgradeAptclonesystemstate.tar.gz
tar xfvz VarLogDistupgradeAptclonesystemstate.tar.gz

and that depends on you knowing that the log file is gzipped two times.

Test Case:
1) execute 'APPORT_LAUNCHPAD_INSTANCE=staging.launchpad.net ubuntu-bug update-manager'
2) say yes to the distribution upgrade question
3) report the bug in launchpad
4) download the apt-clone attachment
5) gunzip it
6) using file determine that it is still a gzip file

7) install the proposed version of update-manager
8) repeat steps 1-5
9) observe that file says the file is a tar file now

Revision history for this message
Brian Murray (brian-murray) wrote :

This has already been fixed in precise:

update-manager (1:0.156.2) precise; urgency=low

  [ Michael Vogt ]
  * DistUpgrade/removal_blacklist.cfg:
    - add unity, unity-2d

  [ Brian Murray ]
  * debian/source_update-manager.py: use attach_file for dist-upgrade log
    files rather than attach_root_command_outputs resolving the double gzipped
    apt clone attachment issue

Changed in update-manager (Ubuntu Oneiric):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
Changed in update-manager (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
C de-Avillez (hggdh2) wrote :

Tested on Oneiric; confirm fixed. Tagging verification-done

tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.152.25.9

---------------
update-manager (1:0.152.25.9) oneiric-proposed; urgency=low

  * In the apport package hook continue if unable to import gconf data
    (LP: #880704)
  * In the apport package hook do not gzip the apt-clone attachment two times
    (LP: #973747)
  * check-new-release-gtk:
    - ensure to write a integer when calculating the next time that
      the release available window will be presented (LP: #873424)
    - hide redundant release-notes button (LP: #873432)
  * check-new-release-gtk:
    - write the time to check the new release to the update-notifier schema
      not the update-manager one (LP: #873424)
 -- Brian Murray <email address hidden> Wed, 04 Apr 2012 13:04:28 -0700

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.