On Wed, 2018-08-22 at 14:28 +0200, Bálint Réczey wrote:

> I proposed [2] a candidate adjustment fix which includes picking only
> lower versions of packages originally offered by apt's resolver which
> I believe would help in not upgrading packages to experimental.

Why is u-u selecting the candidate versions itself?
It seems like leaving that to apt would make it DTRT.

I guess the problem is that the Unattended-Upgrade::Origins-Pattern and
option Unattended-Upgrade::Package-Blacklist options are basically
another form of pinning and that they conflict with apt pinning
so u-u needs to work around that by doing candidate selection.

Personally I do not use either of these options for anything and
would be happy to be able to leave selection to apt itself.

That said, I do use the Unattended-Upgrade::MinimalSteps option and I
assume apt itself cannot do that so I still need u-u version selection.

I think perhaps there are some layering violations here and:

 * the minimal steps algorithm should be moved into apt itself
 * apt should gain some sort of multi-layer pinning setup and u-u
   should supply the upper layer based on the options above.
    * this would also probably allow `apt upgrade foopkg`, which apt
      cannot do at this stage (but aptitude can)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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

Reply via email to