1

How do I fix broken libxml2-dev dependency on Debian using apt?

view story
linux-howto

http://unix.stackexchange.com – When I run sudo apt-get upgrade on my Debian Squeeze install, I get the following error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libxml2-dev : Depends: libxml2 (= 2.7.8.dfsg-2+squeeze3) but 2.7.8.dfsg-2+squeeze5 is installed E: Unmet dependencies. Try using -f. I'm not sure what "squeeze3" versus "squeeze5" means, but it is the only thing that differs in the libxml2 package. When I try "sudo apt-get install -f", I get: The following extra packages will be installed: libxml2-dev The following packages will be upgraded: (HowTos)