web-dev-qa-db-fra.com

Impossible de supprimer ou d'installer kerio-control-vpnclient

J'avais installé "kerio-control-vpnclient" dans une version inférieure depuis que j'ai téléchargé et essayé de mettre à niveau vers une version plus récente (9.0 à 9.2). Je ne peux ni l'installer ni l'enlever maintenant! c'est la sortie de Sudo dpkg --configure kerio-control-vpnclient

    Setting up kerio-control-vpnclient (9.2.7.2921-1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to start kerio-kvc.service: Unit kerio-kvc.service is not loaded properly: Exec format error.
See system logs and 'systemctl status kerio-kvc.service' for details.
invoke-rc.d: initscript kerio-kvc, action "start" failed.
● kerio-kvc.service - Kerio Control VPN Client
   Loaded: error (Reason: Exec format error)
   Active: inactive (dead)

Oct 04 22:03:24 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
dpkg: error processing package kerio-control-vpnclient (--configure):
 installed kerio-control-vpnclient package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 kerio-control-vpnclient

c'est la sortie de apt-get install -f

E: The package kerio-control-vpnclient needs to be reinstalled, but I can't find an archive for it.
1
Artnect

Ceci est ma première exécution avec pkill pour trouver le chemin de mon système pour pkill, puis modifiez votre /lib/systemd/system/kerio-kvc.service et utilisez le chemin complet sur ExecReload pour pkill.

À la fin, cela devrait ressembler à ceci:

[Unit]
Description=Kerio Control VPN Client
After=network.target
[Service]
Type=forking
Restart=always
RestartSec=5
ExecStart=/usr/sbin/kvpncsvc /var/lib/kerio-control-vpn 2>&1 | logger -p daemon.err -t kerio-control-vpnclient 2>/dev/null
ExecReload=/usr/bin/pkill -SIGHUP kvpncsvc
[Install]
Alias=kerio-vpn
Alias=kerio-control-vpn
Alias=kerio-control-vpnclient
WantedBy=multi-user.target
1
Camilo Casadiego