Thanks, Julian. This behavior was introduced by the netplan integration where we create a backup of the existing network manager connections. I'll look for a better place to store the backups.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/2021937 Title: preinst writes to /root Status in network-manager package in Ubuntu: New Bug description: As part of my sandboxed APT I noticed that the package failed to install as it was trying to write to /root. /root is a user directory, not a system one, which may not even exist because the administrator changed it to like /home/root, for example, and we definitely should not be writing system files in user directories. Preparing to unpack .../16-network-manager_1.42.4-1ubuntu4_amd64.deb ... mkdir: cannot create directory ‘/root/NetworkManager.bak’: Read-only file system cp: cannot create directory '/root/NetworkManager.bak/system-connections_1.42.4-1ubuntu2': No such file or directory dpkg: error processing archive /tmp/apt-dpkg-install-x9x0Qo/16-network-manager_1.42.4-1ubuntu4_amd64.deb (--unpack): new network-manager package pre-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2021937/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp