apt:package-name?minver= syntax doesn't work for installed items

Bug #678050 reported by Greg A
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Ubuntu Software Center 3.0.6, Ubuntu 10.10
software-center-gtk3 trunk 2114, Ubuntu Ocelot

1. Go to this URL: apt:epiphany?minver=123
1. Go to this URL: apt:firefox?minver=123

What happens:
1. Ubuntu Software Center opens to the screen for Epiphany, and says "Version 123 or later not available".
2. USC navigates to the screen for Firefox, and doesn't mention the version number at all.

What should happen: In both cases, it should say "Sorry, version {minver} isn’t available in your current software sources."

Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Greg! Thanks for the bug report. This is currently implemented in maverick as follows:
- if the pkg is not installed and the available version >= minver, then no visible message is displayed.
- if the pkg is not installed and the available version < minver, then a message is displayed in the pkgstatus bar.
- if the pkg is installed, then in all cases no message is displayed as we already have text in the pkgstatus bar (installed 21/10/2033) and we have a version tag which displays the installed version slightly further down the screen.
It would be great if you could explain in a bit more detail what you were expecting to happen in each (or one) of these cases. Thanks a lot for you help!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Greg A (etulfetulf) wrote :

My apologies, I only had only tested this on packages I had already installed.

However I think if the package is already installed then a message should be displayed regardless. I think this is what the specification says also.

I'm not sure what the anticipated use cases for the ?minver syntax is but I imagine the scenario of someone in the forums or Ask Ubuntu saying, "The newer versions of Banshee have that feature" with a ?minver link. I think it should be made to stand out on the resulting software centre screen that the version is not the one requested - whether the software be installed or not.

So when the package is already installed I would advocate either a second "bar" or for the single one to read "Installed on 2010-10-28, Version 0.7 or later not available".

Changed in software-center (Ubuntu):
status: Incomplete → New
Robert Roth (evfool)
Changed in software-center (Ubuntu):
importance: Undecided → Wishlist
description: updated
description: updated
Changed in software-center (Ubuntu):
importance: Wishlist → Low
status: New → Triaged
summary: - support for "apt:package-name?minver=1.0" syntax
+ apt:package-name?minver= syntax doesn't work for installed items
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.