Description of problem:
With respect to https://email@example.com/thread/D4ZBMUAOS63DFEKS4J35EQP5P7VVTPMM/
Ugrading to fedora 30 fails with
Problem 9: package python2-libsss_nss_idmap-2.0.0-5.fc29.x86_64 requires libsss_nss_idmap = 2.0.0-5.fc29, but none of the providers can be installed
- libsss_nss_idmap-2.0.0-5.fc29.x86_64 does not belong to a distupgrade repository
- problem with installed package python2-libsss_nss_idmap-2.0.0-5.fc29.x86_64
python2-libsss_nss_idmap needs to be added to fedora-obsolete-packages: https://src.fedoraproject.org/rpms/fedora-obsolete-packages
Hm. It *is* already in there. SSSD package obsoletes were added quite some time ago.
(In reply to Alexander Bokovoy from comment #2)
> Hm. It *is* already in there. SSSD package obsoletes were added quite some
> time ago.
But obsolete there are not sufficient
sh-5.0$ rpm -q fedora-obsolete-packages
sh-5.0$ rpm -q --obsoletes fedora-obsolete-packages | grep sss
python2-libsss_nss_idmap < 2.0.0-5
python2-sss < 2.0.0-6
python2-sss-murmur < 2.0.0-6
python2-libsss_nss_idmap-2.0.0-5.fc29.x86_64 is not obsoleted by fedora-obsolete-packages-30-25.noarch
And version&release will be bumped many times in f29 cause f29 is far from EOL.
Adding needinfo to people who did python2 removal in BZ1629737
When you update sssd in stable release, you need to bump the obsolete version-release in fedora-obsolete-packages.
I'll set it to 2.0.0-20 for now so you don't have to do it every day, but note that if you ever go to e.g. 2.0.1 you'll need to bump it. Also, if you ever need to readd python2-libsss_nss_idmap etc. to newer Fedora, you need to make it at least 2.0.0-21.
(In reply to Miro Hrončok from comment #5)
> When you update sssd in stable release, you need to bump the obsolete
> version-release in fedora-obsolete-packages.
> I'll set it to 2.0.0-20 for now so you don't have to do it every day, but
> note that if you ever go to e.g. 2.0.1 you'll need to bump it. Also, if you
> ever need to readd python2-libsss_nss_idmap etc. to newer Fedora, you need
> to make it at least 2.0.0-21.
There is already sssd 2.1.0 in upstream Which should land in fedora soon (At least it was promised)
I would recommend to change obsolete to 2.1.0-20
python2-libsss_nss_idmap < 2.1.0-20
python2-sss < 2.1.0-20
python2-sss-murmur < 2.1.0-20
python2-libipa_hbac < 2.1.0-20