I still see this bug today
Ubuntu 24.04.1 LTS
# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python3-numpy
Suggested packages:
gfortran python3-pytest
The following NEW packages will be installed
python3-numpy
0 to upgrade, 1 to newly install, 0 to remove and 7 not to upgrade.
91 not fully installed or removed.
Need to get 0 B/4,437 kB of archives.
After this operation, 23.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 357605 files and directories currently installed.)
Preparing to unpack .../python3-numpy_1%3a1.26.4+ds-6ubuntu1_amd64.deb ...
Unpacking python3-numpy (1:1.26.4+ds-6ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/python3-numpy_1%3a1.26.4+ds-6ubuntu1_amd64.deb
(--unpack):
trying to overwrite '/usr/bin/f2py', which is also in package python-numpy
1:1.16.5-2ubuntu7
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3-numpy_1%3a1.26.4+ds-6ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2030297
Title:
package python3-numpy 1:1.21.5-1ubuntu22.10.1 failed to
install/upgrade: trying to overwrite '/usr/bin/f2py', which is also in
package python-numpy 1:1.16.5-2ubuntu7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/numpy/+bug/2030297/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs