I installed a fresh install of 18.04 server. The package redis-server
does not seem to be installable. I'm not sure why:
$ sudo apt install redis-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package redis-server
the package doesnt appear to exist:
$ sudo apt-cache search redis
miscfiles - Dictionaries and other interesting files
python-redis - Persistent key-value database with network interface (Python library)
resource-agents - Cluster Resource Agents
I have run apt update
. I'm guessing its missing a repository of packages, but since this is a fresh install, I'm not sure why it would be missing one, or how to fix it.
root@:/etc/newrelic# sudo apt-get install nri-redis
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nri-redis
As a commenter noted, the universe
package was not enabled. Enabling with add-apt-repository did the trick:
sudo add-apt-repository universe
No comments:
Post a Comment