EC-A1688JD4 中使用sudo apt-get install 安装包的时候会报依赖关系错误
问题描述:在尝试使用sudo apt-get install 安装一些包的时候会报一些依赖错误。
问题复现:
当我尝试执行下面的命令的时候
linaro@sophon:~/tpu-mlir-python$ sudo apt-get install libffi-dev
报错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:
libqgis-core3.10.4 : Depends: libqt5gui5 (>= 5.8.0) but it is not going to be installed or
libqt5gui5-gles (>= 5.8.0) but it is not going to be installed
Depends: libqt5network5 (>= 5.4.0) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.2.0) but it is not going to be installed
Depends: libqt5svg5 (>= 5.6.0~beta) but it is not going to be installed
libqt5qml5 : Depends: libqt5network5 (>= 5.0.2) but it is not going to be installed
libqt5quick5 : Depends: libqt5gui5 (>= 5.1.0) but it is not going to be installed
Depends: libqt5gui5 (>= 5.12.5) but it is not going to be installed or
libqt5gui5-gles (>= 5.12.5) but it is not going to be installed
Depends: libqt5network5 (>= 5.0.2) but it is not going to be installed
libqt5webkit5 : Depends: libqt5gui5 (>= 5.9.0~beta) but it is not going to be installed or
libqt5gui5-gles (>= 5.9.0~beta) but it is not going to be installed
Depends: libqt5network5 (>= 5.9.0~beta) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
libqt5widgets5 : Depends: libqt5gui5 (>= 5.12.5) but it is not going to be installed or
libqt5gui5-gles (>= 5.12.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
尝试运行sudo apt --fix-broken install 操作,卸载这些包,重新安装这些包,sudo apt-get clean 等操作均无法解决。
我也遇到过这个问题,请问你解决了吗
页:
[1]