Linux-Mint
在 Mint 18.1 上安裝環的損壞包問題
我安裝了 Linux Mint 18.1 Serena,但它
apt-get install ring
不會成功。它返回以下內容: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: ring : Depends: libedataserver-1.2-22 (>= 3.17) but it is not installable Depends: libqt5core5a (>= 5.6.0~beta) but 5.5.1+dfsg-16ubuntu7.2 is to be installed Depends: ring-daemon (= 20161228.1.49686a5~dfsg1-1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
然後我嘗試了:
apt-get clean & update aptitude -f install ring apt-get install ring --fix-broken
但是,它並沒有幫助解決這個問題。怎麼解決?
的輸出
apt-cache policy ring
:ring: Installed: (none) Candidate: 20161228.1.49686a5~dfsg1-1 Version table: 20161228.1.49686a5~dfsg1-1 500 500 https://dl.ring.cx/ring-nightly/ubuntu_16.10 ring/main amd64 Packages
sudo aptitude
:
從本公告中可以看出,“Linux Mint 18.1 支持到 2021 年,並且基於 Ubuntu 16.04 LTS”。
從您的
apt-cache policy ring
命令結果來看,您的ring
軟體包是為 Ubuntu 16.10建構的。因此,您的系統上缺少某些依賴ring
項(或者,更確切地說,可用但不具有預期版本)也就不足為奇了。解決方案是
ring
為 Ubuntu 16.04 安裝。您必須修改已設置的環儲存庫,方法是更改https://dl.ring.cx/ring-nightly/ubuntu_16.10
為https://dl.ring.cx/ring-nightly/ubuntu_16.04