Thank you @wdoekes for confirming it works on Focal!
I've tested netplan.io 0.103-0ubuntu7.1 from impish-proposed and attached the autopkgtest logs to the bug description, according to https://wiki.ubuntu.com/NetplanUpdates.
The 'netplan try' command was run successfully without any "An error occurred" message:
root@sru-ii:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu7.1 amd64 YAML network configuration abstraction runtime library
ii netplan.io 0.103-0ubuntu7.1 amd64 YAML network configuration abstraction for various backends
root@sru-ii:~# netplan try
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
Do you want to keep these settings?
Press ENTER before the timeout to accept the new configuration
Changes will revert in 115 seconds
Reverting.
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
root@sru-ii:~# netplan try
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
Do you want to keep these settings?
Press ENTER before the timeout to accept the new configuration
Changes will revert in 115 seconds
Configuration accepted.
Thank you @wdoekes for confirming it works on Focal!
I've tested netplan.io 0.103-0ubuntu7.1 from impish-proposed and attached the autopkgtest logs to the bug description, according to https:/ /wiki.ubuntu. com/NetplanUpda tes.
The 'netplan try' command was run successfully without any "An error occurred" message:
root@sru-ii:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu7.1 amd64 YAML network configuration abstraction runtime library
ii netplan.io 0.103-0ubuntu7.1 amd64 YAML network configuration abstraction for various backends
root@sru-ii:~# netplan try networkd. service, but it can still be activated by: networkd. socket
Warning: Stopping systemd-
systemd-
Do you want to keep these settings?
Press ENTER before the timeout to accept the new configuration
Changes will revert in 115 seconds networkd. service, but it can still be activated by: networkd. socket networkd. service, but it can still be activated by: networkd. socket
Reverting.
Warning: Stopping systemd-
systemd-
root@sru-ii:~# netplan try
Warning: Stopping systemd-
systemd-
Do you want to keep these settings?
Press ENTER before the timeout to accept the new configuration
Changes will revert in 115 seconds
Configuration accepted.