Cannot open tty-output

Hello Guys,
after my ol' pihole installation went belly up, I decided to do a phresh install. Tried both Deb10 and Deb11 in a proxmox VE. After apt update, apt dist-upgrade and wget from github basic-install.sh always dies at..:

  [i] IPv4 address: 10.8.8.8/24
  [i] Found IPv6 GUA address
  [i] IPv6 address: 2a02:810b:1120:1247:d8c5:****:****:****

cannot open tty-output

I do not actually use IPv6.

Why does basic-install.sh die at 'cannot open tty-output' and how can this be fixed?

I was using pihole since quite a time now and just wanted to do a pihole -up, which didn't work due to host not being able to update

dpkg err on prev. install, now irrelevant
dpkg: error processing package apt-show-versions (--configure):
 installed apt-show-versions package post-installation script subprocess returned error exit status 137

Keep up the great work!
Cheers,
iro

I worked around this by logging into the proxmox web UI, and installing pihole from the console there.

1 Like

If you do not require apt-show-versions for something specific, purge it to fix dialog on SSH the way it's invoked by the Pi-hole installer/updater:

apt purge apt-show-versions

I'm not aware of any feature this tool has what apt list and dpkg-query cannot provide much faster/more efficient.

1 Like

YES, Chrisser, great proposal, tried that and it works!
Many thanks! :cowboy_hat_face:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.