As I mention on topic, in software center flathub option doesn't show. There are snap and zorin os options but flathub not showing. Eventhough installed flathub packages still seem but otion doesnt show still when I click on them. Furthermore, flatpak and other necessary packages installed when I chech from terminal.
My suspicion is, When I got Failed to update error for secure boot dbx, I looked on Forum and someone say delete fwupd and instead install snap version. I do that, yes it solve that problem but now flatpak not seen. I try to remove snap one and reinstall all related packages but couldn't solve.
Please someone can help me? I have a lot installation eventhough I have some timeshift backups there are still huge data differences. There are so much work for restoring or formatting. Please help me.
Open a terminal (Ctrl-Alt-T) and type apt list gnome-software-plugin-flatpak. It should return the name of the package that adds flatpak support to the store, and version and status information, like this:
If yours doesn't show "installed" in brackets at the end, that's probably your problem. You can install it with sudo apt install gnome-software-plugin-flatpak.
If it already shows as installed, copy and paste your output from the list command here so we can see if anything is fishy with it.
emrecan@emrecan:~$ apt list gnome-software-plugin-flatpak
Listeleme... Bitti
gnome-software-plugin-flatpak/jammy,now 45.3-2ubuntu1+zorin1 amd64 [kurulu]
N: Fazladan 2 sürüm daha var. Bu sürümleri görmek için '-a' anahtarını kullanın.
emrecan@emrecan:~$ apt list gnome-software-plugin-flatpak -a
Listeleme... Bitti
gnome-software-plugin-flatpak/jammy,now 45.3-2ubuntu1+zorin1 amd64 [kurulu]
gnome-software-plugin-flatpak/jammy-updates 41.5-2ubuntu2 amd64
gnome-software-plugin-flatpak/jammy 41.5-2 amd64
Hei ja tervetuloa. Itse vältän sekä Snapia että Flatpakia, koska ne vievät sinulta järjestelmän hallinnan, vähän kuin GNU/Linux-versio tuosta toisesta käyttöjärjestelmästä.
Hi and Welcome. Personally I avoid both Snap and Flatpak as it takes away your control of the system, a bit like a GNU/Linux version of that other OS.
emrecan@emrecan:~$ flatpak remotes
Name Options
flathub system
zorinos system
emrecan@emrecan:~$ flatpak update --appstream
Updating appstream data for remote flathub
Error updating: While pulling appstream2/x86_64 from remote flathub: No such metadata object 0cd20ee9e382873cfa7e496dca1eec360e0b0b8e8268c7267683d189f3c34832.commit
Updating appstream data for remote zorinos
It seems like there's a problem when trying to update the appstream for Flathub, but no difficulty for Zorinos. That's probably why Zorin and Snap options are visible, but Flathub isn't. Interestingly, I can install new flatpak apps from the terminal without a problem.
Thanks for your help. I was able to fix the issue. The commands and changing the main server didn't work, but thanks to the extra info about adding the repo as a user, I tried this code:
And it works now. However, it caused a new problem. In the Software Center, my previously installed Flatpaks are now visible, but they aren't detected as installed. As you can see in the image, it says "kur" (install) and below it, it says "Flatseal is not installed, but still has data present." But for a Snap app, it says "uninstall," so it's detected as installed.
Also,
emrecan@emrecan:~$ flatpak update --appstream
Updating appstream data for remote flathub
Error updating: While pulling appstream2/x86_64 from remote flathub: No such metadata object 0cd20ee9e382873cfa7e496dca1eec360e0b0b8e8268c7267683d189f3c34832.commit
Updating appstream data for remote zorinos
Updating appstream data for user remote flathub
I deleted both the user and system entries based on AI advice, and then reinstalled. It also deleted all installed apps, but luckily it didn't delete the apps' configurations. So, when I reinstalled, both the problem was solved and the apps were fine.
Now, flatpak update --appstream no longer gives an error. However, it's still risky as it might delete app configurations if one isn't careful or lucky, but it works for me. Eventhough I say risky, I dont think there is another solution so maybe take backup of config files of apps before do that steps is better.