Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix flatpak remote errors?

I installed flatpak via the command lines on their website and then proceeded to add the remote repository as instructed, but when I try to install something it says to specify a remote. I was trying to install inkscape from flathub.

Here are the command lines I used:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

I also tried without sudo

To download the ref file:

wget https://www.flathub.org/apps/details/org.videolan.VLC

To install:

 flatpak install org.videolan.VLC

Error Message:

error: REMOTE and REF must be specified
like image 963
faisal arefin Avatar asked Dec 02 '18 16:12

faisal arefin


People also ask

How do you fix error no remote refs found similar to flathub?

So to fix the "No remote refs found similar to 'flathub'" error, you need to add flathub repo URL using below flatpak remote-add command. You can check 21 Popular Flatpak command examples on Linux to understand the usage of flatpak utility.

What is flatpak remote?

DESCRIPTION. Flatpak stores information about configured remotes for an installation location in $installation/repo/config. For example, the remotes for the default system-wide installation are in $prefix/var/lib/flatpak/repo/config, and the remotes for the per-user installation are in $HOME/.


1 Answers

Try:

flatpak install flathub org.videolan.VLC

"flathub" is the name of the missing REMOTE you added in your first step.

like image 83
CrazyPyro Avatar answered Nov 09 '22 09:11

CrazyPyro