You seem to have a bad /etc/init.d/netplan file on the system; it's not coming from the netplan.io package. You should make sure you do not have the 'netplan' package installed (the network plan server).
Please attach the contents of /etc/NetworkManager/NetworkManager.conf. ** Package changed: netplan.io (Ubuntu) => network-manager (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771971 Title: dns broken after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1771971/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs