Score:1

How can I get printerbanner command back in 21.10

sa flag

The command printerbanner used to be part of bsdmainutils, but in Ubuntu 21.10 that seems to be discontinued according to /usr/share/doc/bsdmainutils/NEWS.Debian.gz

How can I get that command back or find the source from a previous version or find a new package that provides the command?

Score:0
zw flag

I would do this in the following way - download package from focal, extract it to temporary location, then copy printerbanner executable to /usr/local/bin:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/b/bsdmainutils/bsdmainutils_11.1.2ubuntu3_amd64.deb
dpkg -x bsdmainutils_11.1.2ubuntu3_amd64.deb /tmp/bsdmainutils
sudo cp /tmp/bsdmainutils/usr/bin/printerbanner /usr/local/bin

and then use it as before :)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.