You are trying to install a very old version of Qt (5.0.1), it is not provided by Ubuntu for a long time. So it is probably a problem with third party source.
Also Ubuntu 17.04 is no longer supported. You need to update to 18.04 LTS. ** Changed in: qtbase-opensource-src (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788013 Title: package libqt5core5 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libQt5Core.so.5', which is also in package libqt5core5a:amd64 5.7.1+dfsg-2ubuntu4~1.17.04.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1788013/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs