it was always the proftpd-core config problem the following solved it for me:
sudo apt remove proftpd* sudp apt purge proftpd* sudo apt-get install proftpd* sudo service proftpd start proftpd.service - ProFTPD FTP Server Loaded: loaded (/lib/systemd/system/proftpd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-07-19 12:53:36 +07; 9min ago Main PID: 12406 (proftpd) Tasks: 1 (limit: 4632) Memory: 4.1M -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933318 Title: package proftpd-core 1.3.7a+dfsg-12 failed to install/upgrade: installed proftpd-core package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1933318/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs