chewy74
Posts: 14
Joined: Thu Dec 18, 2014 9:20 pm

[HELP]openvpn won't install or remove

Thu Jan 22, 2015 2:10 am

I'm trying to update, or remove openvpn and it won't allow either one to be done.
What can I do to remove it so I can try a fresh install?
Thanks.

So far I've tried these commands,but same errors
  • apt-get -f install
    apt-get install --reinstall openvpn
    apt-get -f install
    apt-get remove --purge openvpn
Also tried everything found here
https://journalxtra.com/linux/fixing-th ... ng-errors/

Code: Select all

pi@raspberrypi ~ $ sudo apt-get install openvpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
openvpn is already the newest version.
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]? y
Setting up openvpn (2.2.1-8+deb7u3) ...
: not found/openvpn: 6: /etc/default/openvpn:
invoke-rc.d: initscript openvpn, action "cond-restart" failed.
: not found/openvpn: 6: /etc/default/openvpn:
invoke-rc.d: initscript openvpn, action "restart" failed.
dpkg: error processing openvpn (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 openvpn
E: Sub-process /usr/bin/dpkg returned an error code (1)

Return to “Raspbian”