ubuntu apt-get install 时报错curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.6) but 7.61.0-1ubuntu2 is to be installed或者 vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1) but 2:8.0.1766-1ubuntu1 is to be ins

ubuntu apt-get install 时报错:Depends: ***(=某版本)but***(另一版本)is to be installed

这时候就把这个***给purge后再重新装就好了

比如:

apt-get purge libcurl4

apt-get install curl

或者:

apt-get purge vim-common

apt-get install vim

猜你喜欢

转载自www.cnblogs.com/aaron-agu/p/10424813.html