Sebastian, fair enough, thanks. I've separated the confirmation alert
from the PolicyKit alert in the design, and specified that it should
block any software installation. Would you be able to move the
confirmation alert out of USC into Aptdaemon and update the design?

** Description changed:

  Ubuntu Software Center 2.1.18, Ubuntu Maverick
- Ubuntu Software Center 3.0.5, Ubuntu 10.10
+ Ubuntu Software Center 5.4.1.2, Ubuntu 12.10
  
  Based on test case sc-017
  <https://wiki.ubuntu.com/SoftwareCenter#broken>:
  
  1. sudo apt-get install 4g8 && sudo dpkg --force-depends -r libnet1
  2. Launch Ubuntu Software Center.
  
  (When finished testing, reset if necessary with "sudo apt-get remove 4g8
  libnet1".)
  
- What happens:
- 2. An alert appears, "Items cannot be installed or removed until the package 
catalog is repaired. Do you want to repair it now?" "Once Update Manager has 
finished the repairs, you can close it and return to the store."
+ What happens:. An alert appears, "Items cannot be installed or removed
+ until the package catalog is repaired. Do you want to repair it now?"
+ "Once Update Manager has finished the repairs, you can close it and
+ return to the store." (Or in later versions, "the Software Center"
+ [sic]).
  
- What should happen:
- 2. USC should launch as normal, but there should be a /!\ icon next to 
“Installed Software”. Clicking the icon should produce a PolicyKit alert: "Some 
software is not installed correctly, and may not run properly. You need to 
authenticate to repair the installation."
- 
- That text could be in a separate alert from the authentication alert,
- but that would result in two alerts in a row, which is unpleasant.
- 
- So, unless there is a good reason that you would *not* want to fix the
- apt cache (and therefore a reason we shouldn't take advantage of cached
- PolicyKit privileges to do it), the alert that presents that message
- should be the actual PolicyKit alert. That way we get one alert rather
- than two.
- 
- That in turn means that there would need to be a specific aptdaemon
- PolicyKit privilege for this task.
- 
- Fixing this bug would fix bug 927426 too.
+ What should happen: "If software can’t be installed because existing
+ software has broken or unsatisfied dependencies, a confirmation alert
+ should appear. It should have primary text 'New software can’t be
+ installed, because there is a problem with the software currently
+ installed. Do you want to repair this problem now?'"
+ <https://wiki.ubuntu.com/SoftwarePackageOperations#broken>

** Changed in: software-center (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: software-center (Ubuntu)
     Assignee: Matthew Paul Thomas (mpt) => (unassigned)

** Description changed:

  Ubuntu Software Center 2.1.18, Ubuntu Maverick
  Ubuntu Software Center 5.4.1.2, Ubuntu 12.10
  
- Based on test case sc-017
- <https://wiki.ubuntu.com/SoftwareCenter#broken>:
+ Based on test case
+ <https://wiki.ubuntu.com/SoftwarePackageOperations#broken>:
  
  1. sudo apt-get install 4g8 && sudo dpkg --force-depends -r libnet1
  2. Launch Ubuntu Software Center.
  
  (When finished testing, reset if necessary with "sudo apt-get remove 4g8
  libnet1".)
  
- What happens:. An alert appears, "Items cannot be installed or removed
+ What happens: An alert appears, "Items cannot be installed or removed
  until the package catalog is repaired. Do you want to repair it now?"
  "Once Update Manager has finished the repairs, you can close it and
  return to the store." (Or in later versions, "the Software Center"
  [sic]).
  
  What should happen: "If software can’t be installed because existing
  software has broken or unsatisfied dependencies, a confirmation alert
  should appear. It should have primary text 'New software can’t be
  installed, because there is a problem with the software currently
  installed. Do you want to repair this problem now?'"
- <https://wiki.ubuntu.com/SoftwarePackageOperations#broken>

** Summary changed:

- Broken apt cache error message is out of date
+ Inconsistent package state error message is misleading

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/635101

Title:
  Inconsistent package state error message is misleading

Status in Aptdaemon:
  Confirmed
Status in “software-center” package in Ubuntu:
  Triaged

Bug description:
  Ubuntu Software Center 2.1.18, Ubuntu Maverick
  Ubuntu Software Center 5.4.1.2, Ubuntu 12.10

  Based on test case
  <https://wiki.ubuntu.com/SoftwarePackageOperations#broken>:

  1. sudo apt-get install 4g8 && sudo dpkg --force-depends -r libnet1
  2. Launch Ubuntu Software Center.

  (When finished testing, reset if necessary with "sudo apt-get remove
  4g8 libnet1".)

  What happens: An alert appears, "Items cannot be installed or removed
  until the package catalog is repaired. Do you want to repair it now?"
  "Once Update Manager has finished the repairs, you can close it and
  return to the store." (Or in later versions, "the Software Center"
  [sic]).

  What should happen: "If software can’t be installed because existing
  software has broken or unsatisfied dependencies, a confirmation alert
  should appear. It should have primary text 'New software can’t be
  installed, because there is a problem with the software currently
  installed. Do you want to repair this problem now?'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/635101/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to