我的两个电脑都是遇到同样的问题:
└──╼ #apt install sparta
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sparta : Depends: python-qgis but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
┌─[✗]─[root@xxxx]─[~]
└──╼ #apt install python-qgis
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-qgis : Depends: python-qgis-common (= 2.18.17+dfsg-1) but it is not going to be installed
Depends: libqgis-gui2.18.17 (>= 2.18.17) but it is not going to be installed
Depends: libqgis-server2.18.17 (>= 2.18.17) but it is not going to be installed
Depends: libqscintilla2-qt4-13 (>= 2.8.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然后这几个再继续单独apt安装才追寻到是libqscintilla2-qt4-l10n
└──╼ #apt install python-qgis python-qgis-common libqgis-gui2.18.17 libqgis-server2.18.17 libqscintilla2-qt4-13
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libqscintilla2-qt4-13 : Depends: libqscintilla2-qt4-l10n (>= 2.10.2+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
┌─[✗]─[root@xxxx]─[~]
└──╼ #apt install libqscintilla2-qt4-l10n
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libqscintilla2-qt4-13 python-qscintilla2
Suggested packages:
libqscintilla2-doc
The following packages will be REMOVED:
libqscintilla2-12v5 libqscintilla2-l10n
The following NEW packages will be installed:
libqscintilla2-qt4-13 libqscintilla2-qt4-l10n
The following packages will be upgraded:
python-qscintilla2
1 upgraded, 2 newly installed, 2 to remove and 3 not upgraded.
Need to get 1,291 kB of archives.
After this operation, 1,849 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://mirrors.shu.edu.cn/parrot parrot/main amd64 python-qscintilla2 amd64 2.10.2+dfsg-4+b1 [220 kB]
Get:2 https://mirrors.shu.edu.cn/parrot parrot/main amd64 libqscintilla2-qt4-l10n all 2.10.2+dfsg-4 [53.0 kB]
Get:3 https://mirrors.shu.edu.cn/parrot parrot/main amd64 libqscintilla2-qt4-13 amd64 2.10.2+dfsg-4+b1 [1,018 kB]
Fetched 1,291 kB in 8s (167 kB/s)
(Reading database ... 452794 files and directories currently installed.)
Preparing to unpack .../python-qscintilla2_2.10.2+dfsg-4+b1_amd64.deb ...
Unpacking python-qscintilla2 (2.10.2+dfsg-4+b1) over (2.9.3+dfsg-5+b1) ...
(Reading database ... 452794 files and directories currently installed.)
Removing libqscintilla2-12v5 (2.9.3+dfsg-5+b1) ...
Removing libqscintilla2-l10n (2.9.3+dfsg-5) ...
Selecting previously unselected package libqscintilla2-qt4-l10n.
(Reading database ... 452776 files and directories currently installed.)
Preparing to unpack .../libqscintilla2-qt4-l10n_2.10.2+dfsg-4_all.deb ...
Unpacking libqscintilla2-qt4-l10n (2.10.2+dfsg-4) ...
Selecting previously unselected package libqscintilla2-qt4-13.
Preparing to unpack .../libqscintilla2-qt4-13_2.10.2+dfsg-4+b1_amd64.deb ...
Unpacking libqscintilla2-qt4-13 (2.10.2+dfsg-4+b1) ...
Setting up libqscintilla2-qt4-l10n (2.10.2+dfsg-4) ...
Processing triggers for libc-bin (2.27-1) ...
Setting up libqscintilla2-qt4-13 (2.10.2+dfsg-4+b1) ...
Setting up python-qscintilla2 (2.10.2+dfsg-4+b1) ...
Processing triggers for libc-bin (2.27-1) ...
Configuring sandbox profiles....
Sandbox profiles updated!
再安装sparta报错要先fixmissing,执行apt update --fix-missing后再apt install 来搞定整个sparta的安装。
粗略的看和你的环境区别大概就是中英文版本了,不解。。。