为什么在终端中 运行 "sudo apt install -y mongodb" 时会出现此错误
Why do i get this error when running "sudo apt install -y mongodb" in terminal
我正在尝试在我的 pop os linux 上安装 mongodb。
我运行这个:
sudo apt install -y mongodb
然后是这样说的:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb 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 'mongodb' has no installation candidate
我该如何解决?有办法吗?
假设您使用的是 Ubuntu,则必须启用 universe 存储库。
我正在尝试在我的 pop os linux 上安装 mongodb。
我运行这个:
sudo apt install -y mongodb
然后是这样说的:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb 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 'mongodb' has no installation candidate
我该如何解决?有办法吗?
假设您使用的是 Ubuntu,则必须启用 universe 存储库。