The following packages have unmet dependencies: libnss-systemd : Depends: systemd (= 245.4-4ubuntu3.24) libpam-systemd : Depends: systemd (= 245.4-4ubuntu3.24) systemd : Depends: libsystemd0 (= 245.4-4ubuntu3.23) but 245.4-4ubuntu3.24 is installed systemd-sysv : Depends: systemd (= 245.4-4ubuntu3.24) systemd-timesyncd : Depends: systemd (= 245.4-4ubuntu3.24)
如果尝试 sudo apt --fix-broken install 修复则会报错
1 2 3 4 5 6 7
Preparing to unpack .../systemd_245.4-4ubuntu3.24_amd64.deb ... Unpacking systemd (245.4-4ubuntu3.24) over (245.4-4ubuntu3.23) ... dpkg: error processing archive /var/cache/apt/archives/systemd_245.4-4ubuntu3.24_amd64.deb (--unpack): unable to make backup link of './bin/systemctl' before installing new version: Operation not permitted dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/systemd_245.4-4ubuntu3.24_amd64.deb