How did I fix «No apport report written because MaxReports is reached already» in Ubuntu 22?

How did I fix «Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install» / «Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142» after upgrading Ubuntu from 20 to 22?