Bug#956339: marked as done (unattended-upgrades: regression: packages with conffile prompts are no longer skipped, leading to upgrade failures)

2020-04-13 Thread Debian Bug Tracking System
Your message dated Mon, 13 Apr 2020 23:04:37 +
with message-id 
and subject line Bug#956339: fixed in unattended-upgrades 2.3
has caused the Debian Bug report #956339,
regarding unattended-upgrades: regression: packages with conffile prompts are 
no longer skipped, leading to upgrade failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
956339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956339
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 2.1
Severity: serious

Today I noticed that packages with conffile prompts are no longer
skipped, which can lead to upgrade failures because dpkg stdin is not
connected to any terminal. I think this is a regression since the work
to enable pinning to work with unattended-upgrades.

Package installation log:
Log started: 2020-04-10  13:09:11
apt-listchanges: Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for chianamo
apt-listchanges: Reading changelogs...
Preparing to unpack .../sgml-base_1.30_all.deb ...
Unpacking sgml-base (1.30) over (1.29.1) ...
Setting up popularity-contest (1.70) ...

Configuration file '/etc/cron.daily/popularity-contest'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : start a shell to examine the situation
 The default action is to keep your current version.
*** popularity-contest (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing 
package popularity-contest (--configure):
 end of file on stdin at conffile prompt
Errors were encountered while processing:
 popularity-contest
-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  lsb-base   11.1.0
ii  lsb-release11.1.0
ii  python33.8.2-2
ii  python3-apt1.9.10
ii  python3-dbus   1.2.16-1
ii  python3-distro-info0.23
ii  ucf3.0038+nmu1
ii  xz-utils   5.2.4-1+b1

Versions of packages unattended-upgrades recommends:
ii  anacron 2.3-29
ii  cron [cron-daemon]  3.0pl1-136
ii  systemd-sysv244.3-1

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx  8.1.2-0.20180807cvs-1+b1
ii  exim4-daemon-light [mail-transport-agent]  4.93-13
ii  needrestart3.5-1
ii  powermgmt-base 1.36
ii  python3-gi 3.36.0-1

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Source: unattended-upgrades
Source-Version: 2.3
Done: Balint Reczey 

We believe that the bug you reported is fixed in the latest version of
unattended-upgrades, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 956...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Balint Reczey  (supplier of updated unattended-upgrades 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 14 Apr 2020 00:37:21 +0200
Source: unattended-upgrades
Architecture: source
Version: 2.3
Distribution: unstable
Urgency: medium
Maintainer: Michael Vogt 
Changed-By: Balint 

Bug#956339: marked as done (unattended-upgrades: regression: packages with conffile prompts are no longer skipped, leading to upgrade failures)

2020-04-10 Thread Debian Bug Tracking System
Your message dated Fri, 10 Apr 2020 21:28:19 +0800
with message-id <0268f4dc7ec88e40d4161bd2247164d00e3d32da.ca...@debian.org>
and subject line Re: Bug#956339: unattended-upgrades: regression: packages with 
conffile prompts are no longer skipped, leading to upgrade failures
has caused the Debian Bug report #956339,
regarding unattended-upgrades: regression: packages with conffile prompts are 
no longer skipped, leading to upgrade failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
956339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956339
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 2.1
Severity: serious

Today I noticed that packages with conffile prompts are no longer
skipped, which can lead to upgrade failures because dpkg stdin is not
connected to any terminal. I think this is a regression since the work
to enable pinning to work with unattended-upgrades.

Package installation log:
Log started: 2020-04-10  13:09:11
apt-listchanges: Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for chianamo
apt-listchanges: Reading changelogs...
Preparing to unpack .../sgml-base_1.30_all.deb ...
Unpacking sgml-base (1.30) over (1.29.1) ...
Setting up popularity-contest (1.70) ...

Configuration file '/etc/cron.daily/popularity-contest'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : start a shell to examine the situation
 The default action is to keep your current version.
*** popularity-contest (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing 
package popularity-contest (--configure):
 end of file on stdin at conffile prompt
Errors were encountered while processing:
 popularity-contest
-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  lsb-base   11.1.0
ii  lsb-release11.1.0
ii  python33.8.2-2
ii  python3-apt1.9.10
ii  python3-dbus   1.2.16-1
ii  python3-distro-info0.23
ii  ucf3.0038+nmu1
ii  xz-utils   5.2.4-1+b1

Versions of packages unattended-upgrades recommends:
ii  anacron 2.3-29
ii  cron [cron-daemon]  3.0pl1-136
ii  systemd-sysv244.3-1

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx  8.1.2-0.20180807cvs-1+b1
ii  exim4-daemon-light [mail-transport-agent]  4.93-13
ii  needrestart3.5-1
ii  powermgmt-base 1.36
ii  python3-gi 3.36.0-1

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Version: 2.2

On Fri, 2020-04-10 at 09:32 +0200, Bálint Réczey wrote:

> I may have already fixed the the issue with the fix for LP: #1871639.
> Could you please monitor if the problem shows up with 2.2, too?

I've tested this by downgrading popularity-contest using snapshot.d.o,
adding changes to a conffile and then running u-u. The result is that I
get this in the report, so it looks fixed again:

Subject:[package on hold] unattended-upgrades result for host: FAILURE

Unattended upgrade result: All upgrades installed

Packages that attempted to upgrade:
 popularity-contest

...
Package popularity-contest has conffile prompt and needs to be upgraded manually
Packages that will be upgraded: popularity-contest
Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed mes