apt-get unmet依赖项

当我尝试使用apt安装任何软件包时,我得到以下结果:

sudo apt-get -f install nmap

 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. nmap : Depends: liblinear3 (>= 2.01+dfsg) but it is not going to be installed Depends: lua-lpeg but it is not going to be installed Recommends: ndiff but it is not going to be installed osbuddy : Depends: default-jre but it is not going to be installed or java6-runtime or java7-runtime Depends: jarwrapper (>= 0.5) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).