this post was submitted on 06 Aug 2023
587 points (96.7% liked)

linuxmemes

22297 readers
732 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 60 points 2 years ago (7 children)

    Where my pacman -Syu gang at btw

    [–] [email protected] 16 points 2 years ago (1 children)
    [–] [email protected] 4 points 2 years ago (3 children)

    yay -Syu && reboot && πŸ˜‰πŸ€ž

    load more comments (3 replies)
    [–] avidamoeba 10 points 2 years ago* (last edited 2 years ago) (1 children)
    load more comments (1 replies)
    [–] [email protected] 5 points 2 years ago

    I'm kicking back here after paru -Syu --nocombinedupgrade --noconfirm

    PS: (obligatory) 'Long live yay!'

    load more comments (4 replies)
    [–] [email protected] 33 points 2 years ago

    -y && sudo apt autoremove

    [–] [email protected] 24 points 2 years ago (1 children)

    All you sophisticated folks with your dinky commands... I just click restart to update whenever Daddy Gated says so. So much easier...

    [–] [email protected] 7 points 2 years ago (2 children)

    Have you ever tried to challenge the system and see what happens if you don't click restart?

    [–] [email protected] 10 points 2 years ago (1 children)

    Yes, random forced reboot at an extremely inconvenient time and an excruciatingly slow "Windows is installing updates" screen.

    [–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)

    I've never had that with my work laptop. If I've got programs open that require close prompts, it won't even reboot when it's been idle. Eventually IT will lock it down unless I update though.

    No big deal either way. You should be restarting at least weekly with any OS.

    Plus, at least with Ubuntu, kernel updates happen much more frequently than Windows updates and require a restart to take effect. The only difference is you can ignore them, which is almost never a good idea.

    [–] [email protected] 7 points 2 years ago (1 children)

    No big deal either way. You should be restarting at least weekly with any OS.

    Uh my laptop has been running for 35 days (according to neofetch) and my server PC (which is just a tower PC I repurposed as a server) has been running for 288 days.

    load more comments (1 replies)
    [–] [email protected] 4 points 2 years ago (1 children)

    The legendary eternal uptime

    load more comments (1 replies)
    [–] [email protected] 19 points 2 years ago (9 children)

    Is there a reason these commands weren’t at some point combined into one flag?

    I can see why you’d want separate β€œupdate” and β€œupgrade” options, but another flag that does both without writing such a long command would be nice.

    Maybe I just don’t know enough about apt and such a flag does exist? Maybe they’re just expecting folks to create an alias?

    [–] [email protected] 9 points 2 years ago

    If you use nala (frontend for apt) when you drop a "nala upgrade" it automatically calls update first

    load more comments (8 replies)
    [–] [email protected] 18 points 2 years ago (3 children)

    Behold:

    sudo snap refresh
    

    ... yeah... I'll see myself out...

    [–] [email protected] 13 points 2 years ago (1 children)
    [–] [email protected] 5 points 2 years ago

    Just kidding...

    [–] [email protected] 6 points 2 years ago

    I am forced to judge your entire character based solely on your snap use.

    load more comments (1 replies)
    [–] [email protected] 15 points 2 years ago (3 children)

    You could also open the Pop! Shop, have it load, freeze and then upgrade via terminal. They should really fix that shit

    load more comments (3 replies)
    [–] [email protected] 11 points 2 years ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 11 points 2 years ago
    [–] avidamoeba 9 points 2 years ago* (last edited 2 years ago) (2 children)

    Break the cycle Morty, rise above, enable unattended upgrades:

    sudo dpkg-reconfigure --priority=low unattended-upgrades
    
    [–] [email protected] 5 points 2 years ago (1 children)
    [–] avidamoeba 9 points 2 years ago (2 children)

    It enables automatic security updates. You could also enable automatic updates for all, not just security. Basically have the system run the meme commands for you.

    load more comments (2 replies)
    [–] [email protected] 3 points 2 years ago (1 children)

    First thing I do on Debian is disabling unattended upgrades. I will need to install some package now and it will always get in the way.

    [–] avidamoeba 4 points 2 years ago* (last edited 2 years ago)

    That's odd. If unattended upgrades are running, the system will do upgrades regularly. That means it's unlikely to get a significant backlog of updates queued up. Upgrade cycles typically finish briefly as a result. All my systems, interactive or headless, are running an update and upgrade cycle every hour. I've yet to to run into a case when I couldn't install a package because apt was in use. It's not impossible, but I haven't. Or at least it's been so long ago that I've forgotten about it. I don't have to think about unpatched vulnerabilities. ☺️

    [–] [email protected] 9 points 2 years ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 8 points 2 years ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 7 points 2 years ago (6 children)

    On my work PC:

    flatpak update &amp;&amp; sudo apt update &amp;&amp; sudo apt upgrade &amp;&amp; reboot

    On my home PC:

    flatpak update &amp;&amp; paru &amp;&amp; reboot

    On my laptop:

    flatpak update &amp;&amp; sudo dnf update &amp;&amp; reboot

    load more comments (6 replies)
    [–] [email protected] 6 points 2 years ago (2 children)

    sudo dnf update && flatpak update

    [–] [email protected] 4 points 2 years ago

    Two days later...

    load more comments (1 replies)
    [–] [email protected] 6 points 2 years ago* (last edited 2 years ago)

    Meanwhile the pacman -Syu sect:

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

    alias "upgrade"=sudo pacman -Syu && yay -Syu && sudo flatpak upgrade

    [–] [email protected] 10 points 2 years ago

    more like alias "yolo"

    [–] [email protected] 5 points 2 years ago

    I'll give you one better:

    doas emerge --sync && emerge -uDN @world

    :)

    [–] [email protected] 5 points 2 years ago (1 children)

    sudo nala upgrade ; flatpak update

    Nala is a frontend to apt-get written in Python.

    [–] corsicanguppy 5 points 2 years ago (1 children)

    Flatpak violates Single Source of Truth for installation data, and hides installations.

    [–] [email protected] 3 points 2 years ago

    Are you a Debian packager?

    [–] [email protected] 4 points 2 years ago (1 children)
    [–] [email protected] 4 points 2 years ago

    sudo systemctl enable dnf-automatic-install.timer

    [–] [email protected] 4 points 2 years ago

    sudo zypper refresh && sudo zypper dist-upgrade

    [–] [email protected] 3 points 2 years ago

    me when unattended upgrades

    load more comments
    view more: next β€Ί