On Sun, November 2, 2014 12:42, Thomas Liske wrote:
> 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?

It still exists, also when running directly. Using the dialog frontend,
but can also reproduce when selecting the readline frontend.

> 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?

No, that seems unrelated. I've fixed those warnings and the problem still
occurs. Output below from a run of needrestart by itself.

What can I do to help debug this?

Cheers,
Thijs


# DEBIAN_FRONTEND=readline needrestart
Scanning processes...
Scanning candidates...
Failed to retrieve available kernel versions.
SET needrestart/ui-query_pkgs atd, rsyslog

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, rsyslog

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.


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

Reply via email to