Unable to install FTP

Hi,

I’ve a Raspberry Pi 3 with Kodi and Pi-Hole.
It al works great! Thanks so far!

Yesterday I installed PiVPN to use my network and Pi-Hole while in the car or in the office.
Unfortunately, I’m facing a problem now.

To get everything working on my phone, i need to copy the .ovpn file from the Pi to my phone.

Tutorials say i need to copy the file from the Pi with a SFTP program, like ProFTP of vsFTPD.
Before using Diet-Pi logging in true FTP was easy. With Diet-Pi i need to install FTP program. But both programs wont instal!

I’m getting a blue screen (logged in with Putty) with the following text;

│ Apt-get has failed:                                                │
│  - Apt string = proftpd-basic                                      │
│  - Error code = 100                                                │
│  - Software Title = ProFTP: lightweight ftp server                 │
│  - Apt log = /var/log/dietpi-software_apt.log                      │
│                                                                    │
│ Please report this issue to DietPi (INCLUDING THE APT LOG) so it   │
│ can be investigated.                                               │
│                                                                    │
│ DietPi-Software will now                                           │

Log is;

Preconfiguring packages ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading $
Removing proftpd-basic (1.3.5-1.1+deb8u2) ...
Selecting previously unselected package vsftpd.
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading $
Preparing to unpack .../vsftpd_3.0.2-17+deb8u1_armhf.deb ...
Unpacking vsftpd (3.0.2-17+deb8u1) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up netfilter-persistent (1.0.3+deb8u1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
A dependency job for netfilter-persistent.service failed. See 'journalctl -xn' for details.
invoke-rc.d: initscript netfilter-persistent, action "start" failed.
dpkg: error processing package netfilter-persistent (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of iptables-persistent:
 iptables-persistent depends on netfilter-persistent (= 1.0.3+deb8u1); however:
  Package netfilter-persistent is not configured yet.

dpkg: error processing package iptables-persistent (--configure):
 dependency problems - leaving unconfigured
Setting up vsftpd (3.0.2-17+deb8u1) ...
Adding user ftp to group ftp

vsftpd directory (/srv/ftp) already exists, doing nothing.
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
 netfilter-persistent
 iptables-persistent
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’ve tried;
apt-get update
apt-get upgrade
Mirror apt (in Dietpi-config)

Nothing works.

I’m planning to go back to a back-up made a month ago, but if i’m missing something, let me know!


–Maybe some extra info–
service vsftpd status

root@KodiPi:~# service vsftpd status
● vsftpd.service
   Loaded: masked (/dev/null)
   Active: inactive (dead)

Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.

service proftpd status

root@KodiPi:~# service proftpd status
● proftpd.service - LSB: Starts ProFTPD daemon
   Loaded: loaded (/etc/init.d/proftpd)
   Active: failed (Result: exit-code) since Wed 2017-08-16 19:30:59 CEST; 3min 51s ago
  Process: 1129 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

Aug 16 19:30:59 KodiPi systemd[1]: Starting LSB: Starts ProFTPD daemon...
Aug 16 19:30:59 KodiPi proftpd[1129]: Starting ftp server: proftpd2017-08-16 19:30:59,354 KodiPi proftpd[1148]: warning: unable to determine IP address of 'KodiPi'
Aug 16 19:30:59 KodiPi proftpd[1129]: 2017-08-16 19:30:59,355 KodiPi proftpd[1148]: error: no valid servers configured
Aug 16 19:30:59 KodiPi proftpd[1129]: 2017-08-16 19:30:59,355 KodiPi proftpd[1148]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Aug 16 19:30:59 KodiPi proftpd[1129]: failed!
Aug 16 19:30:59 KodiPi systemd[1]: proftpd.service: control process exited, code=exited status=1
Aug 16 19:30:59 KodiPi systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Aug 16 19:30:59 KodiPi systemd[1]: Unit proftpd.service entered failed state.

The services seem to be present.

I gave up. Tried to start the services, removed PiVPN, nothing worked anymore.

I have installed a backup of two months old. VsFTPd has been installed at once. This weekend I will try PiVPN again.