All the troubles with Debian upgrade
from arty@feddit.org to linux@lemmy.ml on 19 Aug 10:49
https://feddit.org/post/17585937

So a new major version of Debian has been released, and now I see a lot of complaints about various issues stemming from an upgrade. I do not remember this many after an LTS Ubuntu version. I don’t want to rush to conclusions like “Ubuntu has money for better quality assurance”. I can easily come up with explanations for why these statistics can be skewed, like “Ubuntu-loving plebeians do not come to complain to elite Lemmy users about their puny problems”. I’m curious what you think?

#linux

threaded - newest

eugenia@lemmy.ml on 19 Aug 10:53 next collapse

I use Debian-Testing, so I never go from a major release to another, and it’s very stable that way. But yes, a big upgrade is never smooth with Debian, even if Debian itself is very stable (when installed from scratch). I think the solution is a clean install every 2 years. Or use Debian-Testing, so things don’t blow up from a small release to another. Even Linux Mint is not very stable from a major release to another (meaning, from one LTS to another). But Ubuntu is more stable between interim releases, but also not very stable between LTS releases.

So either you go with a “stable-ish” rolling release like Debian-Testing (which in my opinion is the most stable rolling release distro), or you re-install every 2 years.

arty@feddit.org on 19 Aug 11:29 next collapse

Thank you, these are enlightening observations!

From what you see online, is this release on par with the previous ones?

eugenia@lemmy.ml on 19 Aug 14:53 collapse

yeah it’s a good one

caseyweederman@lemmy.ca on 19 Aug 21:03 collapse

Yeah! It’s got Plasma 6! And labwc!

bouh@lemmy.world on 19 Aug 12:54 next collapse

I didn’t have problem updating debian stable to a next version. I got problems when I jumped 2 stables at once. Which was to be expected.

shrugs@lemmy.world on 19 Aug 16:36 collapse

Not my experience. I’m managing 6 different clients and around 200 servers with debian 11-13. Update problems are most of the times caused by incompatible packages / repos. Other then that and a few times some changes in configuration files with new options I hardly ever have problems.

I don’t think you have to reinstall your system every two years, you just need to be careful to not create a frankendebian by adding repos villy vanilly and you are good to go.

Jestzer@lemmy.world on 19 Aug 10:56 next collapse

One of the biggest reasons I won’t use Ubuntu on anything I care about is because I had numerous upgrade issues with it.

arty@feddit.org on 19 Aug 11:25 collapse

I hope that you have found something that works better for you.

What do you think about my observation though?

Jestzer@lemmy.world on 19 Aug 11:55 collapse

I have! Upgrading from Fedora 41 to 42 worked well on the 3 machines I use it on.

I think most people who use Ubuntu, in general, aren’t posting about their experience with it online. So, yes, I’d say I agree with your observation.

solrize@lemmy.ml on 19 Aug 11:01 next collapse

I’ve been doing debian upgrades without significant issues. With debian 13 I find I’m getting some deprecation messages from python and I have had to make some small code patches to fix them. I see that as more of a python issue than a debian issue.

arty@feddit.org on 19 Aug 11:28 next collapse

Sure, this is fair!

Regarding this release, do you see more posts about it, compared with others?

relativestranger@feddit.nl on 21 Aug 14:30 collapse

that’s where most of my ‘issues’ come from when upgrading an old debian… upstream version changes to major software packages (python, php, even apache 1.x to 2 back in the day) that require some manual intervention

solrize@lemmy.ml on 21 Aug 15:33 collapse

Of course it will be like that with any distro.

redlemace@lemmy.world on 19 Aug 11:06 next collapse

I used/tried Ubuntu a few times -just because some solutions announce it as their supported platform- but I got tired of how they push snaps, and so I stay on Debian. Last week I went to deb13 on various machines and so far had no other task then fixing deprecated python functions in my own scripts, which isn’t abnormal. The one ‘issue’ I had was a PHP version mismatch in an apache2 config. So I’m (still) happy with Debian! And like @eugenia@lemmy.ml wrote, every 2 years (give or take) a fresh install is how I like to do it.

arty@feddit.org on 19 Aug 11:27 collapse

Congrats on the mostly smooth sailing!

What do you think of the experiences other people are having?

krimson@lemmy.world on 19 Aug 11:09 next collapse

No experience with debian 13 yet, but I once upgraded a server from 7 to 12 without a single issue which was quite amazing.

arty@feddit.org on 19 Aug 11:26 next collapse

Wait, like in one step from 7 to 12? That would be amazing indeed!

krimson@lemmy.world on 19 Aug 12:05 collapse

No, one version at a time. Took only an hour or so.

arty@feddit.org on 19 Aug 12:38 collapse

This is pretty impressive anyway

chellomere@lemmy.world on 19 Aug 12:28 collapse

Same, I have servers I’ve continuously upgraded from Debian 6 to 12 over the years, without reinstallation. Has gone without issue.

arty@feddit.org on 19 Aug 16:20 collapse

Do you think servers have it easy compared to personal computers? No pesky audio/video cards, bluetooth, etc…

fratermus@lemmy.sdf.org on 19 Aug 16:56 next collapse

Do you think servers have it easy compared to personal computers? No pesky audio/video cards, bluetooth, etc…

My server upgrade to Trixie had no issues. That’s good because it’s several thousand miles away on another continent… My laptop had a few burps with ranger, jekyll, and autokey that required googling.

my experience so far

I see a lot of complaints about various issues stemming from an upgrade. I do not remember this many after an LTS Ubuntu version

Selection bias? I suspect Debian folks are more likely to notice problems and start looking for bug reports, talking about it, etc. Like my dorky blog entry above.

arty@feddit.org on 19 Aug 21:40 collapse

Thank you! This selection bias was one of the possibilities I’ve considered…

chellomere@lemmy.world on 19 Aug 19:19 collapse

Maybe. Now that I think about it, I have an Intel NUC running as a TV computer that has gone the same route, from Debian 6 to 12 without reinstallation. Still actively using it but thinking of retiring it only because the hardware is a bit weak in this small NUC from 2013.

0x0@lemmy.zip on 19 Aug 11:17 next collapse

“Ubuntu has money for better quality assurance”

That’s utter BS, money does not equal quality.
I just borked an Ubuntu Noble installation by running apt upgrade on it. Yeah it’s ZFS-based, why didn’t Canonical ensure the upgrade would be smooth?

arty@feddit.org on 19 Aug 11:24 collapse

Of course it was tongue-in-cheek, I hope you didn’t take the “elite Lemmy users” seriously ;)

While personal stories could be enlightening, I’m more curious about the statistics

procapra@lemmy.ml on 19 Aug 12:08 next collapse

If I had to guess on why people get issues during updates I’d say it’s because they add a million third-party repos that point to the specific version of Debian they were running and now that they’ve upgraded they’ve got tons of outdated packages from those repos fudging up their system.

arty@feddit.org on 19 Aug 12:40 next collapse

What do you think, is this release on par with previous ones regarding the amount of complaints?

gonzo-rand19@moist.catsweat.com on 19 Aug 13:14 collapse

That's why you're supposed to remove 3rd party repos before you update, but nobody reads the release notes anymore, I guess.

arty@feddit.org on 19 Aug 13:52 next collapse

Doesn’t the upgrade manager of Debian disable them automatically, like Ubuntu does?

gonzo-rand19@moist.catsweat.com on 19 Aug 13:57 next collapse

I have no idea, but I don't think the team would add a bunch of useless crap into the release notes for no reason. Doesn't sound very Debian to me.

Here's the link to the relevant section of the release notes, for your reference. It's short.

arty@feddit.org on 19 Aug 14:59 collapse

Thank you! I guess I prefer Ubuntu’s safety net for upgrades.

LeFantome@programming.dev on 19 Aug 18:30 collapse

The Debian safety net is not to use third-party repos at all.

porl@lemmy.world on 20 Aug 12:41 collapse

I don’t think so, because it shouldn’t be an automated process. Doing that blindly is a great way to have orphaned and incompatible package versions left on your machine.

arty@feddit.org on 20 Aug 12:54 collapse

Is this worse than an upgrade which breaks the system?

porl@lemmy.world on 20 Aug 18:47 collapse

The update won’t break the system if you follow the update instructions (remove packages from those repositories first). The Ubuntu way does break the system (see my other comment).

arty@feddit.org on 21 Aug 07:08 collapse

Well, people do not follow instructions and their systems get broken 🤷 To a much larger extent than an orphaned package

porl@lemmy.world on 21 Aug 10:49 collapse

That’s the point - those mismatched packages often break the system. I had to do probably near a half dozen reinstalls after Ubuntu’s “clever” trick wrecked my system. I ran a Debian system from potato through to sarge updating each time with no trouble. My Ubuntu machine had problems virtually every upgrade (though most minor) and required more than a few full reinstalls.

arty@feddit.org on 21 Aug 11:43 collapse

Your words made me look again into the documentation:

If your APT configuration mentions additional sources besides bookworm, or if you have installed packages from other releases or from third parties, then to ensure a reliable upgrade process you may wish to begin by removing these complicating factors.

I hadn’t realized that “removing these complicating factors” meant removing these packages, not just disabling their repositories. The wording is terribly vague.

Now I don’t say anything against your experience and the conclusions it has led you to.

But my experience was that only repositories were automatically disabled and packages stayed in their place. The upgrades went through smoothly, things did not break. Were I forced to uninstall these packages and look for their replacements afterwards, I’d be quite annoyed. Maybe not as much as you, when you were forced to reinstall the system.

I’ll conclude for myself that both paths can lead to happy outcomes as well as to poor outcomes. Thank you for sharing!

ElectricWaterfall@lemmy.zip on 19 Aug 16:55 next collapse

I read the release notes and followed all the relevant instructions and had zero issues, was a very smooth and easy process.

meekah@lemmy.world on 20 Aug 08:59 collapse

Why doesn’t apk have a routine that disables 3rd party repos when doing a full system update?

gonzo-rand19@moist.catsweat.com on 20 Aug 10:51 next collapse

I don't know, I'm not on the Debian team. This is probably a question for them. I think the mailing list is public if you wanted to ask someone.

meekah@lemmy.world on 20 Aug 13:19 collapse

Fair enough lol

relativestranger@feddit.nl on 21 Aug 13:55 collapse

it’s really not their responsibility to babysit user-initiated configuration changes and third-party software during updates and upgrades. the user makes the changes that go ‘off book’ and uses ‘non debian’ software–so that is where the responsibility lies.

uhdeuidheuidhed@thelemmy.club on 22 Aug 10:58 collapse

You’re right, it’s not their responsibility.

The software would still be better if it had this feature, or at least some kind of warning or notification to alert users of the problem before they upgrade.

echedeylr@lemmy.blahaj.zone on 19 Aug 13:15 next collapse

Ubuntu has issues in every LTS (this time with APT version shipped) because Ubuntu releases are based on Debian Sid (basically unreleased Debian software which they “patch” later including unstable version of tools).

I suffer this in my job every time a Ubuntu LTS is shipped previous to the release of the Debian version equivalent to it (Ubuntu 24.04 is Debian 13 with mixed versions of packages and “patches”) and a customer or a teammate upgrade a container-image or workstation to it…

I even use Debian new versions after either 1 year or the first .1 release.

arty@feddit.org on 19 Aug 13:51 collapse

Certainly when you use a system on many hosts, you have more visibility into its issues. Do you also use Debian in a similar situation to compare them?

What do you think about the number of Debian complaints on Lemmy?

echedeylr@lemmy.blahaj.zone on 19 Aug 14:39 collapse

I dont usually see many despiste the typical arch linux, fedora or similar “exotic” distro user who used it years ago.

Or maybe someone who suddenly jumped into it.

I use Debian in container images and servers. Almost everything I touch whenever I have the option.

I only use Ubuntu when expectated, required or asked specifically by customer or such.

arty@feddit.org on 19 Aug 14:57 collapse

Would this be a correct summary: you use Debian a lot but only after potential issues have been ironed out, so you don’t see problems; you see problems with Ubuntu when colleagues or customers jump on immature releases?

echedeylr@lemmy.blahaj.zone on 19 Aug 22:01 next collapse

I meant in Lemmy I dont see complaints or bugs reported so much about Debian.

arty@feddit.org on 19 Aug 22:05 collapse

The first two pages of Linux@lemmy.ml show me 6 entries about such upgrades 🤷 Do you subscribe to this community?

echedeylr@lemmy.blahaj.zone on 20 Aug 05:41 collapse

No, and also is possible this is due to Debian 13 release plus increment in Lemmy usage in the past years.

I did not notice this before.

I am more around Debian community.

arty@feddit.org on 20 Aug 07:17 collapse

Yes, the change of the Lemmy user base was on my list of possible causes

echedeylr@lemmy.blahaj.zone on 19 Aug 22:04 collapse

Related to the thing: I like mature and safe transitions, specially if is supposed to run in production.

From my POV, and knowing I already take care if something for new Debian releases, Ubuntu, even in LTS, is the worse what I could wish because they release unreleased and/or unstable software, which did not even pass Debian releases statuses.

arty@feddit.org on 19 Aug 22:09 collapse

they release unreleased and/or unstable software

Is this true even for the point LTS releases?

echedeylr@lemmy.blahaj.zone on 20 Aug 05:40 collapse

Yes.

Ubuntu 24.04 is equivalent to Debian 13, except Ubuntu 24.04 was released last year.

Every Ubuntu version is based on a copy of Debian Sid, which is the unstable branch.

Eventually, they incorporate Debian patches too but keep some packages in different versions (libpng, the kernel, openssl and similar are the most I remember but they change between releases).

arty@feddit.org on 20 Aug 07:14 collapse

Thank you, I see what you mean. I think there’s a flaw in this logic, but I would rather not dive deeper into this topic.

eldavi@lemmy.ml on 19 Aug 14:40 next collapse

… plebeians do not come to complain to elite Lemmy users about their puny problems …

how does one identify elite lemmy users?

arty@feddit.org on 19 Aug 14:55 next collapse

It was an exaggerated version of “the registered users of Lemmy are all the elite smart enough to avoid Ubuntu”

technocrit@lemmy.dbzer0.com on 19 Aug 16:02 collapse

Well I use Arch…

(jk debian but maybe arch someday)

eldavi@lemmy.ml on 20 Aug 14:59 collapse

i got downvoted earlier for suggesting that “i use arch” slogan was a thing. lol

cornshark@lemmy.world on 19 Aug 15:40 next collapse

I’ve happily upgraded to Debian 13 with no issues (other than having to fix some of my python projects to deal with python 3.13)

arty@feddit.org on 19 Aug 16:16 collapse

Happy to hear that!

But what is your opinion about the amount of complaints you see recently?

cornshark@lemmy.world on 19 Aug 18:10 collapse

I haven’t heard any. What have you heard?

arty@feddit.org on 19 Aug 21:35 collapse

Just the first page of linux@lemmy.ml shows me three Debian 13 related posts beside mine

technocrit@lemmy.dbzer0.com on 19 Aug 16:02 next collapse

It’s been out for 10 days? As an elite lemmy user, I’m not going to gamble my setup on any 10 day old release.

arty@feddit.org on 19 Aug 16:18 next collapse

Spoken with true wisdom!

Do you think the number of less wise Debian users has changed in recent years?

LeFantome@programming.dev on 19 Aug 18:29 collapse

Sound strategy. So no arguing.

That said, Debian 13 has effectively been available for many months now. It did not just spring into the world as Debian is developed quite slowly and completely out in the open. The biggest difference when it becomes “official” is that a wider audience tries it.

So we cannot all just “wait and see”. Somebody has to use it and report back.

arty@feddit.org on 19 Aug 21:37 collapse

Thanks to differences in personalities and personal circumstances, there are usually enough people on the spectrum of risk aversion to test the pre-releases

monovergent@lemmy.ml on 19 Aug 16:28 next collapse

Among the people I know in real life, some post (non-tech stuff) to Reddit, some write reviews on Yelp, and some have called customer support hotlines for tech products. But none have ever posted online to ask for tech help, at least not to my awareness. Neither did I back when I used Windows, and not for a couple years even after switching to Linux.

I suspect most Ubuntu users are among that common crowd. They might look up an issue on the internet, but expect to ask for help from a dedicated support center. Or can’t be bothered to sign up for an account and post to the places that can answer their questions, which are usually very “techy” and possibly even intimidating to beginners.

As for my setup, the upgrade from Debian 12 to 13 went very smoothly. I had to fix a few obscure config files, but nobody else really touches them, and it didn’t stop it from booting. Replaced a deprecated package with its Flatpak equivalent as well. Only unsolved issue is the xfce4-panel consuming all of one core on occasion for no apparent reason.

arty@feddit.org on 19 Aug 21:34 collapse

Thank you for answering the actual question! This is a new angle I haven’t considered before.

Neo@lemmy.sdf.org on 19 Aug 18:14 next collapse

I wait for the first point release to upgrade, usually most of the issues have been worked out by then.

arty@feddit.org on 19 Aug 21:32 collapse

This is a wise strategy used by patient people!

Do you think the number of less wise Debian users has changed in recent years?

digdilem@lemmy.ml on 19 Aug 19:30 next collapse

It’s fine, I’m don’t know why you’re trying to generate shade with this post and comments.

arty@feddit.org on 19 Aug 21:30 collapse

What other hoops should I have jumped through to avoid being perceived as “generate shade”? I thought I did my best.

dosse91@lemmy.trippy.pizza on 20 Aug 09:20 next collapse

Personally I had zero issues with upgrading my server to Debian 13; it’s an installation dating back to Debian 9 or 10 with a lot of services installed.

The only inconvenience I had was that somehow Transmission 4.1.0 beta made it into debian stable, and beta clients are usually not allowed by private trackers. I switched to deluge and called it a day.

limelight79@lemmy.world on 20 Aug 09:28 next collapse

I need to do this, too. My server is still running Debian 11. Sounds like I need to update it to 12, then to 13 - ie do not directly go from 11 to 13.

arty@feddit.org on 20 Aug 12:46 collapse

What do you think of the observation that Linux@lemmy.ml had a surprising amount of reports of bungled upgrades?

ozymandias117@lemmy.world on 20 Aug 13:53 collapse

My take: There was one user that kept making post after post after post as they tried to upgrade, which made it seem like there were more issues than there were

Scrolling through it right now, every support question from the last week appears to be from the same person

arty@feddit.org on 20 Aug 14:37 collapse

Wow, what a catch! I should really pay more attention to people… Okay, this person having a really terrible upgrade would perfectly explain what I’m seeing.

Here’s a gold star for winning this topic 🌟

Geodad@lemmy.world on 20 Aug 11:31 next collapse

2/3 of my computers were completely fine after upgrading. Unfortunately, the one that was fucked was the one I game on.

arty@feddit.org on 20 Aug 11:58 collapse

Oh, that’s bad luck… Sorry to hear that!

porl@lemmy.world on 20 Aug 12:35 next collapse

I had absolutely no problems updating Debian to 13 from 11 to 12 to 13 one after the other. I also had no problems upgrading between Debian versions when I ran it as my main driver from the Potato release up until Ubuntu came out. Conversely, when I used Ubuntu from its original Warty release to around 2012 or so I had issues on literally every single version upgrade. Most relatively minor, but more than a couple requiring full reinstalls.

I would bet money that the vast majority of those having problems upgrading Debian are on “FrankenDebian” systems. Not all, but I am confident the majority are.

nfreak@lemmy.ml on 20 Aug 13:29 next collapse

It’s always hit or miss depending on the system. I upgraded one machine to Proxmox 9 and a VM and my VPS to Debian 13, the only one that gave me some trouble was my VM and that’s because I had an older package installed that was being a pain to remove because of dependency issues.

cevn@lemmy.world on 20 Aug 15:49 collapse

Ive had Ubuntu shit itself 6 different times after upgrade. People still use ubuntu??

arty@feddit.org on 20 Aug 17:50 collapse

I had smooth sailing with Ubuntu for many years, but I don’t judge other people’s choices

cevn@lemmy.world on 20 Aug 20:30 collapse

I would bet that any upgrade bug that happens in Debian is just as likely, if not more, to happen in Ubuntu. The most frequent issue which happened to me was not enough space on the boot partition for the new kernel which somehow never got figured out in a seamless manner.

You also wont get posts when people’s upgrades go well. So even if 99.99% upgrade fine, the .01% are going to go and complain since they dont have the experience to fix things themselves.