El 6/11/22 a las 2:01, Witold Baryluk escribió:
I am somehow confused by the current solution in base-files 12.3.

Please note that what I did in 12.3 does not try to solve everything, only what it was feasible to do in base-files. I do not claim that the situation may not improve, only that such improvement, if any, should come from some place other than base-files.

bookworm:
[...]
sid:
[...]

How one can distinguish between testing / bookworm and sid now? Do I need
to parse files in /etc/apt/sources.list.d/ now, maybe using `apt-cache
policy base-files` ?

Yes, looking at your apt sources would be a good idea. Note that the unability to determine the distribution just by looking at files provided by base-files has been the case for a lot of time, in fact it is documented in the base-files FAQ:

/usr/share/doc/base-files/FAQ

However, just because the real distribution may be inferred by looking at your apt sources does not necessarily mean that you have to do that by hand. In theory, it would be possible to modify lsb_release command so that it looks at your apt sources for you.

But that's not something that may be done in base-files anymore.

Thanks.

Reply via email to