Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gnome-software gnome-software
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-softwaregnome-software
  • Issues
  • #876
Closed
Open
Issue created Dec 20, 2019 by Luit van Drongelen@Luit

Upgrades erroneously marked as downgrades

I've seen gnome-software list upgrades as downgrades multiple times, as far as I can remember always of this form:

image

The old version has a debian_revision with two numeric parts, and the new has just one. Because of this it seems it sees the new version as a lower version than the old, and calls it a downgrade. Neither apt nor appstreamcli compare-versions call this a downgrade.

I've found cb81a293 pointing to an earlier issue with version sorting.

I'm running Debian bullseye, I have gnome-software version 3.30.6-5+b1, and libappstream-glib8 version 0.7.16-1. I do however see the Debian package requires libappstream-glib8 (>= 0.7.10). That could possibly mean it's built with a version without as_utils_vercmp_full, which could explain this behavior.

Assignee
Assign to
Time tracking