由于未满足依赖关系,更新 sabnzbdplus 包时出现问题

由于未满足依赖关系,更新 sabnzbdplus 包时出现问题

我尝试执行 apt-get install,但无论我做什么(sudo apt-get -f install、sudo apt-get purge sabnzbdplus 等),它都只是抱怨这个未满足的依赖关系。

终端输出的截图

编辑:

mads@madsserver:~$ sudo apt-get remove sabnzbdplus-theme-smpl sabnzbdplus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 sabnzbdplus-theme-classic : Depends: sabnzbdplus (= 0.7.6-0ubuntu1~jcfp1~precise) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
mads@madsserver:~$ sudo apt-get remove sabnzbdplus-theme-classic sabnzbdplus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 sabnzbdplus-theme-smpl : Depends: sabnzbdplus (= 0.7.6-0ubuntu1~jcfp1~precise) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

错误信息的关键部分是:

sabnzbdplus depends on nabnzdbplus-theme-plush (= 0.7.6-0ubuntu1~jcfp1-precise); however:
Version of sabnzbdplus-theme-plush on system is 0.7.7-0ubuntu1~jcfp1-precise.

该软件包依赖于具有特定版本号的sabnzbdplus软件包。但是,您已经安装了该软件包,只是版本不同()。nabnzdbplus-theme-plush0.7.6-0ubuntu1~jcfp1-precise0.7.7-0ubuntu1~jcfp1-precise

解决方案是卸载类似的软件包,然后尝试从头开始重新sabnzdbplus-theme-plush安装:sabnzbdplus

sudo apt-get remove nabnzdbplus-theme-plush sabnzbdplus-theme-smpl sabnzbdplus-theme-classic sabnzbdplus
sudo apt-get install sabnzdbplus

相关内容