On Saturday 02 May 2015 02:52 AM, Thomas Liske wrote:
> needrestart uses dpkg's status logger hook to detect package
> installation failures. Happens the false detected dpkg error every time?
> Could you try to make the status logger verbose:
> 
> $ diff -u ex/apt/needrestart-dpkg_d /etc/dpkg/dpkg.cfg.d/needrestart
> --- ex/apt/needrestart-dpkg_d 2014-01-02 19:52:13.000000000 +0100
> +++ /etc/dpkg/dpkg.cfg.d/needrestart  2015-05-01 23:18:39.580908062 +0200
> @@ -4,4 +4,4 @@
>  # triggers needrestart in apt's Dpkg::Post-Invoke
>  # hook.
> 
> -status-logger=(test -x /usr/lib/needrestart/dpkg-status &&
> /usr/lib/needrestart/dpkg-status || cat > /dev/null)
> +status-logger=(test -x /usr/lib/needrestart/dpkg-status && /bin/sh -x
> /usr/lib/needrestart/dpkg-status || cat > /dev/null)
> 
> and attach the complete output?

The issue isn't frequent. But I did see it on 2 machines.

I've enabled for what you've asked and hope to get the next trigger soon.



-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to