** Changed in: systemd (Ubuntu) Status: New => Triaged ** Changed in: systemd (Ubuntu) Importance: Undecided => Medium
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1649370 Title: libnss-{resolve,myhostname} don’t install correctly if previously removed without being purged Status in systemd package in Ubuntu: Triaged Bug description: # grep hosts /etc/nsswitch.conf hosts: files myhostname dns # apt install libnss-resolve # grep hosts /etc/nsswitch.conf hosts: files myhostname resolve [!UNAVAIL=return] dns # apt remove libnss-resolve # grep hosts /etc/nsswitch.conf hosts: files myhostname dns # apt install libnss-resolve # grep hosts /etc/nsswitch.conf hosts: files myhostname dns libnss-resolve.postinst and libnss-myhostname.postinst only update /etc/nsswitch.conf if [ "$1" = configure ] && [ -z "$2" ]. If the package was previously removed but not purged (it is in the Config- Files state), dpkg passes the previous version as $2, so this fails. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1649370/+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