Re: unattended-upgrades uncertainty with Unable to get Terminal Size
On Thu, 19 Feb 2015 08:41:33 +0200
Brent Clark <brentgclark@gmail.com> wrote:
> Good day Guys
>
> I just installed and new to unattended-upgrades.
>
> Looking at the logs this morning I see the folllowing.
>
> cat
> /var/log/unattended-upgrades/unattended-upgrades-dpkg_2015-02-19_06\:48\:53.476190.log
>
> (Reading database ... 60516 files and directories currently installed.)
> Preparing to replace dnsutils 1:9.8.4.dfsg.P1-6+nmu2+deb7u3 (using
> .../dnsutils_1%3a9.8.4.dfsg.P1-6+nmu2+deb7u4_amd64.deb) ...
> Unpacking replacement dnsutils ...
>
> snippet
>
> Processing triggers for man-db ...
> Setting up libisc84 (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
> Setting up libdns88 (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
>
> snippet
>
> Setting up dnsutils (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
> COLUMNS and LINES environment variables didn't work. The resize program
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362, <STDIN> line 3.
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
> COLUMNS and LINES environment variables didn't work. The resize program
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362, <STDIN> line 3.
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
> COLUMNS and LINES environment variables didn't work. The resize program
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362.
>
>
> Does anyone know what the 'Unable to get Terminal Size' message is, and
> how do I g about fixing it.
>
> Here is my configuration.
The best solution I see is to edit your /etc/cron.daily/apt and set
COLUMNS and LINES environment variables manualy, but
since /usr/lib/perl5/Term/ReadKey.pm belongs to libterm-readkey-perl
package, I would check if this package is installed and if you need it.
On wheezy, this package is not needed for dnsutils. What distro are you
running?
Regards
--
http://markorandjelovic.hopto.org
One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"
Reply to: