this post was submitted on 06 Mar 2024
396 points (95.6% liked)

linuxmemes

20761 readers
1410 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Background-Story: I did a "flatpak update" on a remote client and every package wants the PW for downloading and for installing again. I had to enter the password like 30 times or more.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 31 points 6 months ago

I love that this post just turned into people giving helpful solutions and not bullying. Lemmy be awesome

[–] [email protected] 21 points 6 months ago

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:  *******
[–] [email protected] 12 points 6 months ago* (last edited 6 months ago) (1 children)

Wouldn't you just be able to terminate and then run sudo flatpak update ?

[–] [email protected] 3 points 6 months ago

Maybe, I thought this couldn't be end in another ask for password, and again, and again.

[–] [email protected] 2 points 6 months ago
[–] [email protected] 7 points 6 months ago

I accidentally did a winget upgrade --all from a non-elevated powershell today. I know your pain.

[–] [email protected] 9 points 6 months ago (1 children)
[–] [email protected] 7 points 6 months ago (2 children)

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.

[–] [email protected] 2 points 6 months ago
[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

Take off the training wheels 😎

[–] [email protected] 2 points 6 months ago (2 children)

Reminds me of updating aur

[–] [email protected] 1 points 6 months ago

yay using ssu = no password prompt.

[–] [email protected] 6 points 6 months ago

yay --sudoloop

[–] [email protected] 3 points 6 months ago

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... :-)

[–] [email protected] 7 points 6 months ago

sudo flatpak upgrade

[–] [email protected] 13 points 6 months ago* (last edited 6 months ago)

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.

load more comments
view more: next ›