CCCPaste

apt dpkg dialog set to text for shell

#if apt or dpkg shows a gui dialog rather than a text dialog
#you can use this to switch it back to using 'dialog' the text dialog for your shell
echo 'debconf debconf/frontend select dialog' | sudo debconf-set-selections