# Nothing provides libQt5Core.so.5

**URL:** <https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 18, 2023, 7:54pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900 "2023-11-18T19:54:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jil](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jil/32/1089_2.png) [@Jil](https://forums.rockylinux.org/u/Jil)\
**Post date:** [November 18, 2023, 7:54pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/1 "2023-11-18T19:54:19Z")

</div>

Greetings to the Rocky Linux Forum.

I appreciate this forum because i get to learn alot of stuff.

Am running on Rocky Linux 9.

```auto
$ cat /etc/os-release 
NAME="Rocky Linux"
VERSION="9.2 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.2 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.2"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2"

```

I run into this problem while updating my system packages.

```auto
$ sudo dnf update -y
Last metadata expiration check: 0:23:01 ago on Sat 18 Nov 2023 10:28:31 PM EAT.
Error: 
 Problem 1: cannot install the best update candidate for package kf5-ki18n-5.105.0-1.el9.x86_64
  - nothing provides libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) needed by kf5-ki18n-5.108.0-1.el9.x86_64
 Problem 2: cannot install the best update candidate for package kf5-kiconthemes-5.105.0-1.el9.x86_64
  - nothing provides libQt5Gui.so.5(Qt_5_PRIVATE_API)(64bit) needed by kf5-kiconthemes-5.108.0-1.el9.x86_64
 Problem 3: cannot install the best update candidate for package kf5-kxmlgui-5.105.0-1.el9.x86_64
  - nothing provides libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) needed by kf5-kxmlgui-5.108.0-1.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

i know this might be a straight forward question, but how do we solve the commands that throws in “nothing provide” error?  
Please help me understand.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [November 18, 2023, 7:59pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/2 "2023-11-18T19:59:08Z")

</div>

You will need to wait for Rocky Linux 9.3 to release, pending for Monday, as it will come up with updated qt5 libraries.

---

<div class="post-metadata">

**Author:** ![Jil](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jil/32/1089_2.png) [@Jil](https://forums.rockylinux.org/u/Jil)\
**Post date:** [November 18, 2023, 8:09pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/3 "2023-11-18T20:09:30Z")

</div>

Thank you very much.

How do we solve the “nothing provides” when i encounter the error while running other commands?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 19, 2023, 10:13am UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/4 "2023-11-19T10:13:36Z")

</div>

@Jil as @label said, you have to wait for Rocky 9.3 to be released, since EPEL has the packages released that match RHEL 9.3. That package exists in Rocky 9.3 which isn’t released yet, and Rocky 9.2 doesn’t have it. So all you can do is wait until Rocky 9.3 is released and then update.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 19, 2023, 10:52am UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/5 "2023-11-19T10:52:59Z")

</div>

> [@Jil](#):
>
> How do we solve the “nothing provides” when i encounter the error while running other commands?

Not sure what you do mean by “other commands”, but …

- Each RPM package contains two lists: “provides” and “requires” – what this package has and what it needs from some other packages
- When you install a package, the dnf reads the “requires” from it and looks at the “provides” lists of all packages that are currently installed or available in enabled repositories
  - If an available package provides what is required, then it is added to packages to install and its “requires” are checked too
  - If no package provides what is required, then transaction is not possible and you do get the “nothing provides”

- When you remove a package, the “requires” of all other installed packages are checked
  - If the removed package is the only one to provide what some other package requires, then that other package must be removed too

The “nothing provides” shows that no enabled repo has package that would provide what is required.

- The required packages may be in different repo. Typical example is that some packages in EPEL do depend on packages that are in CRB and CRB was disabled by default. (Occasionally EPEL releases packages that depend on other EPEL packages that are not released yet; EPEL has many maintainers.)
- In this case the “different repo” is Rocky 9.3 that does not exist quite yet (because EPEL package has been built with/for RHEL 9.3)

---

<div class="post-metadata">

**Author:** ![Jil](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jil/32/1089_2.png) [@Jil](https://forums.rockylinux.org/u/Jil)\
**Post date:** [November 19, 2023, 11:00am UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/6 "2023-11-19T11:00:11Z")

</div>

Thank you so much @jlehtone and @iwalker

This is what i wanted to understand, its now very clear. Thank you for this, much appreciated.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 19, 2023, 1:39pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/7 "2023-11-19T13:39:54Z")

</div>

Good. _One more thing_ …

> [@Jil](#):
>
> `sudo dnf update -y`

Avoid the `-y` option. It is no more difficult to type `y` when dnf asks _“Do you want to do this?”_,  
but it can be way more difficult to undo the transaction if you afterwards notice that it was a mistake.

* * *

(Then again, I do often call dnf via _Ansible playbooks_ and those do not ask, they go “yes” …)

---

<div class="post-metadata">

**Author:** ![Jil](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jil/32/1089_2.png) [@Jil](https://forums.rockylinux.org/u/Jil)\
**Post date:** [November 19, 2023, 7:10pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/8 "2023-11-19T19:10:49Z")

</div>

Thank you for taking your time to explain this. Its a learning curve.

---

<div class="post-metadata">

**Author:** ![B3rtm3n](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/b3rtm3n/32/2621_2.png) [@B3rtm3n](https://forums.rockylinux.org/u/B3rtm3n)\
**Post date:** [November 25, 2023, 4:02pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/9 "2023-11-25T16:02:55Z")

</div>

I think there is a problem with the app discover which installs the packages without the missing dependencies and makes the system fail to boot which happened to my laptop.  
Only on my pc I used terminal instead and noticed these messages of missing depencies/packages so I was not able to install and my pc is still running.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 24, 2024, 4:03pm UTC](https://forums.rockylinux.org/t/nothing-provides-libqt5core-so-5/11900/10 "2024-01-24T16:03:11Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
