I tried to install dnscrypt-proxy and after i installed it this happen.
o@o:~$ sudo apt-get install gparted Reading package lists... Done Building dependency tree Reading state information... Done gparted 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 dnscrypt-proxy (1.6.0-3pmo1~vivid) ... Failed to start dnscrypt-proxy.service: Unit dnscrypt-proxy.service failed to load: Invalid argument. See system logs and 'systemctl status dnscrypt-proxy.service' for details. invoke-rc.d: initscript dnscrypt-proxy, action "start" failed. dpkg: error processing package dnscrypt-proxy (--configure): subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: dnscrypt-proxy E: Sub-process /usr/bin/dpkg returned an error code (1)
Edit: im new on linux. I install ubuntu on my disk 1 week ago.
type this on a terminal: systemctl status dnscrypt-proxy.service If you get something along this lines
dnscrypt-proxy.service - DNSCrypt proxy
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Docs: man:dnscrypt-proxy(8)
systemd[1]: dnscrypt-proxy.service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Then it's a bug. You'd have to wait for the developer to fix it. In the meantime remove the package.
Check the file /var/lib/dpkg/info/dnscrypt-proxy.prerm, the pre-removal script and search for the command to stop the service, something like service … stop. Comment the lines out and try it again.