Ubuntu 18.04.1 LTS服务器;“存储库未签名”;

Ubuntu 18.04.1 LTS服务器;“存储库未签名”;,ubuntu,server,apt,ubuntu-18.04,Ubuntu,Server,Apt,Ubuntu 18.04,我无法更新新安装的Ubuntu 18.04.1 LTS服务器。“存储库未签名” 运行sudo apt update时会显示(所有存储库): 当运行curl时http://security.ubuntu.com/ubuntu/ocurlhttp://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease我得到了内容。证明如果我可以从服务器访问存储库 感谢您的帮助,我能做些什么来更新我的服务器?Hi@Wilfred这可能是由于未使用的文件

我无法更新新安装的Ubuntu 18.04.1 LTS服务器。“存储库未签名”

运行
sudo apt update
时会显示(所有存储库):

当运行
curl时http://security.ubuntu.com/ubuntu/
o
curlhttp://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease
我得到了内容。证明如果我可以从服务器访问存储库


感谢您的帮助,我能做些什么来更新我的服务器?

Hi@Wilfred这可能是由于未使用的文件和包造成的,所以只需使用“sudo-apt-get-autoremove--purge”删除未使用的文件和包,然后重试更新命令

解决方案将服务器连接到另一个网络,非常奇怪的是,在这个网络中,我可以用
curl
下载内容,但不会用
apt

更新。您好,谢谢您的回答,ubuntu的安装是新的,我没有添加另一个存储库,它只有默认的存储库。默认情况下,我会尝试更新这些存储库。如果您有任何其他建议,我会给您很多建议。这些建议应该发布到超级用户或Unix StackExchange,而不是堆栈溢出。
lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:         18.04
Codename:     bionic
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]