我已经在装有debian 10 buster的linux机器上安装了net-snmp,现在我需要安装snmp-mibs-downloader。
尽管我之前运行过
sudo apt-get update
执行时:
sudo apt-get install snmp-mibs-downloader
显示以下屏幕输出,表明它找不到请求的数据包:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snmp-mibs-downloader' has no installation candidate
我在网上看到,这个问题可以通过编辑文件来解决。
/etc/apt/sources.list.d/nonfree.list
但是它没有解释应该在其中写什么。
感谢任何允许我安装snmp-mibs-downloader的帮助。
发布于 2020-11-11 03:08:58
您的/etc/apt/Soures.list应该如下所示:
deb http://deb.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
然后执行apt-get更新
发布于 2021-09-01 15:04:40
您需要将non-free
存储库添加到apt数据库中,然后运行apt update
https://stackoverflow.com/questions/64774552
复制相似问题