This happened to me when upgrading from Groovy to Hirsute just now, with the same symptoms as above - I had `search .` in resolv.conf, but nothing creating that entry in /etc/netplan or in /etc/systemd/resolved.conf.
I fixed the broken package by fixing the erroneous entry /etc/postfix/main.cf (removing the ".." at the end of the hostname) and then running:
This happened to me when upgrading from Groovy to Hirsute just now, with the same symptoms as above - I had `search .` in resolv.conf, but nothing creating that entry in /etc/netplan or in /etc/systemd/ resolved. conf.
I fixed the broken package by fixing the erroneous entry /etc/postfix/ main.cf (removing the ".." at the end of the hostname) and then running:
sudo dpkg-reconfigure --force postfix
sudo systemctl reload postfix