apt --fix-broken install 无法修复依赖项

apt --fix-broken install 无法修复依赖项

我正在尝试安装sdrangel。dpkg 告诉我有未满足的依赖项。我试过了sudo apt install -f。它删除了我尝试安装的软件包并退出,没有错误消息

markos@elitebook:~/Downloads/sdrangel-1550-master$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  sdrangel
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 74,9 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 269227 files and directories currently installed.)
Removing sdrangel (7.4.0-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...

这种情况一直发生,我在网上找不到解决方案。我该如何解决这个问题?

答案1

apt --fix-broken正在执行本例中应该执行的操作。它会删除无法在系统中安装的软件包,因为该软件包具有无法安装的依赖项。

虽然它不直接受 SDrangel 支持开发商,您可以尝试通过 snap 安装 SDrangel,如下所述这里

相关内容