Note, on 17.10 defautl configuration libnss-resolve is not longer used by default, so you may remove it.
Also note: Failed to enable unit: Unit file /etc/systemd/system/systemd-resolved.service is masked. dpkg: error processing package libnss-resolve:amd64 (--configure): subprocess installed post-installation script returned error exit status 1 This is not the default configuration, please do: $ sudo systemctl unmask systemd-resolved To return your system into the default configuration. ** Changed in: systemd (Ubuntu) Status: New => Invalid -- 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/1735703 Title: package libnss-resolve:amd64 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in systemd package in Ubuntu: Invalid Bug description: Just after update from Ubuntu 16.04 LTS up-to-date ProblemType: Package DistroRelease: Ubuntu 17.10 Package: libnss-resolve:amd64 (not installed) ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 Uname: Linux 4.13.0-17-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.5 AptOrdering: libnss-resolve:amd64: Install NULL: ConfigurePending Architecture: amd64 Date: Fri Dec 1 11:48:22 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-11-06 (25 days ago) InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5.1 SourcePackage: systemd Title: package libnss-resolve:amd64 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to artful on 2017-12-01 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1735703/+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