Some additional details
Some additional details
Posted Aug 9, 2024 21:40 UTC (Fri) by zblaxell (subscriber, #26385)In reply to: Some additional details by bluca
Parent article: Distinguishing Debian testing from unstable
That seems like the optimal solution, and the best practice for anyone who produces images based on Debian.
An image of Debian requires the builder to make choices that can have material effects on software that runs on top of image. The image is a derived output of a subset of a snapshot of a branch of Debian with some set of configuration options applied (choosing only defaults is still a choice, and you can't install all packages because some are mutually exclusive). I'd expect anyone building an image intended for this use case to provide version strings with their own unique values so that the image can be distinguished from any other image, and meaningful dependency information (or at least bug metrics) can be derived from the version.
For non-image uses (i.e. the traditional mutable self-hosted OS where users can install or remove any package, including third-party packages, at any time, and use non-default configuration options), the os_release VERSION field has very limited utility. It's not quite zero--"VERSION_CODENAME=trixie" tells you that you're running on one of a few thousand distinct Debian versions within a 6-year window, but it's only one of 4 data points needed to identify what software is running on the system. The precision is low, but it's still more than Arch tells you--Arch doesn't provide VERSION at all.
