I love that this post just turned into people giving helpful solutions and not bullying. Lemmy be awesome
linuxmemes
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
I like this.
Flatpak is so bad for single-source-of-truth for install state that you should have to put in your password every time just to confirm you understand the pain you're signing up for.
My only advice here would be if they can change the prompt to say
THANK YOU SIR! MAY I HAVE ANOTHER!
password: *******
Wouldn't you just be able to terminate and then run sudo flatpak update
?
Maybe, I thought this couldn't be end in another ask for password, and again, and again.
sudo -i
I accidentally did a winget upgrade --all
from a non-elevated powershell today. I know your pain.
Sudo su
Sudo su
... for a brief period exposes you to risk. And its double-child kills a lot of context you may want. And it's ghetto like
cat file | grep string | cat | more
try sudo -i
and join us in this millennium.
sudo bash
Take off the training wheels 😎
Reminds me of updating aur
yay using ssu = no password prompt.
yay --sudoloop
Really weird thing is, distros and flathub kinda pushes users to do system wide installs while most of the packages can work and get updated per user. They are pushing the thing which made Windows almost impossible to use without an administrator user. A dramatic example would be gnu guix, almost never requires root for updates or installs. It is also usable by normal users. From GNU... :-)
sudo flatpak upgrade
I update flatpak through ssh and haven't had this issue. I think you installed it system wide and not for the user, since with user you don't need password at all
E: From the comments it looks like they didn't use sudo to update either. With it it would've asked once. With --user that wouldn't have been necessary ofc.