由于依赖项未得到满足,软件包已损坏 - 无法安装 fglrx

由于依赖项未得到满足,软件包已损坏 - 无法安装 fglrx

我是 Ubuntu 的新手,正在努力生存,但是,我无法弄清楚这一点 - 希望它很容易!

Ubuntu 软件中心提示:无法安装新软件,因为当前安装的软件存在问题。是否要立即修复此问题?

当我这样做时,它就失败了。

我认为这一切都始于我尝试从 AMD 网站为我的显卡安装更好的驱动器。根据终端窗口中的信息,我尝试:

sudo apt-get install -f

我得到了

relskhan@Ceti-Alpha-V:~$ sudo apt-get install -f
[sudo] password for relskhan: 
Sorry, try again.
[sudo] password for relskhan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  fglrx
The following NEW packages will be installed:
  fglrx
0 upgraded, 1 newly installed, 0 to remove and 97 not upgraded.
2 not fully installed or removed.
Need to get 0 B/59.2 MB of archives.
After this operation, 260 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 280931 files and directories currently installed.)
Preparing to unpack .../fglrx_2%3a13.350.1-0ubuntu2_amd64.deb ...
Unpacking fglrx (2:13.350.1-0ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/fglrx_2%3a13.350.1-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite '/etc/acpi/fglrx-powermode.sh', which is also in package fglrx-core 2:14.501-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx_2%3a13.350.1-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我确实不知所措并且需要帮助!

答案1

你的输出表示以下软件包有未满足的依赖关系:

  • 韓國語
  • xvba-va 驱动程序

这意味着 APT 尝试安装上述软件包但半途失败,因为您的系统中没有其他一些必需的软件包。
因此,我们需要先删除上述软件包,然后再执行其他操作。在终端中运行:

sudo dpkg --purge --force-all fglrx-amdcccle xvba-va-driver

然后我们可以删除所有fglrx相关的包:

sudo apt-get remove --purge fglrx*  

您可以安装新的 fglrx:

sudo apt-get install fglrx-updates

相关内容