我有一个树莓派 3B,我已经用了两天了。在尝试让我的蓝牙耳机正常工作时,我在安装 intltool 包时遇到了问题。
$ sudo apt-get install intltool
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:
intltool : Depends: libxml-parser-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
与
sudo apt-get -f install
我明白了
0 updated, 0 newly installed, 0 to remove and 0 not updated.
和
sudo apt-get clean
和
sudo apt-get -f check
没有成功。另外
sudo sh -c "apt-get update;apt-get dist-upgrade;apt-get autoremove;apt-get autoclean"
两者都没有帮助。
根据您使用的操作系统,问题可能是您没有启用正确的存储库。尽管如此,您当然可以通过以下方式安装 intltool:
- 从pkgs.org下载包
- 安装
.deb
文件。
- 再次运行
sudo apt-get install intltool
。
我是一名优秀的程序员,十分优秀!