Hi,

On 10/30/2014 04:59 PM, Thijs Kinkhorst wrote:
With current needrestart on jessie, after upgrading my packages I see
debconf-command like output in my terminal (SET ...) but no debconf interface
is presented. It waits for input after each one, so I press enter after "SET
..", then afetr "SUBST" until it terminates.

I'm not aware of any changes to my system other than the needrestart upgrade.
Output follows.

I've no idea why it does happen. The debconf magic is done by the perl modules of debconf which restarts needrestart and redirects /dev/stdout to debconf as soon as the debconf perl package is loaded.

Does the problem still exist? What happens if you call needrestart directly? Which debconf backends do you use?


Regards,
Thomas

PS: I'm little confused about the perl warnings below (perl: warning: Setting locale failed.) - did the package upgrade fail and maybe break some of the debconf perl stuff?


Scanning processes...
Scanning candidates...
Failed to retrieve available kernel versions.
SET needrestart/ui-query_pkgs atd, cron, ntp, rsyslog, ssh

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 4.
SUBST needrestart/ui-query_pkgs OUT Services to be restarted:

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 5.
SUBST needrestart/ui-query_pkgs PKGS atd, cron, ntp, rsyslog, ssh

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 6.
FSET needrestart/ui-query_pkgs seen 0

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 7.
SETTITLE needrestart/ui-query_pkgs_title

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 8.
INPUT critical needrestart/ui-query_pkgs

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 9.
GO

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 10.
GET needrestart/ui-query_pkgs

Use of uninitialized value $rc in numeric ne (!=) at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 46, <STDIN> line 11.
STOP
Use of uninitialized value $s in split at /usr/share/perl5/NeedRestart/UI/Debconf.pm 
line 132, <STDIN> line 11.
Use of uninitialized value $r in string eq at 
/usr/share/perl5/NeedRestart/UI/Debconf.pm line 135, <STDIN> line 11.

-- Package-specific info:
needrestart output:
Failed to retrieve available kernel versions.
No services need to be restarted.



-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13.7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages needrestart depends on:
ii  dpkg                       1.17.13
ii  libmodule-find-perl        0.12-1
ii  libmodule-scandeps-perl    1.16-1
ii  libproc-processtable-perl  0.51-1
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.32-1+b1
ii  perl                       5.20.1-2

needrestart recommends no packages.

needrestart suggests no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "nl_NL.UTF-8",
        LC_ADDRESS = "nl_NL.UTF-8",
        LC_MONETARY = "nl_NL.UTF-8",
        LC_NUMERIC = "nl_NL.UTF-8",
        LC_TELEPHONE = "nl_NL.UTF-8",
        LC_IDENTIFICATION = "nl_NL.UTF-8",
        LC_MEASUREMENT = "nl_NL.UTF-8",
        LC_TIME = "nl_NL.UTF-8",
        LC_NAME = "nl_NL.UTF-8",
        LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory



--

    ::  WWW:                         http://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:tho...@jabber.fiasko-nw.net  :::
    ::  flickr:              http://www.flickr.com/photos/laugufe/  ::


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to