Flatpak without --user changes flatpaks system wide, irrespective with which user it’s run. By using --user flatpak’s are stored in the home directory (.local, I believe).
Most distros ship with system wide flatpak remotes, so --user isn’t necessary.
dvdnet89@lemmy.today 11 months ago
So, the right command is flatpak update -y ?
Tau@sopuli.xyz 11 months ago
Maybe. I usually update my flatpaks through Discover.
Though it looks like the problem is that it can’t write to /tmp. Try using
chmod a+wr /tmp
and trying toflatpak update -y again
Dr_Willis@sh.itjust.works 11 months ago
I don’t recall ever needing the --user option, if the command is ran by the user.
if you were running the command via sudo, then yes, you would want the --user option.
Understand that flatpaks can be installed system wide, or on a per user basis.
if you are not careful you can install the same flatpak system wide when you just wanted it installed by the one user.
I wasted a lot of disk space and time before I learned how flatpak works.
Chewy7324@discuss.tchncs.de 11 months ago
Flatpak without --user changes flatpaks system wide, irrespective with which user it’s run. By using --user flatpak’s are stored in the home directory (.local, I believe).
Most distros ship with system wide flatpak remotes, so --user isn’t necessary.