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

linuxmemes

21251 readers
1456 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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!

    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 8 months ago

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

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

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

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

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

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

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

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

    Take off the training wheels 😎

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

    Reminds me of updating aur

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

    yay using ssu = no password prompt.

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

    yay --sudoloop

    [–] [email protected] 3 points 8 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 8 months ago

    sudo flatpak upgrade

    [–] [email protected] 13 points 8 months ago* (last edited 8 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 ›