Bug#903873: unattended-upgrades: possible regression: all packages are being kept back

2018-07-17 Thread Paul Wise
Control: close -1

On Mon, 16 Jul 2018 09:13:14 +0800 Paul Wise wrote:

> 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 appears this may have been caused by u-u upgrading parts of apt to
the version in experimental, including the ELF and Python libraries but
not the command-line client. So, I think I should close this.

> ii  python3-apt1.7.0~alpha2

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#903873: unattended-upgrades: possible regression: all packages are being kept back

2018-07-15 Thread Paul Wise
Package: unattended-upgrades
Version: 1.4
Severity: important
Control: clone -1 -2 -3
Control: retitle -2 unattended-upgrades: explain reasons why packages with 
upgradable origin are kept back
Control: severity -2 wishlist
Control: retitle -3 unattended-upgrades: include packages kept back in the log 
file
Control: severity -3 wishlist

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

-- System Information:
Debian Release: buster/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