Comment 2 for bug 1809108

Revision history for this message
Balint Reczey (rbalint) wrote :

The failure is not related to unattended-upgrades, but happened when upgrading packages using synaptic and synaptic lost debconf frontend connection when debconf tried to ask a question about the changed conffile:

DpkgHistoryLog.txt:
...
Start-Date: 2018-12-19 10:37:30
Commandline: /usr/sbin/synaptic
Requested-By: wim (1000)
Upgrade: gnome-software-plugin-snap:amd64 (3.28.1-0ubuntu4.18.04.1, 3.28.1-0ubuntu4.18.04.8), gnome-software:amd64 (3.28.1-0ubuntu4.18.04.1, 3.28.1-0ubuntu4.18.04.8), unattended-upgrades:amd64 (1.1ubuntu1.18.04.5, 1.1ubuntu1.18.04.7), gnome-software-common:amd64 (3.28.1-0ubuntu4.18.04.1, 3.28.1-0ubuntu4.18.04.8)
...

DpkgTerminalLog.txt:
...
Configuratiebestand '/etc/xdg/autostart/gnome-software-service.desktop'
 ==> Gewijzigd (door u of door een script) sinds de installatie.
 ==> Pakketdistributeur heeft een bijgewerkte versie gemaakt.
   Wat wilt u er aan doen ? De volgende keuzes zijn mogelijk:
    Y of I : installeer de versie van de pakketbeheerder
    N of O : behoud de huidige geïnstalleerde versie
      D : toon de verschillen tussen de versies
      Z : start een shell om de situatie te onderzoeken
 De standaardactie is om uw huidige versie te behouden.
*** gnome-software-service.desktop (Y/I/N/O/D/Z) [standaard=N] ? y
Nieuwe versie van configuratiebestand /etc/xdg/autostart/gnome-software-service.desktop wordt geïnstalleerd ...
Bezig met afhandelen van triggers voor systemd (237-3ubuntu10.9) ...
Instellen van unattended-upgrades (1.1ubuntu1.18.04.7) ...
root@wim-bigdell:/# y
y: opdracht niet gevonden
root@wim-bigdell:/# exit
exit
Gdk-Message: 10:46:32.095: frontend: Fatal IO error 0 (Gelukt) on X server :0.0.

dpkg: fout bij verwerken van pakket unattended-upgrades (--configure):
 geïnstalleerd unattended-upgrades pakket post-installation script subproces meldde een fout afsluitstatus 1
...

The frontend works properly when it is used from apt CLI, and the question can also be avoided by placing a different configuration file snippet in /etc/apt/apt.conf.d/ sorting higher than the ones to be overridden.