Saturday, July 23, 2022

[SOLVED] Ubuntu 18.04.1 LTS server "The repository is not signed"

Issue

I can not update the Ubuntu 18.04.1 LTS server newly installed. "The repository is not signed"

lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:         18.04
Codename:     bionic

When run sudo apt update it shows (all repositories):

N: See the apt-secure (8) man page for details on creating repositories and configuring users.
N: You can not update from a repository like this in a secure way and therefore it is disabled by default.
E: The repository "http://security.ubuntu.com/ubuntu bionic-security InRelease" is not signed.
E: Failed to obtain http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease 403 Forbidden [IP: 91.189.88.162 80]

Whe run curl http://security.ubuntu.com/ubuntu/ o curl http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease I get the content. Proves that if I have access to the repositories from the server.

I appreciate your help, what can I do to update my server?


Solution

SOLUTION connect the server to another network, very strange that in the network that this let me download the content with curl but will not let update with apt



Answered By - Wilfred Lemus
Answer Checked By - Willingham (WPSolving Volunteer)