sudo apt install libxml2-dev
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:
libxml2-dev : Depends: libxml2 (= 2.9.10+dfsg-5) but 2.9.10+dfsg-5+ubuntu20.04.1+deb.sury.org+3 is to be installed
E: Unable to correct problems, you have held broken packages.
user@server:~$ sudo apt policy libxml2-dev
libxml2-dev:
Installed: (none)
Candidate: 2.9.10+dfsg-5
Version table:
2.9.10+dfsg-5 500
500 http://mirrors.digitalocean.com/ubuntu focal/main amd64 Packages
user@server:~$ sudo apt policy libxml2
libxml2:
Installed: 2.9.10+dfsg-5+ubuntu20.04.1+deb.sury.org+3
Candidate: 2.9.10+dfsg-5+ubuntu20.04.1+deb.sury.org+3
Version table:
*** 2.9.10+dfsg-5+ubuntu20.04.1+deb.sury.org+3 100
100 /var/lib/dpkg/status
2.9.10+dfsg-5 500
500 http://mirrors.digitalocean.com/ubuntu focal/main amd64 Packages
sudo dpkg --configure -a && sudo apt-get clean && sudo apt-get update
Обсуждают сегодня