SOLUTION: add Flathub as a user remote too:

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

flatpak lets you install applications as user vs system. I want to install as user because my .var is full.

example: flatpak install --user org.fcitx.Fcitx5 returns error: No remote refs found for ‘org.fcitx.Fcitx5’

flatpak remotes returns flathub system

I’m logged in as user5. whoami returns user5

I don’t know what remote I have to add or if I have to add user5 as a remote

  • ghost_laptop@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    3 days ago

    What’s happening here is that you only have a system-wide remote configured, but you’re trying to install as user. Flatpak keeps two separate sets of remotes:

    System remotes (available to all users)

    User remotes (only for the logged-in user)

    Since you have no user remotes defined, Flatpak can’t find anything when you do --user.


    You need to add Flathub as a user remote. Run:

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

    • arsus5478@lemmy.mlOP
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      thanks. I read that command somewhere but thought I had to edit it to name specifically my username.