linuxmint / mintupdate

The Linux Mint Update Manager
309 stars 152 forks source link

Updating flatpaks the "new version" column shows currently installed version number #786

Open phYnc12 opened 1 year ago

phYnc12 commented 1 year ago

mint update 5.9.6, when updating flatpaks the 'new version' column shows currently installed version number

mtwebster commented 1 year ago

Flatpaks will often update but not change their actual version - when this happens mintupdate should also show a commit 'hash' next to the versions to differentiate them: image

Is this what's happening in your case? Unfortunately this is just a normal characteristic of Flatpak packages.

If I get info on the Video Downloader app:

[09:31:06 AM] mtwebster@mintbox3:~> flatpak remote-info --system  flathub com.github.unrud.VideoDownloader
        ID: com.github.unrud.VideoDownloader
       Ref: app/com.github.unrud.VideoDownloader/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 19.6 MB
 Installed: 48.3 MB
   Runtime: org.gnome.Platform/x86_64/43
       Sdk: org.gnome.Sdk/x86_64/43

    Commit: 6f60816adb0eb36df851aba01e4b8c3049188dab24857ec14acdafcb16a07645
    Parent: e6d7c49ef12aee30831a20ec6a84c8fc2fb6e121f67bf70bf2bd650b4e7bee5e
   Subject: Update yt-dlp.tar.gz to 2023.01.06 (445bb281)
      Date: 2023-01-07 16:47:45 +0000

... you can see the Commit (most recent) and Parent (the previous commit) values match what mintupdate is displaying.

phYnc12 commented 1 year ago

Im afraid not, in this case calibre went from 6.10 to 6.11 which was why I particularly noticed it. I personally don't really mind just thought I'd raise it

mtwebster commented 1 year ago

Weird, I'll keep an eye out for that happening - unfortunately the way flatpaks are made, their actual version and other 'human-readable' info is kept entirely separate from the Flatpaks themselves. I suppose it's possible that this appdata was older than the Flatpak info, as we try to minimize network usage in mintupdate.

edit: If it happens again, can you try a manual refresh to see if that clears it up? (if you hadn't already tried this with the original occurrence).

Angedestenebres commented 1 year ago

Hey :cat:

I also noticed that with at least two applications : Freetube & Bitwarden, see screens below.

Capture d’écran du 2023-03-11 16-32-50 Capture d’écran du 2023-03-11 16-33-18

For Signal, there are a lot of updates so I'm not sure that the issue is on Mint side ;)