** Description changed:

  Binary package hint: software-center
  
  If the apt history gzip archives contained in /var/log/apt/ are corrupted, 
then Software-Center crash at launch.
  I attached the corrupted archive that triggered the bug on my laptop.
  
  ---
  
- Test case (for Maverick SRU):
+ TEST CASE (for Maverick SRU):
  
  1. Run Maverick.
  2. In a terminal, type the following commands to temporarily swap in a 
corrupted apt history file (the original will be restored after):
  
    wget 
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/725186/+attachment/1871475/+files/history.log.5.gz
    sudo mv /var/log/apt/history.log.1.gz /var/log/apt/history.log.1.gz.SAVE
    sudo cp history.log.5.gz /var/log/apt/history.log.1.gz
  
  3. Launch Software Center by typing the following into a terminal (this
  will allow you to verify the error output):
  
    software-center
  
  4. Verify that software-center crashes (does not start) and the error
  output in the terminal ends with:
  
    "zlib.error: Error -3 while decompressing: invalid distance too far
  back"
  
  5. Install the updated version of Software Center (3.0.9) from 
maverick-proposed.
  6. Launch Software Center again from the terminal (or directly) and verify 
that Software Center now launches correctly (the main window is displayed, 
etc.).
  7. Type the following in a terminal to restore your previous apt history log:
  
    sudo mv /var/log/apt/history.log.1.gz.SAVE
  /var/log/apt/history.log.1.gz

** Description changed:

  Binary package hint: software-center
  
  If the apt history gzip archives contained in /var/log/apt/ are corrupted, 
then Software-Center crash at launch.
  I attached the corrupted archive that triggered the bug on my laptop.
  
  ---
- 
  TEST CASE (for Maverick SRU):
  
  1. Run Maverick.
  2. In a terminal, type the following commands to temporarily swap in a 
corrupted apt history file (the original will be restored after):
  
    wget 
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/725186/+attachment/1871475/+files/history.log.5.gz
    sudo mv /var/log/apt/history.log.1.gz /var/log/apt/history.log.1.gz.SAVE
    sudo cp history.log.5.gz /var/log/apt/history.log.1.gz
  
  3. Launch Software Center by typing the following into a terminal (this
  will allow you to verify the error output):
  
    software-center
  
  4. Verify that software-center crashes (does not start) and the error
  output in the terminal ends with:
  
    "zlib.error: Error -3 while decompressing: invalid distance too far
  back"
  
  5. Install the updated version of Software Center (3.0.9) from 
maverick-proposed.
  6. Launch Software Center again from the terminal (or directly) and verify 
that Software Center now launches correctly (the main window is displayed, 
etc.).
  7. Type the following in a terminal to restore your previous apt history log:
  
    sudo mv /var/log/apt/history.log.1.gz.SAVE
  /var/log/apt/history.log.1.gz

** Changed in: software-center (Ubuntu Maverick)
    Milestone: None => maverick-updates

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

Title:
  Software-Center crash at launch if apt-history gzip archives are
  corrupted

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

Reply via email to