Error when upgrading Freetube

When looking for upgrades for my Flatpak apps Freetube shows the error “Update is older than current version“:

$ flatpak -y update
Suche nach Aktualisierungen …


        KENNUNG                           Zweig            Op          Gegenstelle          Herunterladen
 1. [✗] io.freetubeapp.FreeTube           stable           u           flathub              3,0 KB / 114,3 MB

Error: Während des Holens von app/io.freetubeapp.FreeTube/x86_64/stable von der Gegenstelle flathub: Update is older than current version
Aktualisierungen abgeschlossen.
Fehler: Es gab einen oder mehrere Fehler

I’m using Freetube v0.23.13 Beta which seems to be the current version anyway. Maybe a configuration error on my side? I’m on Debian Trixie.

Edit: none of the other flatpaks installed on my system show this behaviour.

1 Like

I’ve just installed this on my Debian 12 instance (same Flatpak Freetune version as yours) so I’ll look to see if the same issue occurs.

Thank you for trying. I also just executed the flatpak update procedure on my office’s workstation (Debian 12) and the error did not occur here. when I’m back home I’ll give it another try and if the error still appears I’ll simply remove and reinstall Freetube.

There’s an entry in Freetube’s issues from about one year ago describing the same problem:

The user solved it by upgrading including the commit number.

1 Like

I’ve removed Freetube now:

$ flatpak --user -y uninstall io.freetubeapp.FreeTube

When installing Freetube now I get:

$ flatpak --user -y install freetube
Looking for matches…

io.freetubeapp.FreeTube permissions:
    ipc      network      pulseaudio      x11      dri      dbus access [1]      bus ownership [2]

    [1] org.freedesktop.PowerManagement, org.freedesktop.ScreenSaver, org.gnome.SessionManager, org.gnome.SettingsDaemon
    [2] org.mpris.MediaPlayer2.chromium.*, org.mpris.MediaPlayer2.freetube


        ID                               Branch          Op          Remote           Download
 1. [✗] io.freetubeapp.FreeTube          stable          i           flathub          1,0 kB / 114,3 MB

error: Failed to install io.freetubeapp.FreeTube: While trying to checkout e738c277acca46c63ac8429d58e7f72a5eff6f2107523a21b3c7ad012dc918d0 into /home/***/.local/share/flatpak/app/io.freetubeapp.FreeTube/x86_64/stable/.e738c277acca46c63ac8429d58e7f72a5eff6f2107523a21b3c7ad012dc918d0-IFEP5H: No such metadata object 6ecd7609aa2ce3cc7984f483363f597996e67f68d52da2944445539dae730392.dirtree

It should work from Software.

Install Flatpak:

  1. sudo apt update
  2. sudo apt upgrade -y
  3. sudo apt install flatpak -y
  4. sudo apt install gnome-software-plugin-flatpak -y
  5. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  6. sudo reboot

NOTE: The URL listed in Debian 12 is deprecated. It has been changed to:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
also see the Debian Wiki: Flatpak - Debian Wiki

I used those commands to install Flatpak on my scratch PC with Debian 13 and then using Software app in Debian, you should find the Flatpak FreeTube package is avalable to download directly without needing Terminal commands. That’s also how I loaded it in my Debian 12 instance.

That’s exactly how I installed Flatpak on my Debian installations (with the exception of the gnome-software-plugin-flatpak package). I also used the info from the Debian wiki.

A few hours ago I fired up my second Debian partition (used for testing purposes) where I’ve also installed the flatpak version of Freetube (this one runs on Cinnamon while my main system is using XFCE). Exactly the same problem occured. BUT: when I set up a fresh Debian installation with a fresh Flatpak setup installation of Freetube worked like a charm.

Since I was not able to solve my problem on my main system I restored the system partition from a backup image which included Freetube 23.12 Beta. I coincidentally created it on Jan. 17th (just the day before the release of Freetube 23.13 Beta) and here the update worked flawlessly.

Maybe I’ll play around a little with my test system where the problem still is still present. I’ll try to completely purge flatpak and will delete any traces of it before reinstalling flatpak there.

1 Like