Bugzilla – Bug 1219305
python3-argcomplete should conflict with python3.11-argcomplete on package level
Last modified: 2024-05-07 16:30:04 UTC
While installing azure-cli-2.17.1-150100.6.14.2.noarch.rpm I got following error : #6 8.344 Retrieving: azure-cli-2.17.1-150100.6.14.2.noarch.rpm [.done] #6 8.378 #6 8.378 Checking for file conflicts: [....error] #6 8.645 Detected 2 file conflicts: #6 8.645 #6 8.645 File /usr/bin/python-argcomplete-check-easy-install-script #6 8.645 from install of #6 8.645 python3-argcomplete-1.9.2-3.2.14.noarch (SLE_BCI) #6 8.645 conflicts with file from package #6 8.645 python311-argcomplete-3.1.2-150400.12.5.1.noarch (@System) #6 8.645 #6 8.645 File /usr/bin/register-python-argcomplete #6 8.645 from install of #6 8.645 python3-argcomplete-1.9.2-3.2.14.noarch (SLE_BCI) #6 8.645 conflicts with file from package #6 8.645 python311-argcomplete-3.1.2-150400.12.5.1.noarch (@System) #6 8.645 #6 8.645 File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content. #6 8.645 Continue? [yes/no] (no): no Generally this error is fine because I am installing package in python3.11 env which currently not supported by azure-cli-2.17 . **The bug is about python3-argcomplete** Expected : python3-argcomplete should conflict with python3.11-argcomplete on package level
This is because the new python311 package uses update-alternatives for binaries but the old one doesn't so we've a conflict. The solution should be to add the update-alternatives to the old package.
I've just created a request to update the python3 package to use update-alternatives so it shouldn't conflict with the new python311 package. This should fix the problem once it lands in the distribution.
SUSE-RU-2024:0425-1: An update that has one fix can now be installed. Category: recommended (moderate) Bug References: 1219305 Sources used: openSUSE Leap 15.5 (src): python-argcomplete-1.9.2-150000.3.5.1 Basesystem Module 15-SP5 (src): python-argcomplete-1.9.2-150000.3.5.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Fixed
SUSE-RU-2024:0425-2: An update that has one fix can now be installed. Category: recommended (moderate) Bug References: 1219305 Maintenance Incident: [SUSE:Maintenance:32346](https://smelt.suse.de/incident/32346/) Sources used: SUSE Manager Server 4.3 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Enterprise Storage 7.1 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Manager Proxy 4.3 (src): python-argcomplete-1.9.2-150000.3.5.1 SUSE Manager Retail Branch Server 4.3 (src): python-argcomplete-1.9.2-150000.3.5.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.