Bug 2254087 - /usr/share/licenses/python-notebook/LICENSE from python3-notebook-7.0.2-1.fc39.noarch conflicts with the file from python-notebook-doc-6.1.6-2.fc34.noarch
Summary: /usr/share/licenses/python-notebook/LICENSE from python3-notebook-7.0.2-1.fc3...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-notebook
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-11 21:11 UTC by Jacques Noé
Modified: 2023-12-21 04:00 UTC (History)
4 users (show)

Fixed In Version: python-notebook-7.0.6-2.fc40 python-notebook-7.0.6-2.fc39
Clone Of:
Environment:
Last Closed: 2023-12-21 04:00:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-notebook pull-request 57 0 None None None 2023-12-12 10:57:29 UTC

Description Jacques Noé 2023-12-11 21:11:31 UTC
During the upgrade to Fedora39, the upgrade stopped with the following message:

Erreur interne:

Erreur d’exécution pour la transaction : le fichier /usr/share/licenses/python-notebook/LICENSE de l'installation de python3-notebook-7.0.2-1.fc39.noarch entre en conflit avec le fichier du paquet python-notebook-doc-6.1.6-2.fc34.noarch 

Repeating the upgrade will repeat the error.

The system is up to date: the command sudo dnf upgrade --refresh returns nothing to do.

I will uninstall python-notebook-doc and hopefully it will allow me to continue my upgrade.
I will update the bug report after that.

Reproducible: Always

Comment 1 Miro Hrončok 2023-12-11 23:42:41 UTC
Thanks for the report. Yes, uninstalling python-notebook-doc should unblock your upgrade, sorry about the trouble.




In https://src.fedoraproject.org/rpms/python-notebook/c/3d7e153bcc8717adb0ec6b4cac581935efb9a277?branch=rawhide we have removed python-notebook-doc. That was a couple of years ago.

Unfortunately, the package has:

  %global _docdir_fmt %{name}

In it, for a long-forgotten reason (since the initial import).

Now, the /usr/share/licenses/python-notebook/LICENSE file was co-owned by both python3-notebook and python-notebook-doc. The files were identical, it didn't matter that python3-notebook is a different version than python-notebook-doc. We removed python-notebook-doc but users who kept it on their machines were able to upgrade python3-notebook independently.

Until https://github.com/jupyter/notebook/commit/0ccb87867d9de4af6feaeccfdf1539af541f6268 -- this changed the file and now the python3-notebook version 7+ cannot be co-installed with the old python-notebook-doc package from notebook 6.


We should:
 - ditch %global _docdir_fmt %{name}
 - properly Obsolete python-notebook-doc < 7

Comment 2 Jacques Noé 2023-12-12 00:25:37 UTC
After the uninstallation of python-notebook-doc, the upgrade could proceed.

Thank you for your help.

Comment 4 Fedora Update System 2023-12-12 22:53:20 UTC
FEDORA-2023-91c7b029bd has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-91c7b029bd

Comment 5 Fedora Update System 2023-12-12 23:14:35 UTC
FEDORA-2023-4905b60459 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4905b60459

Comment 6 Fedora Update System 2023-12-12 23:20:02 UTC
FEDORA-2023-91c7b029bd has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-12-13 02:10:02 UTC
FEDORA-2023-4905b60459 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4905b60459`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4905b60459

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-12-21 04:00:22 UTC
FEDORA-2023-4905b60459 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.