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?

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.

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.

helenslunch,
@helenslunch@feddit.nl avatar

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

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.

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.

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.

lengau,

I’ve got a desktop that got a dirty install of KDE Neon when the repositories first got put up (before there were isos). Been in-place upgrading it ever since.

danielfgom,
@danielfgom@lemmy.world avatar

Wait for the distro to officially release an upgrade path. Only do a fresh install if it doesn’t work.

On Windows however whenever I would get a new pc in which I was prepping for staff(I worked in IT) the first thing I’d do after unboxing it is a wipe of the factory Windows install and do a clean install with the latest ISO from Microsoft.

No bloatware, network managers, anti virus etc nonsense. We had all of our own stuff for that which applied via Group Policy anyway.

Dariusmiles2123,

I upgrade Fedora from one version to another as doing a clean install would be a lot of work. Maybe I’m just too much of a rookie, but I don’t see the advantages of a clean install.

Even if I installed Fedora on a new computer, I’d just use my clonezilla backup if possible. But I haven’t tried it so I don’t know if this would work.

ik5pvx,

Clean install on a new computer. Then upgrades until the computer gets retired. Debian at home, Ubuntu server at work.

I like playing with distros and other OSes in VMs, if the thing doesn’t have a well defined upgrade procedure it gets ditched pretty soon.

axb,
@axb@lemmy.ml avatar

I almost always prefer clean installation when possible, while making sure to backup important content from highly accessed folders like Desktop, Downloads and Documents (on Windows), for example.

caseyweederman,

It just feels nice! Nice and fresh.

avidamoeba,
@avidamoeba@lemmy.ca avatar

Upgrade. Have been upgrading my main machine since 2014.

shrugal,

Fedora, I usually wait 1-2 weeks for the last bugs to be found+fixed and extensions to catch up, and then just upgrade in-place. Haven’t had a major upgrade problem for years now, it’s mostly as smooth as any other offline update. And I don’t feel like I have to reinstall the OS every few years on Linux either.

pop,

Wait for a bugfix release after a major release. Then upgrade.

need moar bugs fixed, just to be safe

Zucca,

https://sopuli.xyz/pictrs/image/9d76b984-7539-47d2-9d83-3fc0f98c2b39.webp

Rolling with Gentoo here. Reinstall is not performed even when complete hardware upgrade has been done.

Nibodhika,

Well, I also use a rolling release distro, my disk died last week so I had to reinstall, so technically FULL hardware update might require a reinstall (safer than copying the root folder from one disk to another since the old one was bad), but yeah, before that I’ve replaced almost every piece of that laptop without a reinstall, even switched from Nvidia to AMD.

Zucca,

Well, yeah. Hard drive failure can force a reinstall. And with laptops there isn’t usually another place for a hard drive, from where to restore the system.

Nibodhika,

Brainfart, I said laptop meant desktop, obviously didn’t change the GPU on a laptop.

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

Framework has entered the chat

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