Package: needrestart
Version: 3.4-5
Severity: minor

Dear Maintainer,

Today while doing "apt dist-upgrade" I have obtained a lot of
"Negative repeat count does nothing" Perl warnings:

root@asus:~# apt dist-upgrade
[...]
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for desktop-file-utils (0.24-1) ...
Processing triggers for mime-support (3.64) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up evolution-data-server (3.34.1-1+b1) ...
Setting up gnome-settings-daemon (3.34.1-1+b1) ...
Setting up gir1.2-gweather-3.0:amd64 (3.34.0-1) ...
Processing triggers for libc-bin (2.29-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <STDIN> line 3.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141.
[last line repeated 300+ times]
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
152.
Scanning processes...
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 12.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 24.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 36.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 48.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 60.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 72.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 84.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 96.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 108.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
152, <HCGROUP> line 120.
Scanning candidates...
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
141, <HCGROUP> line 120.
Negative repeat count does nothing at /usr/share/perl5/NeedRestart/UI.pm line 
152.
Scanning linux images...

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

User sessions running outdated binaries:
 noon @ session #2: gdm-wayland-ses[1474]
 noon @ user manager service: chrome-sandbox[2155],
  chromium[2118,2156,2161], firefox-esr[2012], gnome-session-b[1505],
  gnome-shell[1519], ibus-daemon[1759], systemd[1387]

FYI the command was issued from an Emacs shell buffer.  It is a kind
of terminal where the number of columns is logically infinite (Emacs
handles that through scrolling), so depending on how a program asks
"how many columns are there?", the terminal returns 0 meaning
"infinite", or the current width of the Emacs window.

root@asus:~# perl -le 'use Data::Dumper; use Term::ReadKey; print 
(Dumper(GetTerminalSize(\*STDOUT)));'
$VAR1 = 0;
$VAR2 = 0;
$VAR3 = 0;
$VAR4 = 0;
root@asus:~# echo $COLUMNS
105

See also this thread: 
https://lists.gnu.org/archive/html/help-gnu-emacs/2010-12/msg01556.html

Maybe this program should first try getting the $COLUMNS environment
variable, and only if it fails, default to GetTerminalSize?

Or maybe libterm-readkey-perl is wrong and needs a fix?

Thanks a lot!

Best regards
Fabrice

-- Package-specific info:
needrestart output:
Your outdated processes:
chromium[2181, 2118, 2186, 2156], emacs[1961], evolution-addre[1794], 
evolution-alarm[1580], evolution-calen[1766], evolution-sourc[1748], 
firefox-esr[2012], gnome-session-b[1505, 1477], gnome-shell[1519], 
gnome-shell-cal[1744], goa-daemon[1695], gsd-a11y-settin[1564], 
gsd-color[1585], gsd-datetime[1552], gsd-housekeepin[1587], gsd-keyboard[1584], 
gsd-media-keys[1553], gsd-power[1568], gsd-print-notif[1566], 
gsd-printer[1676], gsd-rfkill[1571], gsd-screensaver[1565], gsd-sharing[1567], 
gsd-smartcard[1586], gsd-sound[1569], gsd-wacom[1573], gsd-wwan[1563], 
gsd-xsettings[1761], gvfs-udisks2-vo[1668], ibus-extension-[1767], 
ibus-x11[1771], pulseaudio[1399], Web Content[2066, 2547, 2402], Xwayland[1540]



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE=en_US:en (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii  binutils                   2.33.1-1
ii  dpkg                       1.19.7
ii  gettext-base               0.19.8.1-9
ii  libintl-perl               1.26-2
ii  libmodule-find-perl        0.13-1
ii  libmodule-scandeps-perl    1.27-1
ii  libproc-processtable-perl  0.59-1+b1
ii  libsort-naturally-perl     1.03-2
ii  libterm-readkey-perl       2.38-1+b1
ii  perl                       5.30.0-7
ii  xz-utils                   5.2.4-1+b1

Versions of packages needrestart recommends:
ii  libpam-systemd  242-7

Versions of packages needrestart suggests:
pn  iucode-tool                          <none>
pn  needrestart-session | libnotify-bin  <none>

-- no debconf information

Reply via email to