我需要安装此包,因为它是我需要安装的应用程序的依赖项。每次我尝试安装时,都会收到错误:
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)。我尝试了在 Google 上能找到的所有方法,但就是找不到解决方案。有人能帮我吗?
@编辑
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 安装,并手动配置一切。总比什么都没有好。