Hi Paul,

Thanks for the extremely quick bug report! :-)

Paul Wise <[email protected]> ezt írta (időpont: 2020. febr. 26., Sze, 7:39):
>
> Package: unattended-upgrades
> Version: 1.18
> Severity: important
> Usertags: verbose
>
> The new "Packages with upgradable origin but kept back" report section
> is way too verbose in 1.18. On a system with testing, unstable,
> experimental (and *-debug and buildd-*), it appears that it lists every
> package that has a new version in an another suite, even if the apt
> pinning of that version is lower than the current version. Reporting
> packages being kept back due to the local pinning isn't useful, because
> that is normal and expected so it doesn't need to be reported.

The main aim of unattended-upgrades is keeping packages up to date
with stable-security. IMO reporting kept back security fixes is more
useful than suppressing them as a default but I also understand that
seeing a lot of kept back packages which are known by the
administrator adds too much noise.

I think a good compromise is allowing ignoring kept packages and
packages from particular origins being reported as kept by the
following configuration options respectively:

Unattended-Upgrade::Ignore-Kept {"libc6$";};
Unattended-Upgrade::Ignore-Kept-Origins {...};

What do you think?

Cheers,
Balint

> As an example, here is part of mine:
>
> Packages with upgradable origin but kept back:
>  Debian unstable:
>   readline-common ...
> ...
>  Debian buildd-experimental:
>   evolution ...
> ...
> Package evolution is kept back because a related package is kept back
> or due to local apt_preferences(5).
> ...
> Package readline-common is kept back because a related package is kept
> back or due to local apt_preferences(5).
>
> $ apt policy evolution readline-common
> evolution:
>   Installed: 3.34.1-4
>   Candidate: 3.34.1-4
>   Version table:
>      3.35.91-1 690
>         690 https://incoming.debian.org/debian-buildd buildd-
> experimental/main amd64 Packages
>  *** 3.34.1-4 900
>         900 https://deb.debian.org/debian testing/main amd64 Packages
>         800 https://deb.debian.org/debian unstable/main amd64 Packages
>         100 /var/lib/dpkg/status
> readline-common:
>   Installed: 8.0-3
>   Candidate: 8.0-3
>   Version table:
>      8.0-4 800
>         800 https://deb.debian.org/debian unstable/main amd64 Packages
>         790 https://incoming.debian.org/debian-buildd buildd-
> unstable/main amd64 Packages
>  *** 8.0-3 900
>         900 https://deb.debian.org/debian testing/main amd64 Packages
>         100 /var/lib/dpkg/status
>

Reply via email to