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 패키지의 공식 업데이트로 문제가 해결되었습니다.