Centos
CentOS 8 安裝 gparted 失敗
在帶有桌面的 CentOS 8.0 伺服器中,我正在嘗試安裝gparted。它不在本機軟體應用程序中,所以我嘗試了:
sudo yum install epel-release sudo yum install gparted
當我執行後者時,我看到
Error: Problem: conflicting requests - nothing provides PolicyKit-authentication-agent needed by gparted-1.0.0.4.el8.x86_64 (try to add '--skip-broken' to skip uninstallables packages)
當我這樣做時,我看到:
Last metadata expiration check: 1 day, 2:43:25 ago,..... Dependencies resolved. Nothing to do. Complete!
但
sudo yum install gparted
仍然以同樣的方式失敗。
遇到的缺少 policykit-authentication-agent 依賴包的錯誤看起來對於執行 gparted 並不重要。
你可以試試
dnf download gparted sudo rpm -i gparted-downloaded-package-name.rpm --nodeps sudo gparted
就我而言:
sudo dnf install PolicyKit-authentication-agent sudo dnf install gparted