How to Install and Uninstall libnss-mymachines Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libnss-mymachines" package

Please follow the guidelines below to install libnss-mymachines on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libnss-mymachines

2. Uninstall "libnss-mymachines" package

This is a short guide on how to uninstall libnss-mymachines on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libnss-mymachines package on Ubuntu 21.10 (Impish Indri)

Package: libnss-mymachines
Architecture: amd64
Version: 248.3-1ubuntu8
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: 511
Depends: libc6 (>= 2.34), libcap2 (>= 1:2.24-9~), systemd-container (= 248.3-1ubuntu8)
Filename: pool/main/s/systemd/libnss-mymachines_248.3-1ubuntu8_amd64.deb
Size: 149708
MD5sum: 069d7f93b12033739cd213934deef483
SHA1: 15a2c4e1de85391ee7f377125af639a68a641c0f
SHA256: c854ac358ce3f5fdc563e8bc319097cff68a04aa80456e6e589e1dcddf9eb97a
SHA512: 43d0897bd8d6a474029ffc9f6c633a54e0f29953bf28875c492d4acc667413b2137332a3856b2b3e5ec90be170bad9f1fae962aff36bbdcebc4a813b7a8e0be0
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