Attempt to install connman-vpn via:
sudo apt-get update
sudo apt-get install connman-vpn
The following was returned:
Unpacking connman-vpn (1.33-3+deb9u1) ...
dpkg: error processing archive /var/cache/apt/archives/connman-vpn_1.33-3+deb9u1_armhf.deb (--unpack):
trying to overwrite '/etc/dbus-1/system.d/connman-vpn-dbus.conf', which is also in package armv7-connman-osmc 1.3.5-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help is appreciated.
That’s your answer. A file can only be “owned” by one package. In this case file /etc/dbus-1/system.d/connman-vpn-dbus.conf is already owned by the package armv7-connman-osmc.
Bottom line: you shouldn’t be trying to install connman-vpn, since it conflicts with an OSMC package.
Thanks for that info. I thought VPN support was recently included for connman. What’s needed to setup connman-vpn?
VPN support under connman is still “work in progress”. That is to say, it’s not yet ready.
Nevertheless, openvpn is now installed as part of the standard build and can be configured either manually or through a Kodi add-on.
Ok, great. I wasn’t sure of the status of VPN with connman to-date. I’ve had good success with openvpn in osmc on Pi and will go that route for now.
Thanks for the info.
It’s all there, but a systemd unit (connman-vpnd) needs to be enabled manually.