when you upgrade an OS, do you clean install or upgrade?

clean install: you make a backup, nuke the computer, install a fresh upgraded copy of the distro you want from a live usb, copy your data again to the computer.

upgrade: you wait ‘till the distro’ developers release an upgrade you can directly install from your soon to be old distro, you use a command like sudo do-release-upgrade

and why do you upgrade like that?

catloaf,

The only time I don’t do a regular upgrade is for Windows Server. Too much weird shit happens. I like to keep my servers running clean.

jaxiiruff,

NixOS.

sntx,
  • Impermanence
jaxiiruff,

Man just when I thought I got the hang of NixOS and setup everything already thanks to the new wiki. I dont think this is worth the trouble for me right now, but maybe in the future.

Ephera,

Depends on the distro.

On my personal laptop with openSUSE, I have plenty confidence doing all kinds of upgrades and sidegrades (between Leap and Tumbleweed).
The package manager detects conflicts and makes me decide what to do with them. I’ve never seen the software or distro dependency definitions fuck up, it was always me making a wrong decision.
Well, and if I do make a wrong decision or anything else should go wrong during the upgrade, I can roll back to the BTRFS snapshot before.

On my work laptop, the best I can get is Kubuntu. Apt is much more fickle, since it doesn’t have as clear of a concept of what constitutes a conflict, but also what a correct system should look like.
The whole packages feel much more fickle, too, because they’ve got all these custom patches, so you really don’t want to accidentally mix different versions of packages, like might happen in an incomplete upgrade.
And of course, you get one chance at upgrading. If anything goes sideways, you better have your Live USB ready right away.

So, that’s why I would prefer to install fresh right away. Of course, my workplace doesn’t actually allow me to do that either. They really like to keep me on edge.

helenslunch,
@helenslunch@feddit.nl avatar

I keep anything remotely important synced to my server and regularly nuke the whole thing.

JoeCoT,

It depends on how many versions I am away from the latest, and how much I've messed with the distro.

Usually I stay on an Ubuntu LTS and upgrade from LTS to LTS when that upgrade path is ready. I upgraded from 20.04 to 22.04 this way.

But this time I wanted Pipewire in 24.04, and didn't want to wait for a 22.04 to 24.04 upgrade to be ready. I'm using a bluetooth headset and Pulseaudio is pretty terrible at switching headset profiles. Between not wanting to upgrade an upgraded install, and having messed with Pulseaudio quite a bit trying to get it working, I went ahead and clean installed 24.04 and moved some configs over.

bloodfart,

Upgrade. It works perfectly fine and when it doesn’t figuring out what’s going on learns me something and several times has resulted in fix commits to the packages.

E: there’s some people saying they do clean installs on Ubuntu. They’re right that ubuntu breaks shit all the time but I’ve solved that by simply not using the bad distros.

jjlinux,

I like you.

avidamoeba,
@avidamoeba@lemmy.ca avatar

Upgrading Ubuntu LTS since 2014. It’s always a good idea to read the release notes in order to know what’s changed. In general LTS-to-LTS upgrades have been trouble-free.

narc0tic_bird,

I upgrade when it’s a distro that releases new versions regularly (for example Fedora with two releases per year). I obviously also upgrade rolling distributions.

Why? Because it’s less work and I haven’t had many problems with it.

I usually clean install long-term distros like RHEL (or RHEL-based). These don’t always have a good upgrade path and I usually only use them on servers.

ares35,
@ares35@kbin.social avatar

upgrades have been working fine here, both linux and windows, for well over a decade.

only if a system is also being repurposed at the time of the 'upgrade', or if i'm changing the connection type of the boot drive (such as from sata to nvme, or switching an older system to ahci mode) do i install 'from scratch'.

exscape,
@exscape@kbin.social avatar

I don't think I've ever made a "clean upgrade" on Linux. I've done the opposite though, that is, bring an old install over to a new computer.

boredsquirrel,

rpm-ostree upgrade

is enough on uBlue, as system release upgrades are automatically staged and just like normal updates.

rpm-ostree rebase may be needed on Fedora Atomic

Use a well versioned package manager guys.

Outsider9042,

NixOS with impermanence. Every reboot is a fresh install.

penquin,

It depends on the distro. Some of them have some shitty ass upgrade process and it breaks shit, and others are just awesome. I personally use a rolling release so I don’t have to worry about upgrades. I do get some issues here and there with some big upgrades, but nothing really major. I’ve only had to reinstall twice in the last 2.5 years.

shotgun_crab, (edited )

I’m using a rolling release at the moment, but when I used a more stable release, I always did the upgrade (following the official instructions) because it’s faster and more convenient.

I learned the hard way to always keep a backup of my important stuff, regardless of the OS.

The only time I redid a clean install was when I accidentally fucked up my entire filesystem’s permissions.

BaalInvoker,

Neither. I use a rolling release distro.

But if I have to use release based distros, I probably would clean install.

treadful,
@treadful@lemmy.zip avatar

A rolling release distro is basically a requirement for me. I abhor major release upgrades. They’re usually labor intensive and often break things.

Peffse,

This is actually a question I’d like some opinions on!

I have a ton of headless servers running Debian that I just replace the sources.list for an upgrade. I imagine things are much more complicated when switches like X11 to Wayland happen, so all desktop environments get a wipe/install instead… But maybe I’m just making a lot of work for myself doing that!

catloaf,

Nah, regular upgrades should be fine for those too.

LeFantome,

Wayland and X11 can exist in parallel. I have multiple desktop environments with some defaulting to Wayland and some still using X11. For my casual machine, I use XFCE most of the time ( X11 ) but have been toying around with the new COSMIC ( Wayland ). I switch back and forth.

So, the X11 on your system will not hold you back when you move to Wayland. Of course, at some point the old stuff is just cruft. So you do have to do a bit of janatorial from time to time.

I use a rolling release.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines