News for hackers. Stuff that matters.
Re:What to Expect from Debian/Trixie by sugarpimpdorsey on Wednesday July 23, 2025 @11:53AM (#44660618)
Fair warning: the Trixie update does not allow you to roll back. It is in theory possible but practically it not only fails every single time, but leaves the system in an inconsistent and broken state. (A funny word for 'soon to be unbootable').

What this means is when you find out stuff breaks, like drivers and application software, and decide the upgrade was a bad idea, you are fucked.

More notably, some of the upgrade is irreversible - like MySQL/MariaDB. The database binary format is upgraded during the upgrade. So if you discover something else broke, and you want to go back, it's going to take some work.

Ask me how I know.

Re:What to Expect from Debian/Trixie by gilbertbw on Wednesday July 23, 2025 @12:13PM (#44660845)
The page about upgrading [0] does have this warning:

  Back up your data
  
  Performing a release upgrade is never without risk. The upgrade may fail, leaving the system in a non-functioning state. USERS SHOULD BACKUP ALL DATA before attempting a release upgrade. DebianStability contains more information on these steps.
[0] https://wiki.debian.org/DebianUpgrade
Re:What to Expect from Debian/Trixie by sugarpimpdorsey on Wednesday July 23, 2025 @12:43PM (#44661205)
Yet Windows will let you roll back an upgrade with a single click within 10 days.

Of course anyone can restore from backups. It's a pain and it's time consuming.

My post serves more as a warning to those who may develop buyer's remorse.

Re:What to Expect from Debian/Trixie by jraph on Wednesday July 23, 2025 @01:17PM (#44661614)
You might like snapshot based solutions like Snapper
Re:What to Expect from Debian/Trixie by aitchnyu on Thursday July 24, 2025 @01:33AM (#44667269)
I once tried Spiral Linux, light fork of Sid with bundled Snapper stack. Switched to a giant-userbase distro, Fedora, mostly because Plasma was bad with 5k screens. Are there mainstream distros with easy rollback?
Re:What to Expect from Debian/Trixie by jraph on Thursday July 24, 2025 @02:03AM (#44667449)
openSUSE should be one of them.
Re:What to Expect from Debian/Trixie by wiz21c on Wednesday July 23, 2025 @03:06PM (#44662789)
as much as I love Debian (been a faithful user since 25 years or so, no more Windows at home since then), that Windows ability is just really cool and Debian is still not on par I believe...
Re:What to Expect from Debian/Trixie by 42lux on Wednesday July 23, 2025 @12:55PM (#44661359)
You know imaging your machine is still an option...
Re:What to Expect from Debian/Trixie by mikae1 on Wednesday July 23, 2025 @02:07PM (#44662185)
But you can't do that on a live system as you can with Windows or macOS. Not a problem for pre release upgrade perhaps. But I'm so missing this feature from macOS.
Re:What to Expect from Debian/Trixie by pak9rabid on Wednesday July 23, 2025 @02:35PM (#44662479)
You can if you're using LVM. Take a snapshot of the logical volume your system is on, then run `dd' against the snapshot, as it's essentially a frozen point-in-time.

I've used this trick many times in a live, rw environment.

Re:What to Expect from Debian/Trixie by hysan on Wednesday July 23, 2025 @02:50PM (#44662654)
Depends on your filesystem. For example, I certainly can as I’m using btrfs. I’m also using Timeshift for easy management of snapshots. As others have mentioned, there are other choices too like Snapper that all work well.
Re:What to Expect from Debian/Trixie by SAI_Peregrinus on Wednesday July 23, 2025 @02:36PM (#44662484)
You can snapshot the filesystem if you're using BTRFS, ZFS, or another Copy-on-Write filesystem.
Re:What to Expect from Debian/Trixie by sellmesoap on Wednesday July 23, 2025 @04:36PM (#44663747)
I always find the rough edges on upgrading windows (and macos), I've had several computers that take 3-4 hours to hit a roadblock, give a inscrutable error message and rollback. I feel spoiled using nixos (once you get over the learning curve)
Re:What to Expect from Debian/Trixie by crtasm on Wednesday July 23, 2025 @07:34PM (#44665207)
Linux Mint offers rollbacks, I have snapshots going back a point release and a major version.
Re:What to Expect from Debian/Trixie by necheffa on Wednesday July 23, 2025 @09:12PM (#44665814)
This is what LVM/btrfs/ZFS snapshots were invented for.

Windows is using Volume Shadow Copies, which for the purposes of this discussion, you can think of as roughly equivalent.

Re:What to Expect from Debian/Trixie by a5c11 on Thursday July 24, 2025 @04:17AM (#44668305)
If you keep your /home on a separate partition, you can basically reinstall a whole system without much efforts. It's good to do that from time to time. etckeeper is very helpful too. Lots of desktop apps are AppImage nowadays, so if you keep them in the home directory, they'll persist.
Re:What to Expect from Debian/Trixie by bityard on Wednesday July 23, 2025 @11:56AM (#44660650)
That has never been supported: https://wiki.debian.org/SystemDowngrade
Re:What to Expect from Debian/Trixie by sugarpimpdorsey on Wednesday July 23, 2025 @12:00PM (#44660697)
I said possible, not supported.

Too many bits of 'advice' on Stack Overflow, etc. claiming it's possible as top Google results.

I'm here to say unequivocally: it does not work, will not work, and will leave the system in an irreversibly broken state. Do not attempt.

Re:What to Expect from Debian/Trixie by sigio on Wednesday July 23, 2025 @07:06PM (#44664976)
Well... then it's always been possible, if you use LVM and create a snapshot before upgrading, then you can revert your snapshot in case it breaks.

But this isn't something that would be 'out of the box'... but that's why we make backups, but I can't remember an dist-upgrade ever significantly bricking my systems.

Re:What to Expect from Debian/Trixie by paulv on Wednesday July 23, 2025 @12:19PM (#44660913)
> Ask me how I know.

What problems did you have that made you want to roll back the update?

Re:What to Expect from Debian/Trixie by sugarpimpdorsey on Wednesday July 23, 2025 @01:23PM (#44661667)
I had some containerized application software break and start misbehaving in odd ways which was indicative of a deeper incompatibility issue. Possibly GPU related. No time to debug, had to roll it back.

This was complicated by the fact that the machine also hosted a MySQL database which could not be easily rolled back because the database was versioned up during the upgrade.

Re:What to Expect from Debian/Trixie by tremon on Thursday July 24, 2025 @12:26PM (#44672633)
Wait, the containerized application broke because of a host upgrade? That's some leaky container you have there.

This sounds like a business setting, so this sounds like a good opportunity to advocate for testing hardware, a testing budget, a rollout plan, and a sound backup strategy.

Re:What to Expect from Debian/Trixie by bobmcnamara on Wednesday July 23, 2025 @06:45PM (#44664817)
For me it's usually been GPU driver compatibility.
Re:What to Expect from Debian/Trixie by esaym on Wednesday July 23, 2025 @01:42PM (#44661879)
You should be using an lvm snapshot. You are not even making a valid complaint.
Re:What to Expect from Debian/Trixie by yjftsjthsd-h on Wednesday July 23, 2025 @06:01PM (#44664503)
In all fairness... How would that work? Not even just on Debian; in the general case, I don't see how to avoid that other than full filesystem snapshots or backups of some sort. Even on, say, a NixOS system where rolling back all the software and config (basically, /, /usr, and /etc) to exactly its old config is as easy as rebooting and picking the old generation, databases will still have migrated their on-disk format.
Re:What to Expect from Debian/Trixie by JdeBP on Wednesday July 23, 2025 @09:32PM (#44665916)
Indeed. Snapshots. And they are a breeze on operating systems where ZFS for everything is available. It's not like the Windows feature of the same name, which I suspect is in part what makes people wary of the idea. That works rather differently. A ZFS snapshot completes in seconds.