gpt4 book ai didi

ubuntu - 尝试在 ubuntu 上安装 libxml2-dev 时出现错误消息

转载 作者:行者123 更新时间:2023-12-04 19:25:47 26 4
gpt4 key购买 nike

环境:Ubuntu 20.04
sudo apt-get install libxml2-dev在终端。但是它返回了以下消息:

Reading package lists... Done
Building dependency tree... Done
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:
libxml2-dev : Depends: libxml2 (= 2.9.10+dfsg-6.3ubuntu0.1) but 2.9.12+dfsg-0+ubuntu21.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
libxml2-dev : Depends: libxml2 (= 2.9.10+dfsg-6.3ubuntu0.1) but 2.9.12+dfsg-0+ubuntu21.04.1+deb.sury.org+1 is to be installed 是什么意思意思是?我该如何解决?
谢谢!

最佳答案

解决方案在这里(但我用法语写了教程):https://forum.ubuntu-fr.org/viewtopic.php?pid=22551079
长话短说:通过 ppa-purge 卸载 ppa:ondrej/php 解决了我的问题!

关于ubuntu - 尝试在 ubuntu 上安装 libxml2-dev 时出现错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71238312/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com