590
Hearing voices (lemmy.world)
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)
sudo dpkg-reconfigure --priority=low unattended-upgrades
[-] TrustingZebra@lemmy.one 5 points 1 year ago
[-] avidamoeba@lemmy.ca 9 points 1 year ago

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

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

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. ☺️

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

linuxmemes

20704 readers
2039 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