Comment 7 for bug 1988819

Revision history for this message
Robie Basak (racb) wrote : Re: When apt keeps back packages due to phased updates, it should say so

> We can't really store reasons for why something is kept back.

How about:

When something is scored down because it is not phased, make a note. When the scoring is all done, take the list of held back packages, and identify all those that have a note against them. Then print (up to) two lists:

The following packages are being phased and have been kept back:
   ...

The following [additional] packages have been kept back:
   ...

(use two translatable strings for the second message, adding "additional" if the first list was non-zero).

Of course the exact strings can be adjusted, but I hope you see my point in fixing the "we don't know what final reason is because the different scoring adjustments get conflated" problem.

> And if we managed to do that, we'd end up with an untranslated line in the middle of the output for every non-English locale until it's translated and apt updated (it does not use language packs).

We should certainly be able to fix this in the development release and get translations in the usual way. For SRU, we could wait for translations, or not, but no need to block on a fix in the development release for this.