1.upgrade如下报错的处理方法:apt-get --fix-broken install
root@ZabbixAgent:/home/syj# apt-get upgrade
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:
jenkins : Depends: daemon but it is not installed
Depends: default-jre-headless (>= 2:1.7) but it is not installed or
java7-runtime-headless
E: Unmet dependencies. Try using -f.