2017-11-06 24 views
0

우분투 16.04 서버에서 "sudo apt -y update"를 실행했지만 다음 오류 :apt update error : 저장소 'http://us.archive.ubuntu.com/ubuntu saucy Release'에 릴리즈 파일이 없습니다.

# apt -y update      
Reading package lists... Done                          
E: The repository 'http://us.archive.ubuntu.com/ubuntu saucy Release' does not 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://us.archive.ubuntu.com/ubuntu saucy-updates Release' does not 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. 
[email protected]:/var/lib/apt# apt -y update 
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease [132 B] 
Err:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease                   
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) 
Get:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [132 B]               
Err:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) 
Get:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [132 B]               
Err:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease                 
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) 
Ign:4 http://us.archive.ubuntu.com/ubuntu saucy InRelease                   
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease 
Ign:6 http://us.archive.ubuntu.com/ubuntu saucy-updates InRelease 
Err:7 http://us.archive.ubuntu.com/ubuntu saucy Release 
    404 Not Found [IP: 2001:67c:1562::16 80] 
Err:8 http://us.archive.ubuntu.com/ubuntu saucy-updates Release 
    404 Not Found [IP: 2001:67c:1562::16 80] 
Reading package lists... Done 
E: The repository 'http://us.archive.ubuntu.com/ubuntu saucy Release' does not 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://us.archive.ubuntu.com/ubuntu saucy-updates Release' does not 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. 

그 이유는 무엇입니까? 이 문제를 어떻게 해결할 수 있습니까? 고맙습니다!

답변

2

AskUbuntu의 @Videonauth. 나는 his answer의 도움으로 문제를 해결했다. 이것은 제가 사용했던 명령입니다 :

sudo -i 

cat > /etc/apt/sources.list << EOF 
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse 
#deb http://archive.ubuntu.com/ubuntu xenial-proposed restricted main universe multiverse 
#deb-src http://archive.ubuntu.com/ubuntu xenial-proposed restricted main universe multiverse 
deb http://archive.canonical.com/ubuntu xenial partner 
deb-src http://archive.canonical.com/ubuntu xenial partner 
EOF 

sudo apt clean 
sudo apt update 
sudo apt dist-upgrade