[solved] apt-listchanges returned an error code (1)

Begonnen von Taliesin, 2016/09/03, 03:00:38

Vorheriges Thema - Nächstes Thema

Taliesin

Hi folks, following up on the "KDE to be removed" due to the recent major upgrade.

I waited until the conditions for a dist-upgrade were optimal, that is no packages to be removed only upgraded.

Running apt-get dist-upgrade now shows,

533 upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
259 not fully installed or removed.


Not sure why the 259 not fully installed or removed. Never seen that before.

And I get the following error message.

apt-listchanges: APT_HOOK_INFO_FD environment variable is incorrectly defined
(Dpkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD should be greater than 2).
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -ne 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -ne 10

piper

#1
Have you done a

apt clean

then reboot and try again ?

Make sure you have this line

DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20";

in /etc/apt/apt.conf.d/20listchanges


EDIT:

If that line exists, you might want to try this

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835046
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

Taliesin

Vote 1 Piper for President - Legends of Linux party!

The line you mentioned was indeed absent from

/etc/apt/apt.conf.d/20listchanges

Thank you once again mate!

piper

I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA