Add the following line: deb http://apt.osmc.tv jessie-devel main
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.
Doesn’t work for me unfortunately. After reboot /etc/resolv.conf is still a symlink to /var/run/connman/resolv.conf which doesn’t exist. Restarting connman doesn’t help.
This is with connman 1.3.3-3 and not 1.3.3-2 like the patch you linked:
$ dpkg -l | grep connman
ii armv7-connman-osmc 1.3.3-3 armhf connman for OSMC
Deleting /etc/resolv.conf now fixes the problem. Once that symlink is gone connman creates (after a restart) a proper /etc/resolv.conf. This does survive a connman restart and full reboot.
This is an interisting finding because that didn’t work for me. Let me check again so that I can update Sam.
But also as a message to others please delete the old symlink before reboot.
Maybe you are using 1.3.3-2?
I just checked and I think 1.3.3-3 removes /usr/lib/tmpfiles.d/connman-resolv.conf which is responsible for recreating the /etc/resolv.conf symlink on reboot.
No I am on 1.3.3-3 and I just rechecked, deleted /etc/resolv.conf and rebooted. And now all good!
Maybe it was a mirror not updated earlier. @sam_nazarko all good your quick fix works.