2012-01-25 12:49:56 |
Michael Nelson |
description |
software-center-gtk3 trunk r2212, Ubuntu Ocelot
1. In Ubuntu 11.04 or earlier, purchase an item in USC that isn't available for Ocelot.
2. Do a clean install of Ocelot.
3. Launch USC.
4. Choose "File" > "Reinstall Previous Purchases".
5. Select the item.
6. Choose "Install".
What happens:
* Nothing visible.
* At the terminal:
------------
2011-08-25 19:03:22,074 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Package does not exist
Check the spelling of the package name, and that the appropriate repository is enabled.
Package [dbus.String(u'vendetta-online')] isn't available'
2011-08-25 19:03:22,417 - softwarecenter.backend - WARNING - _on_trans_error: Transaction failed: None
Package [dbus.String(u'vendetta-online')] isn't available
------------
What should happen: I hadn't specified this at all. But probably something like:
4. Any item that isn't available in this version of Ubuntu has a No symbol overlaid on the bottom left of its icon.
5. The "Install" button isn't present.
6. Clicking "More Info" takes you to a software item screen explaining that the item is not available for this version of Ubuntu, and that you should contact the vendor for an updated version.
#5 alone would be a minimal fix. |
software-center-gtk3 trunk r2212, Ubuntu Ocelot
1. In Ubuntu 11.04 or earlier, purchase an item in USC that isn't available for Ocelot.
2. Do a clean install of Ocelot.
3. Launch USC.
4. Choose "File" > "Reinstall Previous Purchases".
5. Select the item.
6. Choose "Install".
What happens:
* Nothing visible.
* At the terminal:
------------
2011-08-25 19:03:22,074 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Package does not exist
Check the spelling of the package name, and that the appropriate repository is enabled.
Package [dbus.String(u'vendetta-online')] isn't available'
2011-08-25 19:03:22,417 - softwarecenter.backend - WARNING - _on_trans_error: Transaction failed: None
Package [dbus.String(u'vendetta-online')] isn't available
------------
What should happen: I hadn't specified this at all. But probably something like:
4. Any item that isn't available in this version of Ubuntu has a No symbol overlaid on the bottom left of its icon.
5. The "Install" button isn't present.
6. Clicking "More Info" takes you to a software item screen explaining that the item is not available for this version of Ubuntu, and that you should contact the vendor for an updated version.
#5 alone would be a minimal fix.
Notes for QA:
=============
See comment 1 for details of what happened when I originally tried to reproduce this in precice.
Until the corresponding fix for SCA is rolled out (bug 917109 - or until you test the client pointing to a different SCA instance supporting the fix), this branch should ensure that USC *won't* install the app from the incorrect distroseries - instead it will add a deb-line for precise and apt will fail if the package doesn't exist:
1) Purchase some apps on an oneiric system
2) On a precise system, click on Reinstall previous purchases
3) Click on more-info for an app
4) Click Install - verify that USC created the debline in your sources for precise, but the app will fail to install (unless it really exists in the given PPA for precise)
Once the fix for SCA is available, USC will not let the user click install if the app is not available for their current distroseries:
1-3) as above
4) Verify that there is no 'Install' button, and the package status line tells you that it is not available for the current Ubuntu version and to contact the vendor. |
|