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

linuxmemes

21222 readers
80 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
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] avidamoeba@lemmy.ca 9 points 1 year ago* (last edited 1 year ago) (2 children)
    sudo dpkg-reconfigure --priority=low unattended-upgrades
    
    [–] TrustingZebra@lemmy.one 5 points 1 year ago (1 children)
    [–] avidamoeba@lemmy.ca 9 points 1 year ago (1 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.

    [–] TrustingZebra@lemmy.one 3 points 1 year ago (1 children)

    That's interesting, I didn't know this can be configured in one line. When I searched how to configure unattended-upgrades myself I only found long solutions.

    [–] avidamoeba@lemmy.ca 2 points 1 year ago

    I'm sure there are longer solutions as well. This is straight up from the Ubuntu wiki. If you want to configure it differently, e.g. do all updates, not just security, you probably have to change some more vars in the apt config files.

    [–] sznio@lemmy.world 3 points 1 year 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@lemmy.ca 4 points 1 year ago* (last edited 1 year 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. ☺️