
我需要安裝這個包,因為它是我需要安裝的應用程式的依賴項。每當我嘗試時,我都會收到錯誤:
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:
libnss-resolve : Depends: systemd (= 237-3ubuntu10)
E: Unable to correct problems, you have held broken packages.
我嘗試安裝systemd
,但是,我已經有了它,更高版本(237-3ubuntu-10.3)。我已經嘗試了在谷歌上可以找到的所有內容,但找不到解決方案。有人可以幫我嗎?
@編輯
Using:
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
@edit2
根據要求:
libnss-resolve:
Installed: (none)
Candidate: 237-3ubuntu10
Version table:
237-3ubuntu10 500
500 http://br.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
systemd:
Installed: 237-3ubuntu10.3
Candidate: 237-3ubuntu10.3
Version table:
*** 237-3ubuntu10.3 100
100 /var/lib/dpkg/status
237-3ubuntu10 500
500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
@編輯3
解決。我轉到 git 儲存庫,克隆,透過 dpkg 安裝,並手動配置所有內容。總比什麼都沒有好。