【问题标题】:broken dependencies: intltool损坏的依赖项:intltool
【发布时间】:2017-05-29 22:18:43
【问题描述】:

我有一个 raspberry 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"

两者都没有帮助。

【问题讨论】:

  • 请添加grep -IRH '^deb ' /etc/apt/的输出

标签: linux raspberry-pi raspberry-pi3 apt-get


【解决方案1】:

根据您使用的操作系统,问题可能是您没有启用正确的存储库。尽管如此,您当然可以执行以下操作来安装 intltool:

  • 从pkgs.org下载包
  • 安装.deb 文件。
  • 再次运行sudo apt-get install intltool。

【讨论】:

  • 感谢您的回答。我收到以下错误:Sudo dpkg -i intltool_0.50.2-2_all.deb: Dpkg: 此配置的 intltool 依赖问题:Intltool 依赖于 libxml-parser-perl;但是:没有安装 Libxml-parser-perl 包。 Dpkg: Error processing package intltool (--install): 依赖问题 - 仍未配置触发 man-db (2.7.0.2-5) 处理...编辑时出错:intltool`
  • 对不起,我忘记了:我使用的是 Jessie 操作系统
  • 你有没有进一步的指示?
猜你喜欢
  • 2021-04-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-05-28
  • 2017-03-09
  • 2017-08-22
  • 2019-08-15
  • 2020-04-22
相关资源
最近更新 更多