#903874 unattended-upgrades: explain reasons why packages with upgradable origin are kept back

Package:
unattended-upgrades
Source:
unattended-upgrades
Submitter:
Paul Wise
Date:
2021-09-22 04:48:19 UTC
Severity:
wishlist
Tags:
#903874#5
Date:
2018-07-16 01:13:14 UTC
From:
To:
My recent unattended-upgrades reports have looked like the following.
There is no reason for any packages to be kept back on my system and
the ones that unattended-upgrades is keeping back are not held and
aren't going to install any new packages so I cannot see why they are
being held back by unattended-upgrades. I think one of the recent
updates to unattended-upgrades may have broken it.

It would also be useful for unattended-upgrades to include the reason
why packages were held back in the report and log file.

It would also be useful for unattended-upgrades to write the list of
held back packages to the log file.

   Unattended upgrade result: All upgrades installed

   Packages that were upgraded:

   Packages with upgradable origin but kept back:
    binutils-mingw-w64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64
    comerr-dev e2fsprogs gir1.2-gucharmap-2.90 gir1.2-mutter-2
    gnome-shell gnome-shell-common gnome-shell-dbgsym gucharmap
    html2text libcom-err2 libcom-err2-dbgsym libext2fs2
    libgucharmap-2-90-7 libgucharmap-2-90-7-dbgsym libmozjs-52-0
    libmozjs-52-0-dbgsym libmutter-2-0 libmutter-2-0-dbgsym libpng-dev
    libpng-tools libpng16-16 libpng16-16-dbgsym libraw16 libss2
    libutf8proc2 lynx lynx-common minetest-mod-player-3d-armor mutter
    mutter-common mutter-dbgsym python3-proselint



   Unattended-upgrades log:
   Initial blacklisted packages:
   Initial whitelisted packages:
   Starting unattended upgrades script
   Allowed origins are: origin=Debian,codename=buster,label=Debian, origin=Debian,codename=buster,label=Debian-Security, origin=Debian
   Packages that will be upgraded:

$ sudo grep 06:06 /var/log/unattended-upgrades/unattended-upgrades.log
2018-07-16 06:06:38,011 INFO Initial blacklisted packages:
2018-07-16 06:06:38,027 INFO Initial whitelisted packages:
2018-07-16 06:06:38,027 INFO Starting unattended upgrades script
2018-07-16 06:06:38,027 INFO Allowed origins are: origin=Debian,codename=buster,label=Debian, origin=Debian,codename=buster,label=Debian-Security, origin=Debian
2018-07-16 06:06:51,758 INFO Packages that will be upgraded:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  binutils-mingw-w64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64
  comerr-dev e2fsprogs gir1.2-gucharmap-2.90 gir1.2-mutter-2 gnome-shell
  gnome-shell-common gnome-shell-dbgsym gucharmap html2text libcom-err2
  libcom-err2-dbgsym libext2fs2 libgucharmap-2-90-7 libgucharmap-2-90-7-dbgsym
  libmozjs-52-0 libmozjs-52-0-dbgsym libmutter-2-0 libmutter-2-0-dbgsym
  libpng-dev libpng-tools libpng16-16 libpng16-16-dbgsym libraw16 libss2
  libutf8proc2 lynx lynx-common minetest-mod-player-3d-armor mutter
  mutter-common mutter-dbgsym python3-proselint
35 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/91.3 MB of archives.
After this operation, 154 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  binutils-mingw-w64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64
  comerr-dev e2fsprogs gir1.2-gucharmap-2.90 gir1.2-mutter-2 gnome-shell
  gnome-shell-common gnome-shell-dbgsym gucharmap html2text libcom-err2
  libcom-err2-dbgsym libext2fs2 libgucharmap-2-90-7 libgucharmap-2-90-7-dbgsym
  libmozjs-52-0 libmozjs-52-0-dbgsym libmutter-2-0 libmutter-2-0-dbgsym
  libpng-dev libpng-tools libpng16-16 libpng16-16-dbgsym libraw16 libss2
  libutf8proc2 lynx lynx-common minetest-mod-player-3d-armor mutter
  mutter-common mutter-dbgsym python3-proselint
35 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/91.3 MB of archives.
After this operation, 154 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

$ apt policy mutter
mutter:
  Installed: 3.28.2-2
  Candidate: 3.28.2-3
  Version table:
     3.28.2-3 900
        900 https://deb.debian.org/debian testing/main amd64 Packages
        800 https://deb.debian.org/debian unstable/main amd64 Packages
 *** 3.28.2-2 100
        100 /var/lib/dpkg/status

#903874#24
Date:
2021-09-09 11:35:04 UTC
From:
To:
Maybe they are kept back because not security updates?

From $ apt show unattended-upgrades
Package: unattended-upgrades
<snip>
Description: automatic installation of security upgrades
 This package can download and install security upgrades automatically
 and unattended, taking care to only install packages from the
 configured APT source, and checking for dpkg prompts about
 configuration file changes.

#903874#29
Date:
2021-09-22 04:22:54 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com