7

How to solve this flatpak error?:

error: No remote refs found similar to ‘flathub’

Steps taken so far:

  • Install flatpak: sudo install flatpak
  • Trying to install an app: flatpak install flathub dev.lapce.lapce

Expected at this point: the app is installed.

Actually, the error above is shown.

VasyaNovikov
  • 3,656

1 Answers1

8

Solution:

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

Explanation:
It seems that flatpak (the package manager) tries to decouple itself from flathub (the repository) too much. The command above sets the "default" repository.

VasyaNovikov
  • 3,656