12
submitted 6 days ago* (last edited 5 days ago) by arsus5478@lemmy.ml to c/linux@lemmy.ml

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

top 5 comments
sorted by: hot top controversial new old
[-] egg82@lemmy.world 19 points 6 days ago* (last edited 6 days ago)
[-] gary_host_laptop@lemmy.ml 14 points 6 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.ml 6 points 6 days ago

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

[-] that_leaflet@lemmy.world 8 points 6 days ago

Since you didn't post your solution, here it is for others: you need to add Flathub as a user remote too.

flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
[-] Bluefruit@lemmy.world 1 points 6 days ago

I could be wrong but no remote refs refers to not finding a repo for what you are trying to install, so either the flathub repo isnt added which it sounds like it is, or the app you want isnt in that repo.

So you may need to add the repo for that app: https://fcitx-im.org/wiki/Install_Fcitx_5

this post was submitted on 28 Sep 2025
12 points (100.0% liked)

Linux

57274 readers
270 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS