Description of problem: Attempting to upgrade this system produced conflict messages for python3-notebook. There is NO category for this "package" in the bugzilla. Version-Release number of selected component (if applicable): python3-notebook-6.0.2-1.fc32.noarch How reproducible: always Steps to Reproduce: 1.dnf upgrade --best --allowerasing 2. 3. Actual results: see below Expected results: clean and successful system upgrade Additional info: Error: Transaction test error: file /usr/lib/python3.8/site-packages/notebook/static/components/moment/min/locales.js from install of python3-notebook-6.0.2-2.fc32.noarchconflicts with file from package js-moment-2.18.1-6.fc30.noarch file /usr/lib/python3.8/site-packages/notebook/static/components/moment/min/moment-with-locales.js from install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from package js-moment-2.18.1-6.fc30.noarch file /usr/lib/python3.8/site-packages/notebook/static/components/moment/moment.js from install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from package js-moment-2.18.1-6.fc30.noarch file /usr/lib/python3.8/site-packages/notebook/static/components/moment from install of python3-notebook-6.0.2-2.fc32.noarch conflicts withfile from package python3-notebook-6.0.2-1.fc32.noarch
Oh my. I know what this is. It is https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/
https://src.fedoraproject.org/rpms/python-notebook/pull-request/17 https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/YWJWLXKLF6DGT7LITBC766QW7RY7OOPM/
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Hello RPM maintainers, Could you look at the list thread, and see if you can help explain what's happening? https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/YWJWLXKLF6DGT7LITBC766QW7RY7OOPM/
Please, help us get this fixed. Is this a bug in RPM?
Miro, I don't see js-moment in the repos for FC33. Has It been dropped? Am I missing something? It's not on my system either. George...
Yes, retired. You can grab it form Koji to simulate the problem. Install js-moment from https://koji.fedoraproject.org/koji/buildinfo?buildID=1193942 Install python3-notebook <= 6.0.2-1 Try to upgrade to https://src.fedoraproject.org/rpms/python-notebook/pull-request/17
The catch here is that the offending js-moment package isn't being removed in the transaction, so in my view rpm has a fair reason to complain: it's one thing to allow replacing content from a package that's being removed, and quite something else when it's not. Obsolete js-moment and the pretrans scriptlet will start working.
Oh well. Will test. Thanks.
Oh and BTW, I'm the first to agree there's an unhealthy amount of magic involved in all this. The fact that yum/dnf does an extra test transaction is what makes things so complicated: the conflict needs to be eliminated before the transaction can proceed, but obviously a test-transaction cannot run the script which would do so. So there's a funky heuristic that lets the conflict be ignored on test-transactions when the moon is full and the stars are aligned just so to let this case through.
> Will test. It gets the job done. Thanks.
Miro, I have been having system problems and just got back online last night. Apparently my post was lost in the explosion. Sigh. I got all the pkgs that I think that I need to test this. -rw-r--r--. 1 root root 119956 Feb 1 2019 js-moment-2.18.1-6.fc30.noarch.rpm === installed ok -rw-r--r--. 1 root root 21772 Feb 1 2019 nodejs-moment-2.18.1-6.fc30.noarch.rpm === installed ok -rw-r--r--. 1 root root 2008423 Jul 26 2019 python3-notebook-5.7.8-2.fc31.noarch.rpm === will not install on fc33 -rw-r--r--. 1 root root 2329448 Jan 30 05:43 python3-notebook-6.0.2-3.fc32.noarch.rpm rpm -q js-moment nodejs-moment js-moment-2.18.1-6.fc30.noarch nodejs-moment-2.18.1-6.fc30.noarch I couldn't find a FC32 directory in archives.fedoraproject.org so I couldn't find the rpm for python3-notebook referenced above. Do you know where I can find that? I have found a Live system at FC32. Do you think that rpm would be there? Are there instructions on how to run this test by any chance? Otherwise I think I'm ready to go. Best regards, George...
The update where this i fixed is at https://bodhi.fedoraproject.org/updates/FEDORA-2020-395c85562a
Miro, So, you no longer need me to test this? George...
You can test the update in updates-testing and provide karma. But other than that, no. Thank you.
fedora-obsolete-packages-32-41, python-notebook-6.0.2-4.fc32 has been pushed to the Fedora 32 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-2020-395c85562a
fedora-obsolete-packages-32-41, python-notebook-6.0.2-4.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.