我买了一个覆盆子pi 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
。
关于linux - 损坏的依赖项:intltool,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/44242743/