|
|
Log in / Subscribe / Register

Just get rid of the sid name

Just get rid of the sid name

Posted Aug 17, 2024 10:32 UTC (Sat) by ralfj (subscriber, #172874)
In reply to: Just get rid of the sid name by bluca
Parent article: Distinguishing Debian testing from unstable

No, there is no upgrade button. I just keep doing "apt upgrade". From all you say, just installing regular updates does not change the "identity" of an installation: you keep insisting that it doesn't matter whether a system is outdated or not, so presumably, "apt upgrade" is by definition an identity-preserving operation.

But once every 2 years, "apt upgrade" will change my testing system to have a different VERSION_CODENAME. That's incoherent and a violation of the concept of "identity" as you have described it, at least to the best of my understanding.


to post comments

Just get rid of the sid name

Posted Aug 19, 2024 18:12 UTC (Mon) by bluca (subscriber, #118303) [Link] (2 responses)

> No, there is no upgrade button. I just keep doing "apt upgrade"

I doubt that? You'd need a dist-upgrade, given there will be stuff uninstalled, so a normal upgrade just won't do it.

> But once every 2 years, "apt upgrade" will change my testing system to have a different VERSION_CODENAME. That's incoherent and a violation of the concept of "identity" as you have described it, at least to the best of my understanding.

It is very much not, as a new release cycle begins. They exist, and they matter, and we do tons of things based on them, not just operational (like freezes), but even add features or remove features or break backward compatibility or remove old stuff and so on and so forth, all based on release codenames and lifecycles. Heck we even automated this, you can add some machine-readable strings in maintainer scripts that encodes "drop after trixie" or so, and a bot will automatically open MRs based on that, depending on where we are in the lifecycle.

Just get rid of the sid name

Posted Aug 20, 2024 6:53 UTC (Tue) by ralfj (subscriber, #172874) [Link] (1 responses)

I often have to do "dist-upgrade"/"full-upgrade" even within a release cycle so that's not really a distinguishing factor.

So I still have no idea how you define "identity". It would be really good to figure out some properties of this notion that seems to be so important for os-release, like defining which operations fundamentally preserve the identity of a system and which ones fundamentally change it. But if the same operation ("apt full-upgrade", without any changes to any configuration) is sometimes identity-preserving and sometimes identity-altering, I fail to see how this is an objective definition. It seems to be very much a case-by-case thing: you decided that "trixie" and "testing" have the same identity right now, but "testing" and "unstable" do not. But other people can very reasonably arrive at different decisions about these identity questions, as there's no underlying objective definition that would tell us the answer. It is therefore no surprise that when you just assert that testing and unstable have a different identity (which seems to be the basis for the claim that base-files is buggy), and claim that this is a *fact* without even admitting the possibility that there is anything subjective about this claim, and entirely refuse to even consider that there might be valid reasoning that arrives at a different conclusion (such as a different idea of "identity"), people are not very interested in engaging with that line of arguments.

I hope this feedback helps you understand why the discussion went the way it did. There are certainly parts that I missed, but the above seemed to me like a big contributor to the general vibe in that thread. Either way, good luck with your future endeavors!

Just get rid of the sid name

Posted Aug 20, 2024 12:58 UTC (Tue) by bluca (subscriber, #118303) [Link]

> I often have to do "dist-upgrade"/"full-upgrade" even within a release cycle so that's not really a distinguishing factor.

There's even something more on top of that when the aliases changes in the repo metadata, I cannot remember exactly how it looks like, but it was pretty evident last time it happened

> It would be really good to figure out some properties of this notion that seems to be so important for os-release, like defining which operations fundamentally preserve the identity of a system and which ones fundamentally change it.

It really shouldn't! It's something that implementers have to chose. The point is that in Debian we already make that choice, we always have, and we use it consistently thorough the project, apart in this one case. The most authoritative source of truth is most likely the apt repositories signed metadata. I can't think of anything else that would be more authoritative than that. Check what they define at the top:

https://ftp.debian.org/debian/dists/bookworm/InRelease
https://ftp.debian.org/debian/dists/stable/InRelease
https://ftp.debian.org/debian/dists/trixie/InRelease
https://ftp.debian.org/debian/dists/testing/InRelease
https://ftp.debian.org/debian/dists/sid/InRelease
https://ftp.debian.org/debian/dists/unstable/InRelease

Hint: the aliases are literally aliases, ie symlinks. The project already decides the exact time the aliases change. It already decided, and always has, that unstable's codename is 'sid'. It already decided that testing's codename is never, was never, and will never be 'sid', but will always be the codename of the next stable release currently in development. There is a very definite and well-defined moment in which the oldstable, stable and testing aliases switch and change which codename they point at. This already happens, has always happened, and I don't see any reason why it wouldn't continue to happen. It's all coherent and well-defined, and used consistently thorough the distribution, apart from one detail: os-release in sid says that sid is trixie. This happens nowhere else that I am aware of. Hence why I'm trying to fix it.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds