Mar 13, 2023, 23:33 by [email protected]:
> You may be happy to learn you can't even install it as a separate package any
> more.
>
> apt install --reinstall systemd-resolved
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Package systemd-resolved is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> ...
>
> So the mystery is how it gets onto a system using a standard install and
> which package it comes from now and what is done with any presets
>
On Debian 12 Bookworm it could be done:
# aptitude show systemd-resolved
Package: systemd-resolved
Version: 252.6-1
New: yes
State: not installed
...
# aptitude install systemd-resolved --simulate
The following NEW packages will be installed:
libnss-myhostname{a} libnss-resolve{a} systemd-resolved
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 484 kB of archives. After unpacking 1,234 kB will be used.
Note: Using 'Simulate' mode.
Do you want to continue? [Y/n/?] n
Abort.
Regards,