Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux linode | ubuntu | sudo apt get update | mirror 404错误_Linux_Ubuntu_Apt Get_Linode_Ubuntu 16.10 - Fatal编程技术网

Linux linode | ubuntu | sudo apt get update | mirror 404错误

Linux linode | ubuntu | sudo apt get update | mirror 404错误,linux,ubuntu,apt-get,linode,ubuntu-16.10,Linux,Ubuntu,Apt Get,Linode,Ubuntu 16.10,在Linode(Ubuntu 16.10)上,通过 sudo ufw allow OpenSSH sudo ufw enable sudo ufw allow in "Apache Full" (虽然我不完全确定防火墙设置是我问题的根源…) sudo apt get update向我发送了以下消息: Ign:1 http://mirrors.linode.com/ubuntu yakkety InRelease Ign:2 http://mirrors.linode.com/ubuntu ya

在Linode(Ubuntu 16.10)上,通过

sudo ufw allow OpenSSH
sudo ufw enable
sudo ufw allow in "Apache Full"
(虽然我不完全确定防火墙设置是我问题的根源…)

sudo apt get update
向我发送了以下消息:

Ign:1 http://mirrors.linode.com/ubuntu yakkety InRelease
Ign:2 http://mirrors.linode.com/ubuntu yakkety-updates InRelease
Ign:3 http://mirrors.linode.com/ubuntu yakkety-backports InRelease
Err:4 http://mirrors.linode.com/ubuntu yakkety Release
  404  Not Found [IP: ****:****:*::****:**** 80]
Err:5 http://mirrors.linode.com/ubuntu yakkety-updates Release
  404  Not Found [IP: ****:****:*::****:**** 80]
Err:6 http://mirrors.linode.com/ubuntu yakkety-backports Release
  404  Not Found [IP: ****:****:*::****:**** 80]
Ign:7 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Err:8 http://security.ubuntu.com/ubuntu yakkety-security Release
  404  Not Found [IP: ****:***:****::** 80]
Reading package lists... Done
E: The repository 'http://mirrors.linode.com/ubuntu yakkety Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.linode.com/ubuntu yakkety-updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.linode.com/ubuntu yakkety-backports Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

源文件
/etc/apt/source.list

# deb http://mirrors.linode.com/ubuntu/ yakkety main restricted

# deb http://mirrors.linode.com/ubuntu/ yakkety-updates main restricted
# deb http://security.ubuntu.com/ubuntu yakkety-security main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.linode.com/ubuntu/ yakkety main restricted
# deb-src http://mirrors.linode.com/ubuntu/ yakkety main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.linode.com/ubuntu/ yakkety-updates main restricted
# deb-src http://mirrors.linode.com/ubuntu/ yakkety-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.linode.com/ubuntu/ yakkety universe
# deb-src http://mirrors.linode.com/ubuntu/ yakkety universe
deb http://mirrors.linode.com/ubuntu/ yakkety-updates universe
# deb-src http://mirrors.linode.com/ubuntu/ yakkety-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.linode.com/ubuntu/ yakkety multiverse
# deb-src http://mirrors.linode.com/ubuntu/ yakkety multiverse
deb http://mirrors.linode.com/ubuntu/ yakkety-updates multiverse
# deb-src http://mirrors.linode.com/ubuntu/ yakkety-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.linode.com/ubuntu/ yakkety-backports main restricted universe multiverse
# deb-src http://mirrors.linode.com/ubuntu/ yakkety-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu yakkety partner
# deb-src http://archive.canonical.com/ubuntu yakkety partner

deb http://security.ubuntu.com/ubuntu yakkety-security main restricted
# deb-src http://security.ubuntu.com/ubuntu yakkety-security main restricted
deb http://security.ubuntu.com/ubuntu yakkety-security universe
# deb-src http://security.ubuntu.com/ubuntu yakkety-security universe
deb http://security.ubuntu.com/ubuntu yakkety-security multiverse
# deb-src http://security.ubuntu.com/ubuntu yakkety-security multiverse
我尝试了
sudo-apt-get-dist-update
,但没有成功(也给出了404个错误)

我还做了
取消设置http_代理
取消设置https_代理

apt get-o Acquire::ForceIPv4=true update
-使用IPv4时仍会失败

我可以
ping 8.8.8.8
很好


…什么都没用。有人知道如何解决这个问题吗?

Linode支持部门的回应:

看起来你正在使用的Ubuntu版本已经达到了生命终结状态

您可以参考以下链接,查看是否能够以其他方式更新此内容。另一个选项是为服务器部署更新的Ubuntu映像,并将数据复制到新磁盘上


我也被困在这个问题上。但是我让它工作了

我不得不将
/etc/apt/sources.list
中的“us.archive.ubuntu.com”和“security.ubuntu.com”替换为“old releases.ubuntu.com”,然后我就可以完成一些软件包的下载,就像Ayush Kumar在年所说的那样

对于我的托管公司Linode列出的其他更新,我使用了以下内容:

我必须使用sudo apt get update的
--allow unauthenticated
标志

sudo apt get update--允许未经验证的


然后我就可以完成更新了

您需要在UFW设置中允许端口
53
123
。OpenSSH默认为
22
,Apache默认为
80
443
8080
。@Zak我尝试了
sudo ufw allow 123/udp
sudo ufw allow 53/udp
,没有更多的材料-->我也遵循了所有这些说明。没有骰子。我还尝试过禁用防火墙,然后执行apt-get,nothing.Stack Overflow是一个解决编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参见帮助中心中的。也许或者会是一个更好的提问的地方。