Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak not installable on Ubuntu 20.04.4 #797

Closed
SalusVF opened this issue Jul 19, 2022 · 7 comments
Closed

Flatpak not installable on Ubuntu 20.04.4 #797

SalusVF opened this issue Jul 19, 2022 · 7 comments

Comments

@SalusVF
Copy link

SalusVF commented Jul 19, 2022

I had Tauon Music installed as Flatpak on my computer. Suddenly after a normal restart I could not find it anymore. I tried to install it again but it keeps giving me this error.

Warning: Wrong origin flathub for update
Error: Wrong origin flathub for update
error: Failed to install com.github.taiko2k.tauonmb: Wrong origin flathub for update

After that I tried to install another Flatpak application, just to see if the problem was only in your app or a general problem from Flatpaks. I could install the other app without any issues. So I guess it could be something wrong with yours.

Thanks,
Salus

@Taiko2k
Copy link
Owner

Taiko2k commented Jul 19, 2022

Hmm, seems to be working for me. Try run flatpak repair --user && flatpak repair --system

Then try again flatpak install com.github.taiko2k.tauonmb

@SalusVF
Copy link
Author

SalusVF commented Jul 19, 2022

I have tried what you said and unfortunately it does not work. I am still having the same error.
I have also tried the command in two flavors:

  • flatpak install flathub com.github.taiko2k.tauonmb
  • flatpak install com.github.taiko2k.tauonmb

@SalusVF
Copy link
Author

SalusVF commented Jul 23, 2022

I have also tried upgrading to ubuntu 22.04 and reinstalling flatpak. Somehow it is the only flatpak that fails on installing. All other flatpaks work just fine.

@Taiko2k
Copy link
Owner

Taiko2k commented Jul 23, 2022

I have no idea on how to further diagnose this. Maybe try ask on the Flatpak matrix or discourse.

@SalusVF
Copy link
Author

SalusVF commented Jul 23, 2022

Thanks I'll try there and in case I get a solution I will post it here.

@SalusVF
Copy link
Author

SalusVF commented Jul 23, 2022

I am going to close these issue, since it is not fair for you now that I have discovered that the same problem appears with GIMP and Curtail flatpak applications. I will comment ayway if I find a solution,though.

Thanks for your help.

@SalusVF SalusVF closed this as completed Jul 23, 2022
@SalusVF
Copy link
Author

SalusVF commented Aug 10, 2022

I have finally solved it by completely removing flatpak by doing the following steps:

flatpak uninstall --all
sudo apt purge --autoremove flatpak
sudo rm -r /var/lib/flatpak

I have manually removed the ppas from flatpak from Software Updates. After that I have rebooted.
Then I installed flatpak again and addedflathub as a repository. Evereything worked fine having done that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants