Quantcast
Viewing all articles
Browse latest Browse all 4852

Raspberry Pi OS • Removing exim4-base fails to remove systemd timer symlink

This is a removal issue with the package exim4-base. On install, PiOS automatically configures the systemd timer exim4-base.timer -> /lib/systemd/system/exim4-base.timer (something PiOS is quite bad about doing -- it should leave enabling/disabling of all packages to the user) However, the problem is that removing the exim4-base package fails to remove the timer it configured on install.

Following removal of the packages the following was still configured:

Code:

$ l /etc/systemd/system/timers.target.wants/total 8drwxr-xr-x  2 root root 4096 Feb 11 20:36 .drwxr-xr-x 20 root root 4096 Feb 11 20:38 ..lrwxrwxrwx  1 root root   43 Dec  5 00:11 apt-daily-upgrade.timer -> /lib/systemd/system/apt-daily-upgrade.timerlrwxrwxrwx  1 root root   35 Dec  5 00:11 apt-daily.timer -> /lib/systemd/system/apt-daily.timerlrwxrwxrwx  1 root root   37 Dec  5 00:11 e2scrub_all.timer -> /lib/systemd/system/e2scrub_all.timerlrwxrwxrwx  1 root root   36 Feb 11 20:36 exim4-base.timer -> /lib/systemd/system/exim4-base.timer                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^lrwxrwxrwx  1 root root   32 Dec  5 00:11 fstrim.timer -> /lib/systemd/system/fstrim.timerlrwxrwxrwx  1 root root   35 Dec  5 00:12 logrotate.timer -> /lib/systemd/system/logrotate.timerlrwxrwxrwx  1 root root   32 Dec  5 00:16 man-db.timer -> /lib/systemd/system/man-db.timerlrwxrwxrwx  1 root root   41 Jan 20 02:33 phpsessionclean.timer -> /lib/systemd/system/phpsessionclean.timer
Perhaps systemd will automagically unlink the missing timer, but the uninstall should ensure that links the package created are removed.

Statistics: Posted by drankinatty — Mon Feb 12, 2024 2:48 am



Viewing all articles
Browse latest Browse all 4852

Trending Articles