How often do you update software on your servers?

10 months ago by PlanterTree to c/selfhosted

Or asked the other way around: How long do you keep your servers running without installing any software updates?

update means something like

sudo dnf update

or something ....

apt-get upgrade
apt-get update
load all comments
mjr 57 points 10 months ago

Those apt commands are in a less-good order. It's usually better to update apt, then upgrade the system.

I upgrade as soon as reasonably possible after the notification appears, if the system isn't on auto-upgrade.

path: 0 20205570, hotness: undefined, score: 57, children: 2
njordomir 3 points 10 months ago

I do sudo apt update && sudo apt upgrade

Is there any reason to not combine the commands since the output always prompts prior to changes anyway?

path: 0 20205570 20220972, hotness: undefined, score: 3, children: 1
cyberwolfie 5 points 10 months ago

I think their point was to make sure they are done in order, i.e. update before upgrade, not the other way around as in OPs example.

path: 0 20205570 20220972 20221351, hotness: undefined, score: 5, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
61555
6650
5623

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...