pulp_deb 1.10.0 (included in Pulp 2.20.0) will need a rake task during upgrade
Some future Katello version (as yet unknown?) will include pulp version 2.20.0.
Pulp version 2.20.0 includes pulp_deb 1.10.0.
In pulp_deb 1.10.0 we fixed a bug (https://pulp.plan.io/issues/4138) that necessitates a best effort db migration.
This migration is capable of fixing the bug for affected Katello repos. (CV version repos, LCENV repos, katello root repos, etc.)
However, once these repos have been migrated in the database, they should be republished ("republish repository metadata") for the bug fix to take full effect.
To facilitate this the migration records all affected repos in /var/lib/pulp/0004_deb_repo_republish_candidates.txt.
The needed republish can be achieved automatically during upgrade via the rake task in the following PR: