On Wed, 2024-04-17 at 23:43 +0200, Santiago Vila wrote: > Yes. An empty $2 means that the package is installed for the > very first time, i.e. installed by debootstrap. > > This is actually explained in the last question here: > > /usr/share/doc/base-files/FAQ
Isn't that quite unfortunate? It leaves out any legacy installations (and many people never re- install Debian, but just continuously upgrade it). I mean I can fully understand if it's to fragile to automatically update base-files (not just creating new dirs, but e.g. also changed directories), but: - Wouldn't it be possible to have a small tool that is manually run and which e.g. compare the current situation with what a pristine installation would get and that spits out some commands that would adapt this... or per default be like --dry-run and only with some extra param do everything? - Or at least *if* something changes - which is anyway quite rate - it should IMO into NEWS.Debian and the release notes, so that people that upgrade can catch up. Cheers, Chris.