I hava a freshly installed Ubuntu Server 20.04 LTS.
I am using a static IP config (100% sure it is correct, also the YAML is correct)
If you then enter "netplan try" I get this:
--------------------------------------------------------------------------------
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
An error occurred: 'NetplanApply' object has no attribute 'state'
Reverting.
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
--------------------------------------------------------------------------------
"netplan generate && netplan apply" does work.
I found some other people having these issues too on freshly installed 20.04 and 21.10 and online forums.
I hava a freshly installed Ubuntu Server 20.04 LTS.
I am using a static IP config (100% sure it is correct, also the YAML is correct)
If you then enter "netplan try" I get this: ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- networkd. service, but it can still be activated by: networkd. socket
-------
Warning: Stopping systemd-
systemd-
An error occurred: 'NetplanApply' object has no attribute 'state'
Reverting. networkd. service, but it can still be activated by: networkd. socket ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
Warning: Stopping systemd-
systemd-
-------
"netplan generate && netplan apply" does work.
I found some other people having these issues too on freshly installed 20.04 and 21.10 and online forums.
System Infos:
lsb_release -rd:
Description: Ubuntu 20.04.3 LTS
Release: 20.04
apt-cache policy netplan.io: 20.04.2 20.04.2 20.04.2 500 de.archive. ubuntu. com/ubuntu focal-updates/main amd64 Packages dpkg/status de.archive. ubuntu. com/ubuntu focal/main amd64 Packages
netplan.io:
Installed: 0.103-0ubuntu5~
Candidate: 0.103-0ubuntu5~
Version table:
*** 0.103-0ubuntu5~
500 http://
100 /var/lib/
0.99-0ubuntu1 500
500 http://
systemd --version: hierarchy= hybrid
systemd 245 (245.4-4ubuntu3.13)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-
Thank you!