Preparing to unpack .../7-python3-distutils_3.10.6-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.6-1~22.04) over (3.10.4-0ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-52WhMe/7-python3-distutils_3.10.6-1~22.04_all.deb (--unpack):
trying to overwrite '/usr/lib/python3.11/distutils/README', which is also in package python3.11-distutils 3.11.0~rc1-1+focal1
Preparing to unpack .../8-python3-lib2to3_3.10.6-1~22.04_all.deb ...
Unpacking python3-lib2to3 (3.10.6-1~22.04) over (3.10.4-0ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-52WhMe/8-python3-lib2to3_3.10.6-1~22.04_all.deb (--unpack):
trying to overwrite '/usr/lib/python3.11/lib2to3/Grammar.txt', which is also in package python3.11-lib2to3 3.11.0~rc1-1+focal1
Preparing to unpack .../9-python3-tz_2022.1-1ubuntu0.22.04.0_all.deb ...
Unpacking python3-tz (2022.1-1ubuntu0.22.04.0) over (2022.1-1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-52WhMe/7-python3-distutils_3.10.6-1~22.04_all.deb
/tmp/apt-dpkg-install-52WhMe/8-python3-lib2to3_3.10.6-1~22.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Asked
Active
Viewed 419 times
0
Maxximiliann
- 11
- 2
-
Edit your question and add the output of `cat /var/log/dpkg` – Rishon_JR Dec 24 '22 at 04:55
-
1Does this answer your question? [dpkg error: "trying to overwrite file, which is also in..."](https://askubuntu.com/questions/176121/dpkg-error-trying-to-overwrite-file-which-is-also-in) – karel Jan 02 '23 at 11:43