CentOS 8にKDEをインストールしようとしていますが、インストールできません。最近、パッケージの更新と実行に問題がありましたdnf --refresh --best --allowerasing update
。これにより、KDEとすべての関連アプリケーションが削除されました(たとえば、警告メッセージが表示されたことはわかりましたが、後で簡単に再インストールできると思いました...)。
オンラインでいくつかのチュートリアルを見つけました(例:これ)しかし、これに従うと、「衝突する要求」エラーが発生します(最初の3つのエラーのみが表示されますが、54個のパッケージでは同じエラーが発生します)。
[user@localhost ~]$ sudo dnf groupinstall "KDE Plasma Workspaces" "base-x" -y
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 1:48:35 ago on Wed 17 Nov 2021 08:45:49 AM CET.
No match for group package "k3b-extras-freeworld"
Error:
Problem 1: conflicting requests
- nothing provides libQt5Core.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by kf5-akonadi-server-19.12.2-1.el8.1.x86_64
- nothing provides libQt5Sql.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by kf5-akonadi-server-19.12.2-1.el8.1.x86_64
- nothing provides qt5-qtbase(x86-64) = 5.12.5 needed by kf5-akonadi-server-19.12.2-1.el8.1.x86_64
Problem 2: package kwebkitpart-1.4.0-0.6.20190110.el8.x86_64 requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
- package kwebkitpart-1.4.0-0.6.20190110.el8.x86_64 requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
- package kwebkitpart-1.4.0-0.6.20190110.el8.x86_64 requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
- package kwebkitpart-1.4.0-0.6.20190110.el8.x86_64 requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
- conflicting requests
- nothing provides libQt5Gui.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by qt5-qtwebkit-5.212.0-0.42.alpha3.el8.x86_64
- nothing provides libQt5Quick.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by qt5-qtwebkit-5.212.0-0.42.alpha3.el8.x86_64
- nothing provides qt5-qtbase(x86-64) = 5.12.5 needed by qt5-qtwebkit-5.212.0-0.42.alpha3.el8.x86_64
- nothing provides qt5-qtdeclarative(x86-64) = 5.12.5 needed by qt5-qtwebkit-5.212.0-0.42.alpha3.el8.x86_64
Problem 3: package kdeplasma-addons-5.18.4.1-1.el8.x86_64 requires libQt5WebEngineCore.so.5()(64bit), but none of the providers can be installed
- package kdeplasma-addons-5.18.4.1-1.el8.x86_64 requires libQt5WebEngineCore.so.5(Qt_5)(64bit), but none of the providers can be installed
- package kdeplasma-addons-5.18.4.1-1.el8.x86_64 requires libQt5WebEngine.so.5()(64bit), but none of the providers can be installed
- package kdeplasma-addons-5.18.4.1-1.el8.x86_64 requires libQt5WebEngine.so.5(Qt_5)(64bit), but none of the providers can be installed
- conflicting requests
- nothing provides libQt5Gui.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by qt5-qtwebengine-5.12.8-1.el8.x86_64
- nothing provides qt5-qtbase(x86-64) = 5.12.5 needed by qt5-qtwebengine-5.12.8-1.el8.x86_64
問題を解決するにはどうすればよいですか?
リポジトリに問題がある場合は、次のリストを確認してください。
[user@localhost ~]$ sudo dnf repolist
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name
BellSoft BellSoft Repository
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
epel-multimedia negativo17 - Multimedia
extras CentOS Linux 8 - Extras
google-chrome google-chrome
owncloud owncloud
powertools CentOS Linux 8 - PowerTools
rpmfusion-free-updates RPM Fusion for EL 8 - Free - Updates
rpmfusion-nonfree-updates RPM Fusion for EL 8 - Nonfree - Updates
teams teams
すべてが必要かどうかわからない。 KDEの復元に必要な場合は削除します。
ここにも歴史があります。
[user@localhost ~]$ sudo dnf history
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
ID | Command line | Date and time | Action(s) | Altered
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
123 | history undo 122 | 2021-11-17 08:54 | Removed | 3
122 | install GConf2-devel | 2021-11-16 23:03 | Install | 3
121 | | 2021-11-16 23:01 | Install | 1
120 | --enablerepo=epel,powertools group -y install KDE Plasma Workspaces base-x --nobest --skip-broken | 2021-11-16 22:39 | Install | 3
119 | --refresh --best --allowerasing update | 2021-11-16 22:04 | E, I, O, U | 848 EE
118 | remove tesseract | 2021-11-16 22:03 | Removed | 35 EE
117 | update | 2021-11-15 17:36 | Upgrade | 58 EE
119で問題が発生しましたが、キャンセルできません(sudo dnf history undo 119
失敗)
ベストアンサー1
Qtパッケージの公式アップデートで問題が解決しました。