How to Install and Uninstall libnss-myhostname Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 27,2024

1. Install "libnss-myhostname" package

In this section, we are going to explain the necessary steps to install libnss-myhostname on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libnss-myhostname

2. Uninstall "libnss-myhostname" package

Learn how to uninstall libnss-myhostname on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libnss-myhostname $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnss-myhostname package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libnss-myhostname
Architecture: amd64
Version: 229-4ubuntu21.31
Multi-Arch: same
Priority: extra
Section: admin
Source: systemd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian systemd Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 162
Depends: libc6 (>= 2.16)
Breaks: systemd (<< 222-1)
Replaces: systemd (<< 222-1)
Filename: pool/main/s/systemd/libnss-myhostname_229-4ubuntu21.31_amd64.deb
Size: 36214
MD5sum: c2b794107e9e0c88b999e66a5faea1d7
SHA1: 2c2c8ebb73f8cf466bc4623248ac6ba10edff0bd
SHA256: 84d87880a2db52660dfe8f93aab4ea91ba9256ac1a5aadb3f6abb5f48110a5dc
SHA512: 686edb55f36ca165c599fdcc46573a8b03cfa524a0c7585a8f3c97d56fb09d711b17bfabcdd5c1aa14487c2a27df5bd3f8ae4fb104f5e9e21cecb2a341cd8f7f
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Description-en: nss module providing fallback resolution for the current hostname
This package contains a plugin for the Name Service Switch, providing host
name resolution for the locally configured system hostname as returned by
gethostname(2). It returns all locally configured public IP addresses or -- if
none are configured, the IPv4 address 127.0.1.1 (which is on the local
loopback) and the IPv6 address ::1 (which is the local host).
.
A lot of software relies on that the local host name is resolvable. This
package provides an alternative to the fragile and error-prone manual editing
of /etc/hosts.
.
Installing this package automatically adds myhostname to /etc/nsswitch.conf.
Description-md5: 0bec93cc0b56ef90c11c1a7842dd8f8a
Task: ubuntu-core, ubuntu-core, ubuntu-gnome-desktop
Supported: 5y

Package: libnss-myhostname
Architecture: amd64
Version: 229-4ubuntu21.27
Multi-Arch: same
Priority: extra
Section: admin
Source: systemd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian systemd Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 161
Depends: libc6 (>= 2.16)
Breaks: systemd (<< 222-1)
Replaces: systemd (<< 222-1)
Filename: pool/main/s/systemd/libnss-myhostname_229-4ubuntu21.27_amd64.deb
Size: 35854
MD5sum: 3428c66179fc46a3c2ad7628ca6e6835
SHA1: b8a86a0d32b1a026dde29379f077e0ff58116179
SHA256: 58d3f68c677bd72b10ff04950bce5eb756ff3a9999db8dae582c1de8ea4f531c
SHA512: 52d21e8ee905020c1141a6d02ad9ef414b4d80ee18a9194af9890e0ac3ccba79357c50175ddcc557cf5238472e8c5740108b12f4d48432111260853419d5865f
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Description-en: nss module providing fallback resolution for the current hostname
This package contains a plugin for the Name Service Switch, providing host
name resolution for the locally configured system hostname as returned by
gethostname(2). It returns all locally configured public IP addresses or -- if
none are configured, the IPv4 address 127.0.1.1 (which is on the local
loopback) and the IPv6 address ::1 (which is the local host).
.
A lot of software relies on that the local host name is resolvable. This
package provides an alternative to the fragile and error-prone manual editing
of /etc/hosts.
.
Installing this package automatically adds myhostname to /etc/nsswitch.conf.
Description-md5: 0bec93cc0b56ef90c11c1a7842dd8f8a
Task: ubuntu-core, ubuntu-core, ubuntu-gnome-desktop
Supported: 5y

Package: libnss-myhostname
Priority: extra
Section: admin
Installed-Size: 155
Maintainer: Ubuntu Developers
Original-Maintainer: Debian systemd Maintainers
Architecture: amd64
Source: systemd
Version: 229-4ubuntu4
Replaces: systemd (<< 222-1)
Depends: libc6 (>= 2.16)
Breaks: systemd (<< 222-1)
Filename: pool/main/s/systemd/libnss-myhostname_229-4ubuntu4_amd64.deb
Size: 40200
MD5sum: 007bfe9ed29ab3216572887e4a2aa05b
SHA1: f22e420b6e6804d1c525d0fc02bc78ef568460de
SHA256: a9d743037faed71041db0fff3d93c3ac88e529bc6d8839825c4bf5c8972e18fa
Description-en: nss module providing fallback resolution for the current hostname
This package contains a plugin for the Name Service Switch, providing host
name resolution for the locally configured system hostname as returned by
gethostname(2). It returns all locally configured public IP addresses or -- if
none are configured, the IPv4 address 127.0.1.1 (which is on the local
loopback) and the IPv6 address ::1 (which is the local host).
.
A lot of software relies on that the local host name is resolvable. This
package provides an alternative to the fragile and error-prone manual editing
of /etc/hosts.
.
Installing this package automatically adds myhostname to /etc/nsswitch.conf.
Description-md5: 0bec93cc0b56ef90c11c1a7842dd8f8a
Multi-Arch: same
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 3y
Task: ubuntu-core, ubuntu-core, ubuntu-gnome-desktop