deadsnakes / issues

Issues for https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
86 stars 6 forks source link

Conflict when installing both python3.13-dbg and python3.13-nogil #293

Closed godlygeek closed 3 months ago

godlygeek commented 3 months ago

description

Attempting to install both python3.13-nogil and python3.13-dbg fails because both attempt to provide the same file:

Preparing to unpack .../python3.13-dbg_3.13.0~rc1-1+noble1_amd64.deb ...
Unpacking python3.13-dbg (3.13.0~rc1-1+noble1) ...
dpkg: error processing archive /var/cache/apt/archives/python3.13-dbg_3.13.0~rc1-1+noble1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/doc/python3.13/SpecialBuilds.txt', which is also in package python3.13-nogil 3.13.0~rc1-1+noble1
Errors were encountered while processing:
 /var/cache/apt/archives/python3.13-dbg_3.13.0~rc1-1+noble1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The file doesn't mention the free-threading/nogil build at all, so it should probably just be dropped from the -nogil package.

os information

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble

uname -a

Linux PF32025J 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
asottile commented 3 months ago

thanks for the report! this should be fixed in the next round of nightlies or whenever the +{dist}2 releases drop for 3.13!

godlygeek commented 3 months ago

Thanks for the quick fix, and all the work you do!