This fixed it for me dpkg --purge python-numpy I saw this issue after installing the "calibre" ebook reader.
-- 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