以下软件包具有未满足的依赖关系:libfcgi-bin

以下软件包具有未满足的依赖关系:libfcgi-bin

我尝试安装“qgis”和“qgis server”,但失败了,而且我认为某些包与我系统上已有的包发生冲突。

现在我无法通过“sudo apt-get upgrade”进行升级,也无法安装新软件包;当我这样做时,出现以下错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libfcgi-bin : Depends: libfcgi0ldbl but it is not installed
 qgis-server : Depends: libfcgi0ldbl but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我也无法清除 qgis-server 或 libfcgi-bin,如果这样做,我会得到:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libfcgi-bin : Depends: libfcgi0ldbl but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我想摆脱 qgis-server 以及与此问题相关的任何内容,以便可以正常恢复系统

答案1

我设法通过使用以下命令“sudo dpkg -P libfcgi0ldbl”解决了该问题,然后再次针对 qgis-server 使用 sudo dpkg -P qgis-server 解决了该问题。

相关内容