How to Install and Uninstall libnss-mymachines Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "libnss-mymachines" package

Learn how to install libnss-mymachines on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libnss-mymachines

2. Uninstall "libnss-mymachines" package

Please follow the instructions below to uninstall libnss-mymachines on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libnss-mymachines package on Ubuntu 21.04 (Hirsute Hippo)

Package: libnss-mymachines
Architecture: amd64
Version: 247.3-3ubuntu3
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: 466
Depends: libc6 (>= 2.33), libcap2 (>= 1:2.24-9~), systemd-container (= 247.3-3ubuntu3)
Filename: pool/main/s/systemd/libnss-mymachines_247.3-3ubuntu3_amd64.deb
Size: 122552
MD5sum: 394524753e480e627ab09a660619f57e
SHA1: 2a08b3736f926e51f3fecafca051180469f902ea
SHA256: e3591bf0ea26f0ba851f8069a954db89fa46a678fb3f260cdd40f3a792fec5dc
SHA512: da3b1e8118738a5acca8e188d4f60d6eaf0557f5bea30bc144d0bad5e61ffebb76a60a788a30b7498c131d849fdc1a3094cb3d09685dd7fffc3f1fe94b4d1d0b
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Description-en: nss module to resolve hostnames for local container instances
nss-mymachines is a plugin for the GNU Name Service Switch (NSS) functionality
of the GNU C Library (glibc) providing hostname resolution for local containers
that are registered with systemd-machined.service(8). The container names are
resolved to IP addresses of the specific container, ordered by their scope.
.
Installing this package automatically adds mymachines to /etc/nsswitch.conf.
Description-md5: 588342105e1fdd6ff74c093651cb80cc