无法在 Raspberry PI3 上安装 dnsmasq

Unable to install dnsmasq on Raspberry PI3

我正在尝试在我的 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 升级

解决方案非常简单:取消注释 sources.list 的第一行让我安装包没有任何问题