如下的命令行信息,更新过apt的源为清华的源,安装过程中遇到问题如下,错误已经标红色,大家帮帮忙
root@firefly:/home/firefly# apt-get install qtcreator
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:
libegl1 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is to be installed
libgl1-mesa-dev : Depends: mesa-common-dev (= 19.2.1-1ubuntu1~18.04.1) but 18.0.5-0ubuntu0~18.04.1 is to be installed
Depends: libglvnd-dev but it is not going to be installed
libgles2 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is to be installed
qtcreator : Depends: qml-module-qtqml-models2 but it is not going to be installed
Depends: qml-module-qtquick-controls (>= 5.5.0~) but it is not going to be installed
Depends: qml-module-qtquick2 (>= 5.5.0~) but it is not going to be installed
Depends: qtcreator-data (= 4.5.2-3ubuntu2) but it is not going to be installed
Depends: libbotan-2-4 but it is not going to be installed
Depends: libqbscore1.10 (>= 1.10.0) but it is not going to be installed
Depends: libqbsqtprofilesetup1.10 (>= 1.2.1) but it is not going to be installed
Depends: libqt5designer5 (>= 5.6.2~) but it is not going to be installed
Depends: libqt5designercomponents5 (>= 5.6.2~) but it is not going to be installed
Depends: libqt5help5 (>= 5.6.2~) but it is not going to be installed
Depends: libqt5quickwidgets5 (>= 5.9.0~beta) but it is not going to be installed
Recommends: clang but it is not going to be installed
Recommends: gdb but it is not going to be installed
Recommends: qmlscene but it is not going to be installed
Recommends: qt5-doc but it is not going to be installed
Recommends: qt5-qmltooling-plugins but it is not going to be installed
Recommends: qtcreator-doc but it is not going to be installed
Recommends: qtdeclarative5-dev-tools but it is not going to be installed
Recommends: qttools5-dev-tools but it is not going to be installed
Recommends: qtxmlpatterns5-dev-tools but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
root@firefly:/home/firefly#
root@firefly:/home/firefly# apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
libegl1 libgles2 libglvnd-dev mesa-common-dev
The following NEW packages will be installed:
libglvnd-dev
The following packages will be upgraded:
libegl1 libgles2 mesa-common-dev
3 upgraded, 1 newly installed, 0 to remove and 404 not upgraded.
66 not fully installed or removed.
Need to get 0 B/708 kB of archives.
After this operation, 796 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 105719 files and directories currently installed.)
Preparing to unpack …/libegl1_1.0.0-2ubuntu2.3_arm64.deb …
Unpacking libegl1:arm64 (1.0.0-2ubuntu2.3) over (1.0.0-2ubuntu2.2) …
dpkg: error processing archive /var/cache/apt/archives/libegl1_1.0.0-2ubuntu2.3_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libEGL.so.1.0.0’, which is also in package rockchip-mali-midgard14 1.6-1
Preparing to unpack …/libgles2_1.0.0-2ubuntu2.3_arm64.deb …
Unpacking libgles2:arm64 (1.0.0-2ubuntu2.3) over (1.0.0-2ubuntu2.2) …
dpkg: error processing archive /var/cache/apt/archives/libgles2_1.0.0-2ubuntu2.3_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libGLESv2.so.2.0.0’, which is also in package rockchip-mali-midgard14 1.6-1
Preparing to unpack …/mesa-common-dev_19.2.1-1ubuntu1~18.04.1_arm64.deb …
Unpacking mesa-common-dev:arm64 (19.2.1-1ubuntu1~18.04.1) over (18.0.5-0ubuntu0~18.04.1) …
dpkg: error processing archive /var/cache/apt/archives/mesa-common-dev_19.2.1-1ubuntu1~18.04.1_arm64.deb (–unpack):
trying to overwrite ‘/usr/include/KHR/khrplatform.h’, which is also in package libmali-rk-dev:arm64 1.6-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack …/libglvnd-dev_1.0.0-2ubuntu2.3_arm64.deb …
Unpacking libglvnd-dev:arm64 (1.0.0-2ubuntu2.3) …
dpkg: error processing archive /var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.3_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libEGL.so’, which is also in package rockchip-mali-midgard14 1.6-1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/libegl1_1.0.0-2ubuntu2.3_arm64.deb
/var/cache/apt/archives/libgles2_1.0.0-2ubuntu2.3_arm64.deb
/var/cache/apt/archives/mesa-common-dev_19.2.1-1ubuntu1~18.04.1_arm64.deb
/var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.3_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@firefly:/home/firefly#

