Hi,

I am having this strange issue where the flatpak would say that it is updated successfully, but the packages remain in the list of available updates.

The packages still works. And I have tried flatpak repair --user, to no success.

This propably due to the fact that I have to restore my home folder from a backup, via Déjà Dup. And I assuming there is a conficting cache file some where?

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    First try a running the update with a verbose flag and see if there’s any errors flatpak update -v

    If you don’t spot anything obvious, try a sudo flatpak repair and then reboot your system (or just restart flatpak-system-helper.service) and see if that fixes it.

    As a last resort, you may need to uninstall all your apps using flatpak uninstall --all --delete-data

    After that, you’ll have to clean clean up your ~/.var/apps, ~/.local/share/flatpak, and /var/lib/flatpak directories. You could also try running Flatsweep.

    The reinstall all your flatpak apps.

    • Vinny@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Yeah…

      I tried flatpak update -v with no luck. sudo flatpak repair and then reboot does not work either. flatpak uninstall --all it is. Then, I just used Déjà Dup to restore the app configurations, that I had backup.

      Also. Thanks for recommending Flatsweep, that is the coolest thing I got out of all of this.

  • Omegasqueak@masto.ai
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    @Dosage9321

    Have a look in /var/tmp. Seems to be where flatpak is storing the cache. If you feel brave enough, delete it and see what happens afterwards.

    • Vinny@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It is ok. The corruption happened because I was trying to revert to a back up on mass (restoring my entire Home directory)

  • joucker29@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    40
    ·
    edit-2
    1 year ago

    Idk bro gl tho 👍

    Edit: Thought this would be helpful because it would help the post gain popularity through the algorithm guess I won’t do it anymore.

    In retrospect I can imagine checking your inbox excitedly just to see this answer…