I just upgraded kubuntu to 24.04.1. My usual network connection (a completely default/automatic wired ethernet) took a while to "connect" but did not get an IP. The following have no effect:
sudo dhclient eno1
sudo service NetworkManager restart
On a whim I tried this, which immediately fixed everything. Sadly this does not persist after rebooting. How can I make it permanent?
sudo dpkg-reconfigure network-manager
I suspect this runs /var/lib/dpkg/info/network-manager.postinst, but I'm not sure which parts could be important.
Internet just works when booting from a live ubuntu USB.
This system has been upgraded since kubuntu 18.04. Could there be old configs or conflicting packages that might be the cause?
The upgrade itself didn't go smoothly. It was interrupted during do-release-upgrade download. After restoring the /etc/apt sources.list from their *.distUpgrade backups, iterating the following commands got me to the finish line:
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
The first reboot hit "452: out of range pointer" during installation - Why? And how to fix it?, but reinstalling grub fixed that.
lsb_release -a now shows Ubuntu 24.04.1 LTS and apt lists only 5 packages "kept back due to phasing".