Problem
Almost all networking fails. Domain names will not resolve, websites won't load, and even most ping commands on a local network will fail. For example:
ping localhostresults in 100% packet loss and will always time out if a threshold is set.ping 8.8.8.8results in 100% packet loss and will always time out if a threshold is set.ping ::1(localhost on IPv6) works.ping 2001:4860:4860::8888(Google DNS on IPv6) results inping: connect: Network is unreachable.
The outputs of ip addr indicate that my ethernet adapter is not found among the devices listed, and lshw also shows it as missing.
I assume from this that there are some remaining uninstalled drivers or that the upgrade did not successfully upgrade the device drivers, in addition to potential other networking issues generated by this upgrade process. So there may be more than one problem here; the ping issue is the most fundamental, as it prevents me from reinstalling packages that might fix additional issues.
I have attempted some fixes to manually restore networking capabilities, such as adding an entry for my wifi device in /etc/network/interfaces and also again in /etc/netplan/01-network-manager-all.yaml. These were not successful. I don't know enough to try more fixes, which is why I am asking here.
Additional Context
systemctl status networking
There may be potential issues with resolved.
$ systemctl status networking
ifup[1634]: /etc/network/if-up.d/resolved: 12: mystatedir: not found
systemd-resolved
The systemd / systemctl logs indicate a degraded state for systemd-resolved - it loops back and forth between two degraded states as indicated by the logs.
$ systemctl status systemd-resolved:
Using degraded feature set UDP instead of TCP for DNS server 192.168.1.1
Using degraded feature set TCP instead of UDP for DNS server 192.168.1.1
...
I have saved the output of the wireless-info shell script which has command outputs with details redacted; it is available as a GitHub gist for maximal information.