With 1.2-5, in the mails sent by unattended-upgrades, I still see

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.
Scanning processes. [  ]
Use of uninitialized value $columns in subtraction (-) at
/usr/share/perl5/NeedRestart/UI.pm line 129.
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,
<HPIPE> line 1.
Use of uninitialized value $columns in subtraction (-) at
/usr/share/perl5/NeedRestart/UI.pm line 129, <HPIPE> line 11.

a couple of times. I still use NeedRestart::UI::stdio, but set
`$nrconf{restart} = 'a';', thanks for the hint.


2014-11-15 22:21 GMT+01:00 Debian Bug Tracking System <[email protected]>:
> This is an automatic notification regarding your Bug report
> which was filed against the needrestart package:
>
> #768124: ReadKey shouldn't be used if needrestart is invoked from 
> unattended-upgrades
>
> It has been closed by Patrick Matthäi <[email protected]>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Patrick Matthäi 
> <[email protected]> by
> replying to this email.
>
>
> --
> 768124: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768124
> Debian Bug Tracking System
> Contact [email protected] with problems
>
>
> ---------- Weitergeleitete Nachricht ----------
> From: "Patrick Matthäi" <[email protected]>
> To: [email protected]
> Cc:
> Date: Sat, 15 Nov 2014 21:19:23 +0000
> Subject: Bug#768124: fixed in needrestart 1.2+git20141115-1
> Source: needrestart
> Source-Version: 1.2+git20141115-1
>
> We believe that the bug you reported is fixed in the latest version of
> needrestart, which is due to be installed in the Debian FTP archive.
>
> A summary of the changes between this version and the previous one is
> attached.
>
> Thank you for reporting the bug, which will now be closed.  If you
> have further comments please address them to [email protected],
> and the maintainer will reopen the bug report if appropriate.
>
> Debian distribution maintenance software
> pp.
> Patrick Matthäi <[email protected]> (supplier of updated needrestart 
> package)
>
> (This message was generated automatically at their request; if you
> believe that there is a problem with it please contact the archive
> administrators by mailing [email protected])
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Format: 1.8
> Date: Sat, 15 Nov 2014 22:02:01 +0100
> Source: needrestart
> Binary: needrestart
> Architecture: source all
> Version: 1.2+git20141115-1
> Distribution: experimental
> Urgency: high
> Maintainer: Patrick Matthäi <[email protected]>
> Changed-By: Patrick Matthäi <[email protected]>
> Description:
>  needrestart - check which daemons need to be restarted after library upgrades
> Closes: 767370 768124
> Changes:
>  needrestart (1.2+git20141115-1) experimental; urgency=high
>  .
>    * New upstream git snapshot.
>      - Fixed division by zero, which causes the debconf prompt to hang, if no
>        kernel image was found.
>        Closes: #767370
>      - Fixed Perl warnings, if no TTY is available.
>        Closes: #768124
>    * Merge 1.2-3 and 1.2-4 changelog.
> Checksums-Sha1:
>  6bddd6654e74e62762b2daa581e756161d5cfe78 1831 
> needrestart_1.2+git20141115-1.dsc
>  452d8c73cf791af81e6d2f836ffa026c018d2454 28744 
> needrestart_1.2+git20141115.orig.tar.bz2
>  a110483548c087f3ed353e2142f6caa07d7d5878 4088 
> needrestart_1.2+git20141115-1.debian.tar.xz
>  eb374593cc7cbfcc796c100f1cca35bf33956060 24218 
> needrestart_1.2+git20141115-1_all.deb
> Checksums-Sha256:
>  8ea6b01ca5cad778c4f52e267ebb0669cd66488fd3f540244c89459876f8fef7 1831 
> needrestart_1.2+git20141115-1.dsc
>  dbcb037600e590156def68559a2de41d4e79d1e26cafebef34a50e0017d59d7d 28744 
> needrestart_1.2+git20141115.orig.tar.bz2
>  05cb9af31569dbd8de45d4ccaa69635adae96700eab7ec8402837d7344593d18 4088 
> needrestart_1.2+git20141115-1.debian.tar.xz
>  0ab48e5e4d017e40594c4924150e817f9868fd448bc7b5b1ff7bcd6d3fe96d35 24218 
> needrestart_1.2+git20141115-1_all.deb
> Files:
>  28714be5a146e86fbbee95d15f396f00 1831 admin optional 
> needrestart_1.2+git20141115-1.dsc
>  624db67014656724a26ef35b5c2fdca5 28744 admin optional 
> needrestart_1.2+git20141115.orig.tar.bz2
>  42a9edcbc08e216b2de59a296f000cee 4088 admin optional 
> needrestart_1.2+git20141115-1.debian.tar.xz
>  49d14f9f36456608fa77b2016e0d8141 24218 admin optional 
> needrestart_1.2+git20141115-1_all.deb
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBCAAGBQJUZ7/XAAoJEBLZsEqQy9jkrVIP/0E1rasJEGU30d6oGLQPeB9p
> snSc4S5HIm6w5DR9IPq/KUuxQueuFEoU5x6vJhnj40lavVMwezfbLGkh3rg+tRhx
> r+BLEIqhKDYRm+t62SGikUw5DgiIb6zif+vc/w+eh7MIPNoyuLAgzrIACgwdLMQN
> f/7o3PWBw6rfWfUlhVlFzHh8C79MX6lPz1T6LJmvDKBob1dLnZVKDQIemow7XbX/
> k5hxseXAaBp9mPR51jtKxW2fQhkbldUtnnYGCaW47iRwopGZirtynITvkvsZcBcA
> myDM2WnP8lTQCIEMF4piQV6eg6SmGD7L8oUQt8T9hidbncVmOdDAkUcLVnLMH/LO
> Xli7D3f1PmptRMqMjqw0lnLpeLhXgvAHwLxugvoPVOszz80Rk0HNH8Di4edGTESv
> C5q4nRYBbSJuRPZ1vWWVBKDFCU53BUvwGImtus4IuNEhZ1jtuQVbEVMJvdE9H206
> YFVHghtgmfz71tedLx0fTb1oNy0caYPuRw4eicFKOeMIEWaO0FV7RO1GLQvP2sNL
> Lvu8pqrKcagwMJ5T3SP0GX8kMej90nye4FAsUd9tuX1j7u6h3wKIuIQKMb96F+nN
> XMTsVohuPWU7iKcKvyD8psra9AtsjEoLEGEfmcl0uOUdiwlTuKOOBnsVR0i8HgS3
> 0YdXBjeqsREeNb4pZ3Uh
> =THFx
> -----END PGP SIGNATURE-----
>
> ---------- Weitergeleitete Nachricht ----------
> From: Phillip Berndt <[email protected]>
> To: [email protected]
> Cc:
> Date: Wed, 5 Nov 2014 07:51:38 +0100
> Subject: ReadKey shouldn't be used if needrestart is invoked from 
> unattended-upgrades
> Package: needrestart
> Version: 1.2-2
>
> I use needrestart with unattended-upgrades. This used to work fine, but
> since a few versions ago, the log only shows
>
> 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.  Scanning processes. [  ]
>
> a couple of 100 times, plus
>
> Use of uninitialized value $columns in subtraction (-) at
> /usr/share/perl5/NeedRestart/UI.pm line 129.
>
> Use of uninitialized value $columns in subtraction (-) at
> /usr/share/perl5/NeedRestart/UI.pm line 129, <HPIPE> line 12.
>
> Use of uninitialized value in lc at /usr/share/perl5/NeedRestart/UI/stdio.pm
> line 84.
>
> somewhere in between.
>
> (The problem also occurs with the default UI. Switching to stdio was
> an unsuccessful attempt to circumvent this bug.)
>


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to