Just happened to me when updating rawhide installation: > [...] > Packages Altered: > [...] > Obsoleted platform-python-3.6.2-12.fc28.x86_64 @rawhide > Obsoleted platform-python-libs-3.6.2-12.fc28.x86_64 @rawhide > Obsoleted platform-python-six-1.11.0-1.fc28.noarch @rawhide > [...] > Upgraded python3-libs-3.6.3-2.fc28.x86_64 @rawhide > Upgrade 3.6.3-3.fc28.x86_64 @rawhide > Obsoleting python3-libs-3.6.3-3.fc28.x86_64 @rawhide > [...] > > Scriptlet output: > [...] > 3 warning: %postun(platform-python-libs-3.6.2-12.fc28.x86_64) scriptlet failed, exit status 1 > [...] I believe it is a reasonable expectation that such manoeuvres should be smooth. Moreover, I lack any kind of reference (a bug/ticket, feature proposal, or python-devel fedora ML) for why platform-python idea has been abandoned beside commits themselves: https://src.fedoraproject.org/rpms/platform-python/c/a0b3f367397037ab1420e4035c7ec79955cb096d?branch=master https://src.fedoraproject.org/rpms/python3/c/e522c84bc535b0c34ede8361d245205842f80dca?branch=master (e.g., no mention at https://fedoraproject.org/wiki/Releases/28/ChangeSet) while it was only in Fedora 27 where the Platform Python Stack was introduced: https://fedoraproject.org/wiki/Releases/27/ChangeSet#Platform_Python_Stack)
The output above obtained with "dnf history info" command (that it isn't too clear on obsoleting performed is filed as [bug 1515386]).
(In reply to Jan Pokorný from comment #0) > I believe it is a reasonable expectation that such manoeuvres should > be smooth. I agree. > Moreover, I lack any kind of reference (a bug/ticket, feature proposal, > or python-devel fedora ML) for why platform-python idea has been abandoned > beside commits themselves: > > https://src.fedoraproject.org/rpms/platform-python/c/ > a0b3f367397037ab1420e4035c7ec79955cb096d?branch=master > > https://src.fedoraproject.org/rpms/python3/c/ > e522c84bc535b0c34ede8361d245205842f80dca?branch=master > (e.g., no mention at https://fedoraproject.org/wiki/Releases/28/ChangeSet) > while it was only in Fedora 27 where the Platform Python Stack was > introduced: > https://fedoraproject.org/wiki/Releases/27/ChangeSet#Platform_Python_Stack) There is no reference. One day I've realized the platform-python subpackages were removed from Fedora. I've asked Igor (CCed), who have done it, and he said that the modularity team have never used Platform Python at all and that they don't need it, so he went on and removed the subpackages in rawhide (keeping them unused in f27). So I went and removed the platform-python package itself from rawhide as well. I haven't realized that removing a single package from rawhide (where nothing depends on it anymore), needs a reference. Sorry about that. I was a bit disgruntled when I was doing it, maybe mu judgement was a bit cluttered ATM. What do you think would be the best reference? Should I post an email to devel? Create a Fedora change proposal? Back to the topic: Thanks for the report. I don't understand from the output what's went wrong with the platform-python-libs postun scriptlet and how is obsoleting it relevant. Any ideas? If you obtain the package (from let's say Koji), install and uninstall it again, does the postun error happen anyway, or is it only happening when the obsolete thing happens? Is it possible that the postun scriplet is somehow broken on platform-python-libs (which is now removed) and we are unable to fix it now anyway?
$ rpm -q --scripts -p Stažené/platform-python-libs-3.6.2-12.fc28.x86_64.rpm postinstall program: /sbin/ldconfig postuninstall scriptlet (using /sbin/ldconfig): # ====================================================== # Files # ======================================================
Apparently, the comment that comes after this cannot be there: https://src.fedoraproject.org/rpms/platform-python/blob/f27/f/platform-python.spec#_948 # ====================================================== # Scriptlets # ====================================================== %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig # ====================================================== # Files # ====================================================== %files
Now I can certainly fix this oversight in Fedora 27 and doing an platform-python-3.6.2-13.fc27 update and bumping the obsoleted version of platform-python in python3 master. That would fix this problem for people doing f27 -> f28 upgrade. However, fixing this for rawhide users for a package that has already been removed would require reintroducing it again (which i think is not worth it for a non fatal warning).
Igor, I think a mail to fedora-devel@ that summarizes the removal of platform-python is needed. Both to help people who are not directly involved stay abreast of changes, and as a postmortem for something that was introduced as a significant change.
platform-python f27 PR https://src.fedoraproject.org/rpms/platform-python/pull-request/1
re [comment 4]: Nice catch, would not expect that being an issue (already hit some strangeness that extra new-line was needed for macro to figure out its boundary correctly, but this syntactical constraint is all new to me). Modified summary to drop innocent ldconfig reference. re [comment 5]: I haven't articulated that, but the point of this bug was to make transition smooth for stabilized distros upgrade, so agree there's nothing particularly important as far as rawhide goes. re [comment 2]: > What do you think would be the best reference? Should I post an email > to devel? Create a Fedora change proposal? Any discoverable summary works for me (see the sources I checked prior to complaining about the missing justification -- I have omitted fedora-devel ML, which is, I believe, implicitly assumed as the main stream of such updates, so agree with Zbigniew from [comment 6]). Thanks!
python3 master PR https://src.fedoraproject.org/rpms/python3/pull-request/18
(In reply to Zbigniew Jędrzejewski-Szmek from comment #6) > Igor, I think a mail to fedora-devel@ that summarizes the removal of > platform-python is needed. Both to help people who are not directly involved > stay abreast of changes, and as a postmortem for something that was > introduced as a significant change. I'll take care of the email.
Email sent to [devel] and [python-devel] mailing lists. [devel] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/SEFUWW4XZBTVOAQ36XOJQ72PIICMFOSN/ [python-devel] https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/SEFUWW4XZBTVOAQ36XOJQ72PIICMFOSN/
platform-python-3.6.2-13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-41f1da221e
platform-python-3.6.2-13.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-41f1da221e
platform-python-3.6.2-13.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.