Bug 1219305 - python3-argcomplete should conflict with python3.11-argcomplete on package level
Summary: python3-argcomplete should conflict with python3.11-argcomplete on package level
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP5
Classification: openSUSE
Component: Python (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Daniel Garcia
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 15:09 UTC by Anton Smorodskyi
Modified: 2024-05-07 16:30 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Smorodskyi 2024-01-29 15:09:11 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
Comment 1 Daniel Garcia 2024-01-30 10:03:33 UTC
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.
Comment 2 Daniel Garcia 2024-01-30 12:33:09 UTC
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.
Comment 4 Maintenance Automation 2024-02-08 12:30:12 UTC
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.
Comment 5 Daniel Garcia 2024-02-08 12:32:27 UTC
Fixed
Comment 6 Maintenance Automation 2024-05-07 16:30:04 UTC
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.