I love that this post just turned into people giving helpful solutions and not bullying. Lemmy be awesome
linuxmemes
Hint: :q!
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
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.