Unable to upgrade my system

Hello Rocky Forum.

I am currently running on Rocky Linux 9 as per the output below:

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"

When i run the upgrade command, i get the following error:

sudo dnf -y upgrade 
Last metadata expiration check: 1:19:13 ago on Mon 24 Jul 2023 06:23:24 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.105.0-3.el9.next.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.105.0-3.el9.next.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.105.0-3.el9.next.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 answer, but please help me understand how we solve these kinds of errors on “nothing provides” such and such package.

You are attempting to use EPEL next that is meant for CentOS Stream (or 9.3, which is not available until november). It is recommended to disable the epel next repository.

1 Like

Thank you so much @nazunalika

I have managed to disable the epel-next repository:

sudo yum-config-manager --disable epel-next

Then running the command:

sudo dnf upgrade -y
Last metadata expiration check: 1:39:15 ago on Mon 24 Jul 2023 06:23:24 PM EAT.
Dependencies resolved.
==========================================================================
 Package               Arch   Version               Repository       Size
==========================================================================
Upgrading:
 bind-libs             x86_64 32:9.16.23-11.el9_2.1 appstream       1.2 M
 bind-license          noarch 32:9.16.23-11.el9_2.1 appstream        13 k
 bind-utils            x86_64 32:9.16.23-11.el9_2.1 appstream       199 k
 firefox               x86_64 102.13.0-2.el9_2      appstream       107 M
 google-chrome-stable  x86_64 115.0.5790.102-1      google-chrome    96 M
 mongodb-database-tools
                       x86_64 100.7.4-1             mongodb-org-5.0  51 M
 mongodb-org           x86_64 5.0.19-1.el8          mongodb-org-5.0 9.5 k
 mongodb-org-database  x86_64 5.0.19-1.el8          mongodb-org-5.0 9.6 k
 mongodb-org-database-tools-extra
                       x86_64 5.0.19-1.el8          mongodb-org-5.0  15 k
 mongodb-org-mongos    x86_64 5.0.19-1.el8          mongodb-org-5.0  20 M
 mongodb-org-server    x86_64 5.0.19-1.el8          mongodb-org-5.0  28 M
 mongodb-org-shell     x86_64 5.0.19-1.el8          mongodb-org-5.0  16 M
 mongodb-org-tools     x86_64 5.0.19-1.el8          mongodb-org-5.0 9.5 k
 open-vm-tools         x86_64 12.1.5-1.el9_2.1      appstream       851 k
 open-vm-tools-desktop x86_64 12.1.5-1.el9_2.1      appstream       158 k
 polkit-qt5-1          x86_64 0.114.0-6.el9         epel             83 k
 pritunl-client-electron
                       x86_64 1.3.3600.11-1.el8.oraclelinux
                                                    pritunl          99 M
 qca-qt5               x86_64 2.3.4-5.el9           epel            457 k
 qca-qt5-ossl          x86_64 2.3.4-5.el9           epel            112 k
 sos                   noarch 4.5.4-1.el9           baseos          789 k
 webkit2gtk3           x86_64 2.38.5-1.el9_2.3      appstream        18 M
 webkit2gtk3-jsc       x86_64 2.38.5-1.el9_2.3      appstream       3.2 M

Transaction Summary
==========================================================================
Upgrade  22 Packages

Thank you so much. Is this the way to handle the “nothing provides” error ?

@Jil I suggest to remove the epel-next repo/release files at all.

dnf remove epel-next-release

1 Like