I've located the issue to be an issue with Python 3.12, apperently because in 3.12 the function/method was renamed or completely removed.Sep 8 15:11:40 server1 systemd[1]: Stopping networking.service - Network initialization...
Sep 8 15:11:40 server1 networking[3464]: networking: Deconfiguring network interfaces
Sep 8 15:11:40 server1 networking[3469]: error: main exception: 'RawConfigParser' object has no attribute 'readfp'
Sep 8 15:11:40 server1 systemd[1]: networking.service: Deactivated successfully.
Sep 8 15:11:40 server1 systemd[1]: Stopped networking.service - Network initialization.
Sep 8 15:11:40 server1 systemd[1]: Starting networking.service - Network initialization...
Sep 8 15:11:40 server1 networking[3471]: networking: Configuring network interfaces
Sep 8 15:11:41 server1 networking[3477]: error: main exception: 'RawConfigParser' object has no attribute 'readfp'
Sep 8 15:11:41 server1 systemd[1]: Finished networking.service - Network initialization.
To workaround the issue, i've downgraded some python packages, and libs to 3.11 manually.
Below packages seem to be enough (at least for me).
But are there an better solution, because this is bad, that I have to manually downgrade these packages.dpkg -l |grep python |grep 3.11
ii libpython3-stdlib:amd64 3.11.2-1+b1 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.11:amd64 3.11.2-6+deb12u3 amd64 Shared Python runtime library (version 3.11)
ii libpython3.11-minimal:amd64 3.11.2-6+deb12u3 amd64 Minimal subset of the Python language (version 3.11)
ii libpython3.11-stdlib:amd64 3.11.2-6+deb12u3 amd64 Interactive high-level object-oriented language (standard library, version 3.11)
ii python3-minimal 3.11.2-1+b1 amd64 minimal subset of the Python language (default python3 version)
iU python3-tk:amd64 3.11.2-3 amd64 Tkinter - Writing Tk applications with Python 3.x
ii python3.11 3.11.2-6+deb12u3 amd64 Interactive high-level object-oriented language (version 3.11)
ii python3.11-minimal 3.11.2-6+deb12u3 amd64 Minimal subset of the Python language (version 3.11