[SOLVED] I cannot add flatpaks as user, what am I doing wrong?
from arsus5478@lemmy.ml to linux@lemmy.ml on 28 Sep 15:26
https://lemmy.ml/post/36801343
from arsus5478@lemmy.ml to linux@lemmy.ml on 28 Sep 15:26
https://lemmy.ml/post/36801343
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
threaded - newest
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
thanks. I read that command somewhere but thought I had to edit it to name specifically my username.
https://xkcd.com/979/ <img alt="XKCD #979 - Wisdom of the Ages" src="https://lemmy.world/pictrs/image/2fa5c80f-1bd6-4b5e-96ae-fc01bb10042c.png">
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: fcitx-im.org/wiki/Install_Fcitx_5
Since you didn’t post your solution, here it is for others: you need to add Flathub as a user remote too.