我正在尝试在我的Raspberry PI3上安装dnsmasq,但是用
sudo apt-get install dnsmasq
结果是
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:
dnsmasq : Depends: dnsmasq-base (>= 2.76-5+rpi1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我尝试安装dnsmasq-base,结果如下
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:
dnsmasq-base : Depends: libnetfilter-conntrack3 but it is not installable
Recommends: dns-root-data but it is not installable
E: Unable to correct problems, you have held broken packages.
我错了吗?是否有不同的来源添加到apt-get?
作为一个信息,我刚刚进行了apt-get升级
答案 0 :(得分:0)
解决方案非常简单:取消注释第一行sources.list允许我安装包没有任何问题