Redis GPG key and source missing #9143

Closed
opened 2025-12-29 20:46:11 +01:00 by adam · 2 comments
Owner

Originally created by @Doessing on GitHub (Jan 24, 2024).

Change Type

Addition

Area

Installation/upgrade

Proposed Changes

When trying to install Redis, it cannot locate the package redis-server.

sudo apt install -y redis-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package redis-server

image

To fix this a gpg key and source is needed.
Possible solution:
Add the following before sudo apt update:

curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list

Originally created by @Doessing on GitHub (Jan 24, 2024). ### Change Type Addition ### Area Installation/upgrade ### Proposed Changes When trying to install Redis, it cannot locate the package redis-server. > sudo apt install -y redis-server Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package redis-server ![image](https://github.com/netbox-community/netbox/assets/50447646/fc48fb9b-ed1d-408b-ba8d-c888cf447913) To fix this a gpg key and source is needed. Possible solution: Add the following before sudo apt update: `curl` -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg `echo` "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
adam added the type: documentationstatus: revisions needed labels 2025-12-29 20:46:11 +01:00
adam closed this issue 2025-12-29 20:46:11 +01:00
Author
Owner

@jeffgdotorg commented on GitHub (Jan 24, 2024):

Hi, and thanks for your interest in improving the NetBox documentation. We're glad to have you along for the ride!

We need a bit more context around this report before we can even attempt to reproduce the problem, though. Please indicate which DEB-based distribution and version you're using, and which install flavor (minimal, server, workstation...).

@jeffgdotorg commented on GitHub (Jan 24, 2024): Hi, and thanks for your interest in improving the NetBox documentation. We're glad to have you along for the ride! We need a bit more context around this report before we can even attempt to reproduce the problem, though. Please indicate which DEB-based distribution and version you're using, and which install flavor (minimal, server, workstation...).
Author
Owner

@jeremystretch commented on GitHub (Feb 8, 2024):

This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.

@jeremystretch commented on GitHub (Feb 8, 2024): This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9143