This bug also affects installing proftpd under 22.04.
apt install proftpd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'proftpd-core' instead of 'proftpd'
proftpd-core is already the newest version (1.3.7c+dfsg-1build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
[master d41b86764d] saving uncommitted changes in /etc prior to apt run
Author: cseadmin <email address hidden>
1 file changed, 1 insertion(+), 1 deletion(-)
Setting up proftpd-core (1.3.7c+dfsg-1build1) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
proftpd-core
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
This bug also affects installing proftpd under 22.04.
apt install proftpd dfsg-1build1) . dfsg-1build1) ... systemd- sysv-install. systemd- sysv-install enable proftpd deb-systemd- invoke line 142.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'proftpd-core' instead of 'proftpd'
proftpd-core is already the newest version (1.3.7c+
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
[master d41b86764d] saving uncommitted changes in /etc prior to apt run
Author: cseadmin <email address hidden>
1 file changed, 1 insertion(+), 1 deletion(-)
Setting up proftpd-core (1.3.7c+
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
Could not execute systemctl: at /usr/bin/
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
proftpd-core
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)