While Flatpak is a very useful tool for installing Linux applications onto a Chromebook. Sometimes things can go wrong and you are presented with a “no remote refs found similar to flathub” error message. So in this video we demonstrate how we repaired our instance of Flathub.
Notes: Based on the error message, we can see that our instance of Linux can not find the Flathub repository for the package we are looking to download. So we are going to use a command that will instruct Linux to repair the Flathub link.
Quick reference notes:
- Open the Linux Development Environment menu
- From within the menu select Penguin to open a Linux Terminal windows
- At the command prompt type:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- You should find that your Flatpak commands will now work. However, in one instance we did get the following error message, “Unable to load summary from remote flathub: GPG verification“.
- So to fix this problem we basically going to confirm that we have the right link to the Flatpak repository, and that we are using the correct GPG key.
Note: Gnu Privacy Guard or GPG is an open source encryption technology.
- From the command prompt type:
sudo flatpak remote-delete flathub
- Now type the following to point to the correct flatpak repositories and refresh the GPG key:
sudo flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
You should now once again be able to install packages using Flathub commands.