[Bug 973747] [NEW] apport hook gzips apt-clone_system_state two times

Brian Murray brian at ubuntu.com
Wed Apr 4 20:44:40 UTC 2012


Public bug reported:

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

** Affects: update-manager (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: update-manager (Ubuntu Oneiric)
     Importance: Medium
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Also affects: update-manager (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

** Changed in: update-manager (Ubuntu Oneiric)
       Status: New => In Progress

** Changed in: update-manager (Ubuntu Oneiric)
   Importance: Undecided => Medium

** Changed in: update-manager (Ubuntu Oneiric)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: update-manager (Ubuntu)
       Status: New => Fix Released

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  apport hook gzips apt-clone_system_state two times

Status in “update-manager” package in Ubuntu:
  Fix Released
Status in “update-manager” source package in Oneiric:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/973747/+subscriptions




More information about the foundations-bugs mailing list