错误:
sudo apt-get install libpng-dev 时报错
libpng12-dev : Depends: libpng12-0 (= 1.2.54-1ubuntu1) but 1.2.54-1ubuntu1k1 is to be installed
E: Unable to correct problems, you have held broken packages
解决办法
sudo apt install libpng12-0=1.2.54-1ubuntu1
参考
Packages have unmet dependencies (1ubuntu1 vs 1ubuntu1k1)?这里写链接内容