E: Unable to correct problems, you have held broken packages-之apt-get 下載報依賴問題

今天在新來了一臺ubutnu 18.04 在安裝zabbix客戶端是報依賴問題python

root@VM_0_10:~# apt-get install zabbix-agent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zabbix-agent : Depends: libcurl3 (>= 7.16.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 解決方案:curl

apt install aptitude

aptitude install  -y zabbix-agent

#而後就成功了
 有的問題 apt-get 解決不了,必須使用 aptitude 解決,有的問題,用 aptitude 解決不了,必須使用apt-get.

    aptitude 解決得更好的地方: install, remove, reinstall(apt-get無此功能), show(apt-get無此功能), search(apt-get無此功能), hold(apt-get無此功能), unhold(apt-get無此功能),

    apt-get 解決得更好的地方: source(aptitude無此功能), build-dep (低版本的aptitude沒有build-dep功能)

    apt-get 跟 aptitude 沒什麼區別的地方:update, upgrade (apt-get upgrade=aptitude safe-upgrade, apt-get dist-upgrade=aptitude full-upgrgade)
相關文章
相關標籤/搜索