On Wed, Nov 27, 2024 at 11:59:05PM +0100, Francesco Poli wrote:
>...
> Please also note that VERSION_CODENAME is not necessarily the correct
> value: for instance, one could have a system where base-files is from
> Debian stable, but a great number of packages are from Debian testing
> (in that case the sysadmin could decide that the most relevant release
> is "testing")...
> Moreover, VERSION_CODENAME does not distinguish between systems
> (mainly) running Debian testing, possibly with some packages from
> Debian unstable, and systems running Debian unstable.
>...

These are actually very good points.

apt knows what release a package is from,
that's also required for pinning.

I don't know apt internals, I would guess there is some way to get apt 
to tell you the release it downloaded the package from?

cu
Adrian

Reply via email to