Comment 10 for bug 1906970

Revision history for this message
Ian Johnson (anonymouse67) wrote : Re: dpkg hook hostname error

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