Bug 1501507

Summary: Software lists upgrades as downgrades
Product: [Fedora] Fedora Reporter: Sri Ramanujam <sricharan.ramanujam>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: gnome-sig, jfrieben, ngompa13, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-software-3.28.1-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-19 00:29:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
OS updates window with the erronously shown "downgrades" none

Description Sri Ramanujam 2017-10-12 16:52:16 UTC
Created attachment 1337911 [details]
OS updates window with the erronously shown "downgrades"

Description of problem:
GNOME software is showing me some software upgrades as downgrades.

Version-Release number of selected component (if applicable):


How reproducible:
It probably depends on the version numbers involved. I have a sneaking suspicion it has to do with C-style sorting, because right now I see 9->10 being listed as a downgrade. 


Steps to Reproduce:
1. Open GNOME
2. Go to updates
3. Click on OS Updates
4. Scroll to the bottom

Actual results:
If you're (un)lucky, you'll see some downgrades listed that, judging by the version numbers, should be upgrades.

Expected results:
All packages marked for upgrade should be in the upgrades column. 


Additional info:
See attachment for a clearer explanation than I could ever give in words.

Comment 1 Joachim Frieben 2017-11-22 08:44:40 UTC
Still an issue as of gnome-software-3.26.2-1.fc27.

Comment 2 Fedora Update System 2018-03-16 16:12:09 UTC
PackageKit-1.1.9-2.fc27 gnome-software-3.28.0-4.fc27 libappstream-glib-0.7.7-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164

Comment 3 Fedora Update System 2018-03-17 20:38:08 UTC
PackageKit-1.1.9-2.fc27, gnome-software-3.28.0-4.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164

Comment 4 Fedora Update System 2018-04-13 15:55:13 UTC
PackageKit-1.1.9-3.fc27 gnome-software-3.28.1-1.fc27 libappstream-glib-0.7.7-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164

Comment 5 Fedora Update System 2018-04-15 16:18:40 UTC
PackageKit-1.1.9-3.fc27, gnome-software-3.28.1-1.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164

Comment 6 Fedora Update System 2018-04-19 00:29:07 UTC
PackageKit-1.1.9-3.fc27, gnome-software-3.28.1-1.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.