Bug 1741325
Summary: | python2-policycoreutils removed but not obsoleted (prevents main package being updated if python2-policycoreutils is installed) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | fedora-obsolete-packages | Assignee: | Jason Tibbitts <j> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | dwalsh, j, mgrepl, mhroncok, ozeszty+rhbz, plautrba, vmojzis |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-23 10:26:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adam Williamson
2019-08-14 19:23:07 UTC
I guess it should be obsoleted in fedora-obsolete-packages - https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal : Upgrade failures because of missing dependencies should be treated as bugs. Any removed python2 subpackages which break upgrades need to be added to Obsoletes in fedora-obsolete-packages. If this is correct, please add to fedora-obsoleted-packages also the following packages: - python2-libselinux - #1739646 - python2-libsemanage - #1738466 - python2-setools $ repoquery --repo=rawhide --obsoletes fedora-obsolete-packages | egrep 'policycoreutils|libselinux|libsemanage|setools' python2-libselinux < 2.9-5 python2-libsemanage < 2.9-3 python2-policycoreutils < 2.9-2 python2-setools < 4.1.1-15 $ repoquery --releasever=31 --repo=fedora --obsoletes fedora-obsolete-packages | egrep 'policycoreutils|libselinux|libsemanage|setools' python2-libselinux < 2.9-5 python2-libsemanage < 2.9-3 python2-policycoreutils < 2.9-2 python2-setools < 4.1.1-15 Are the versions wrong? In this case it's already fixed. Thanks and sorry for the noise. FWIW I think this was wrong. You're only supposed to use fedora-obsolete-packages to obsolete things if there is no other logical candidate. In this case there clearly *is* another logical candidate: the thing making python2-policycoreutils obsolete is policycoreutils itself, that is what should have obsoleted it. It seems that F32 was somehow omitted and now upgrade from F30 to F32 is blocked: [root@b b]# dnf repoquery --releasever=32 --repo=fedora --obsoletes fedora-obsolete-packages | egrep 'policycoreutils|libselinux|libsemanage|setools' Fedora 32 - x86_64 16 kB/s | 16 kB 00:01 Fedora 32 - x86_64 693 kB/s | 6.6 MB 00:09 Ostatnio sprawdzono ważność metadanych: 0:00:18 temu w dniu pon, 6 kwi 2020, 18:55:24. [root@b b]# dnf repoquery --releasever=31 --repo=fedora --obsoletes fedora-obsolete-packages | egrep 'policycoreutils|libselinux|libsemanage|setools' Ostatnio sprawdzono ważność metadanych: 1:49:41 temu w dniu pon, 6 kwi 2020, 17:06:39. python2-libselinux < 2.9-5 python2-libsemanage < 2.9-3 python2-policycoreutils < 2.9-5 python2-setools < 4.1.1-15 I've already reported https://bugzilla.redhat.com/show_bug.cgi?id=1821357 (python2-libselinux) and https://bugzilla.redhat.com/show_bug.cgi?id=1821362 (python2-libsemanage), currently blocking upgrade are also python2-policycoreutils and python2-setools with python2-enum34. Should I report them separately, or will this comment suffice? libsemanage and libselinux are handled in bz1821357 I'll add python2-policycoreutils and python2-setools. python2-enum34 seem to be obsoleted properly: $ repoquery --releasever=32 --repo={fedora,updates{,-testing}} --latest=1 --obsoletes fedora-obsolete-packages | egrep 'policycoreutils|libselinux|libsemanage|setools|enum34' python2-enum34 < 1.1.6-10 No need to open extra bugzillas. |