Control: tags -1 + moreinfo
Why are you masking systemd-resolved?
The service is not enabled and active by default
Michael
Am 03.09.22 um 09:11 schrieb Shubhra Prakash Nandi:
Package: systemd
Version: 247.3-7+deb11u1 amd64
Tags: systemd, systemd-resolved, masked, apt, upgrade
Hi, I am running Debian 11 (bullseye) with proposed-updates enabled.
The package version reported here is currently from proposed updates.
I have systemd-resolved.service masked in my system and
/etc/resolv.conf symlink is removed and replaced with a empty
/etc/resolv.conf file managed by Network Manager (rc-manager=file
config).
Whenever there is a systemd package upgrade available along with other
packages system upgrade fails. I have to manually reconfigure the
packages using dpkg to complete the upgrade. I think any dependency on
systemd services being enabled or running or restart-able during
package upgrade should be removed. Below is log from unattended-
upgrades dpkg at shutdown.
shubhra@shubhra-pc:~$ cat /var/log/unattended-upgrades/unattended-
upgrades-dpkg.log
Log started: 2022-09-03 03:46:53
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libc6_2.31-13+deb11u4_amd64.deb ...
Unpacking libc6:amd64 (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Setting up libc6:amd64 (2.31-13+deb11u4) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libc-bin_2.31-13+deb11u4_amd64.deb ...
Unpacking libc-bin (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Setting up libc-bin (2.31-13+deb11u4) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libsystemd0_247.3-7+deb11u1_amd64.deb ...
Unpacking libsystemd0:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Setting up libsystemd0:amd64 (247.3-7+deb11u1) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../systemd-timesyncd_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd-timesyncd (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libpam-systemd_247.3-7+deb11u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../systemd_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../udev_247.3-7+deb11u1_amd64.deb ...
Unpacking udev (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libudev1_247.3-7+deb11u1_amd64.deb ...
Unpacking libudev1:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Setting up libudev1:amd64 (247.3-7+deb11u1) ...
Setting up systemd (247.3-7+deb11u1) ...
Failed to try-restart systemd-resolved.service: Unit systemd-
resolved.service is masked.
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../0-systemd-sysv_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd-sysv (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../1-libavahi-ui-gtk3-0_0.8-5+deb11u1_amd64.deb
...
Unpacking libavahi-ui-gtk3-0:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../2-libavahi-gobject0_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-gobject0:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../3-libavahi-glib1_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-glib1:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../4-libavahi-client3_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../5-avahi-daemon_0.8-5+deb11u1_amd64.deb ...
Unpacking avahi-daemon (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../6-libavahi-core7_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-core7:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../7-libavahi-common3_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../8-libavahi-common-data_0.8-5+deb11u1_amd64.deb
...
Unpacking libavahi-common-data:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../9-libk5crypto3_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1)
...
Setting up libk5crypto3:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libkrb5support0_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.18.3-6+deb11u2) over (1.18.3-
6+deb11u1) ...
Setting up libkrb5support0:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libkrb5-3_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1)
...
Setting up libkrb5-3:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 182296 files and directories currently
installed.)
Preparing to unpack .../libgssapi-krb5-2_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.18.3-6+de