执行:sudo apt-get -f install ncview 出现如下错误
错误:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ncview : Depends: libnetcdf11 (>= 4.0.1) but it is not going to be installed
Depends: libudunits2-0 (>= 2.2.14) but it is not going to be installed
teamviewer : Depends: libqt5x11extras5 (>= 5.5) but it is not going to be installed or
qt56-teamviewer but it is not installable
Depends: qml-module-qtquick-controls (>= 5.5) but it is not going to be installed or
qt56-teamviewer but it is not installable
Depends: qml-module-qtquick-dialogs (>= 5.5) but it is not going to be installed or
qt56-teamviewer but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
解决:
sudo apt-get --fix-broken install
(修复broken的安装包)
之后再执行sudo apt-get -f install ncview
就好啦~~