小编Bry*_*ant的帖子

18.04 服务器 - 无法找到包 redis-server

我安装了全新安装的 18.04 服务器。该软件包redis-server似乎无法安装。我不确定为什么:

$ sudo apt install redis-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package redis-server
Run Code Online (Sandbox Code Playgroud)

该包似乎不存在:

$ 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
Run Code Online (Sandbox Code Playgroud)

我已经跑了apt update。我猜它缺少一个软件包存储库,但由于这是一个全新安装,我不确定为什么会丢失一个,或者如何修复它。

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 …
Run Code Online (Sandbox Code Playgroud)

server package-management apt redis software-installation

5
推荐指数
2
解决办法
1万
查看次数