#920340 unattended-upgrades: [package on hold] while now one package is on hold

#920340#5
Date:
2019-01-24 11:30:32 UTC
From:
To:
I'm not able to test 1.9 as this is a production server.

mail from root:
Subject
[package on hold] unattended-upgrades result for 'host': True

Body
Unattended upgrade returned: True

Packages that were upgraded:

 Packages with upgradable origin but kept back:
  base-files

  Unattended-upgrades log:
  Initial blacklisted packages:
  Initial whitelisted packages:
  Starting unattended upgrades script
  Allowed origins are: ['origin=Debian', 'origin=Debian Backports']
  Package 'base-files' has conffile prompt and needs to be upgraded
  manually
  package 'base-files' not upgraded
  Packages that will be upgraded:


% s apt-mark showhold
% apt policy base-files
base-files:
  Installed: 9.9+deb9u6
  Candidate: 9.9+deb9u7
  Version table:
     9.9+deb9u7 500
        500 https://deb.debian.org/debian stretch/main amd64 Packages
 *** 9.9+deb9u6 100
        100 /var/lib/dpkg/status

% grep 2019-01-24 /var/log/unattended-upgrades/unattended-upgrades.log
2019-01-24 06:38:35,022 INFO Initial blacklisted packages:
2019-01-24 06:38:35,022 INFO Initial whitelisted packages:
2019-01-24 06:38:35,022 INFO Starting unattended upgrades script
2019-01-24 06:38:35,023 INFO Allowed origins are: ['origin=Debian', 'origin=Debian Backports']
2019-01-24 06:38:38,283 WARNING Package 'base-files' has conffile prompt and needs to be upgraded manually
2019-01-24 06:38:39,003 INFO package 'base-files' not upgraded
2019-01-24 06:38:40,268 INFO Packages that will be upgraded:

#920340#10
Date:
2019-01-25 10:50:09 UTC
From:
To:
The <host> from #919972 shows the same problem after upgrading to 1.9

Subject:
[package on hold] unattended-upgrades result for <host>: SUCCESS

Unattended upgrade result: All upgrades installed

Packages with upgradable origin but kept back:
  libcurl4


As I said in #919972 1.9 shows correct message "Packages with upgradable
origin but kept back", but subject is wrong: "[package on hold]"

#920340#15
Date:
2019-01-25 14:00:40 UTC
From:
To:
Hi Sergio,

sergio <sergio@outerface.net> ezt írta (időpont: 2019. jan. 25., P, 18:33):

Yes, the definition of success and the subject line could be revisited
as it was discussed here, too:
https://github.com/mvo5/unattended-upgrades/issues/165

Cheers,
Balint

#920340#20
Date:
2019-11-28 03:38:25 UTC
From:
To:
Unattended upgrade result: All upgrades installed

Packages with upgradable origin but kept back:
 matrix-synapse

Unattended-upgrades log:
Initial blacklist :
Initial whitelist:
Starting unattended upgrades script
Allowed origins are: origin=Debian,codename=buster,label=Debian,
origin=Debian,codename=buster,label=Debian-Security, origin=Debian,
origin=Debian Backports, origin=Outerface
Packages that will be upgraded:


% apt policy matrix-synapse
matrix-synapse:
  Installed: 1.3.0-1~bpo10+1
  Candidate: 1.5.1-1~bpo10+1
  Version table:
     1.5.1-1~bpo10+1 100
        100 https://deb.debian.org/debian buster-backports/main amd64
Packages
 *** 1.3.0-1~bpo10+1 100
        100 /var/lib/dpkg/status
     0.99.2-6 500
        500 https://deb.debian.org/debian buster/main amd64 Packages

% apt-mark showhold
% s apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.