CentOS 8 安装 gparted 失败

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仍然以同样的方式失败。

答案1

遇到的缺少policykit-authentication-agent依赖包的错误看起来对于运行gparted来说并不重要。

你可以试试

dnf download gparted
sudo rpm -i gparted-downloaded-package-name.rpm --nodeps 
sudo gparted

答案2

就我而言:

sudo dnf install PolicyKit-authentication-agent
sudo dnf install gparted

相关内容