Package: needrestart
Version: 2.11-2
Severity: normal
File: /usr/share/perl5/NeedRestart/UI.pm
Usertags: terminal

I switched to unattended-upgrades and now needrestart prints lots of
the following lines, it appears that it prints one for each message it prints. 
I would recommend checking if the $fd or STDOUT is a terminal before calling 
GetTerminalSize. When not writing to a terminal, I think
needrestart should not wrap any messages.

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. The 
stty program didn't work. at /usr/share/perl5/NeedRestart/UI.pm line 50.

-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-
proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790,
'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'),
(690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages needrestart depends on:
ii  dpkg                       1.18.23
ii  gettext-base               0.19.8.1-2
ii  libintl-perl               1.26-2
ii  libmodule-find-perl        0.13-1
ii  libmodule-scandeps-perl    1.23-1
ii  libproc-processtable-perl  0.53-2
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.37-1
ii  perl                       5.24.1-2
ii  xz-utils                   5.2.2-1.2+b1

Versions of packages needrestart recommends:
ii  libpam-systemd  232-19

Versions of packages needrestart suggests:
ii  libnotify-bin        0.7.7-1+b1
ii  needrestart-session  0.3-4.1

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to