Don’t get confused by kind of offtopic comments like the one regarding mDNS from mendres82.
To stay offtopic but help you understand some basics: Did you actually read the terminal output you were producing?
The output tells you clearly that the command can not be executed, as the package which contains it is not installed. It even tells you how to install the package. It is quite easy. To be able to execute a command, the package which provides the command needs to be installed on your machine.
So repeating the same command over and over again, with some variations, wont help if the package is not installed.
Sorry for confusing people, but why is this offtopic?
Removing nsswitch.conf left me with a non-working GNOME network browser and printing to the network printer didn’t work, because the hosts entry was missing the options to resolve .local addresses (hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 was my default before).
If he doesn’t use that, fine. But people reading the post should know that deleting nsswitch.conf, like OP did, can lead to side effects. I know you’ve already mentioned nss-mdns, but it’s probably good to know that GNOME network browser also relies on resolution of .local addresses.
If your printer is connected over USB and you don’t use GNOME network browser to connect to other machines on your network, you’re fine. Sorry for the confusion.
It seems to me your original comment on this post was on topic. If I was on a network, I would have likely encountered problems by moving nsswitch, so the heads up you provided was useful and valid.