While building a custom image on top of Red Hat RHEL-8 (redhat/ubi8) for installing a Pushpin, I encounter an issue stating Cannot install the best candidate for the job;
nothing provides libQt5Core.so.5()(64bit) needed by Pushpin-1.37.0.
complete error details :
3.853 Error:
3.853 Problem: cannot install the best candidate for the job
3.853 - nothing provides libQt5Core.so.5()(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853 - nothing provides libQt5Core.so.5(Qt_5)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853 - nothing provides libQt5Core.so.5(Qt_5.15)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853 - nothing provides libQt5Network.so.5()(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853 - nothing provides libQt5Network.so.5(Qt_5)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.854 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
could you please help if any additional repository to be configured.
I just wanted to let you know that we have seen your question and I’ve already reached out to a specific internal team who I believe are the best people to help with your query.
I’m just waiting for a response from them (they’re in a different time zone from myself) and so I’ll feedback here once they’ve had an opportunity to review.
In RHEL 8 the QT packages are in the AppStream repo, so you will need to use your system’s tools to enable that additional RHEL repository. This will allow yum or dnf to find the required packages.
It is quite likely that those packages are not included in the UBI repositories as those repositories are kept to a minimal set (on purpose), and enabling the additional repositories will require that your image be built on (and run on) a machine with a RHEL subscription.