우분투 저장소에는 릴리스 파일이 없습니다


17

이것은 Xenial 리포지토리에 릴리스 파일 이 없지만 수정 사항이 적용되지 않는 것과 유사합니다 .

sudo apt-get updateUbuntu 16.04의 며칠 전 설치에서 실행 하면 다음 오류 메시지가 반환됩니다.

    $ sudo apt-get update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main Translation-en_GB [426 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en_GB [2,556 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]                                                    
Get:18 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en_GB [3,040 kB]                                                
Get:19 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]                                                   
Get:20 http://archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]                                            
Get:21 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]                                               
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]                                                   
Get:23 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]                                                    
Get:24 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en_GB [88.1 kB]                                               
Get:25 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]                                                   
Get:26 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]                                           
Get:27 http://archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]                                               
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [700 kB]                                                 
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [654 kB]                                                  
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [292 kB]                                                 
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [308 kB]                                          
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [221 kB]                                             
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,604 B]                                          
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,604 B]                                           
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]                                          
Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]                                     
Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [574 kB]                                             
Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [535 kB]                                              
Get:39 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [232 kB]                                             
Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [185 kB]                                      
Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [262 kB]                                         
Get:42 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]                                          
Get:43 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]                                           
Get:44 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B]                                          
Get:45 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,888 B]                                   
Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]                                      
Get:47 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,840 B]                                              
Get:48 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4,832 B]                                               
Get:49 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B]                                              
Get:50 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]                                       
Get:51 http://archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]                                             
Get:52 http://archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]                                   
Get:53 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,612 B]                                          
Get:54 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6,600 B]                                           
Get:55 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B]                                          
Get:56 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,712 B]                                   
Get:57 http://archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2,716 B]                                      
Get:58 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]                                   
Get:59 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]                                       
Get:60 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [425 kB]                                                
Get:61 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [385 kB]                                                 
Get:62 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [186 kB]                                                
Get:63 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [62.8 kB]                                        
Get:64 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [66.2 kB]                                           
Get:65 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,224 B]                                         
Get:66 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7,224 B]                                          
Get:67 http://archive.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]                                         
Get:68 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]                                    
Get:69 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [196 kB]                                            
Get:70 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [161 kB]                                             
Get:71 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [101 kB]                                            
Get:72 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [51.3 kB]                                    
Get:73 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [85.1 kB]                                       
Get:74 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]                                         
Get:75 http://archive.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3,380 B]                                          
Get:76 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]                                         
Get:77 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]                                    
Get:78 http://archive.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]                                        
Fetched 45.0 MB in 28s (1,577 kB/s)                                                                                                 
Reading package lists... Error!
E: Read error - read (5: Input/output error)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted

/etc/apt/sources/list:

# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com xenial universe
# deb-src http://archive.ubuntu.com xenial universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
$ grep -nwFe Release /etc/apt/sources.list{,.d/*.list}
/etc/apt/sources.list:1:# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

나는 시도 sudo rm /var/lib/apt/lists/*하고 나의은 /etc/apt/sources/list이미 라인 (52)은 주석 처리하고 있으며, 라인 (54)가 존재하지 않습니다. (이 포럼과 다른 포럼에서 찾은 솔루션 모두).


터미널 명령 의 전체 출력 을 포함하도록 질문을 편집 할 수 있습니까? 감사. LC_MESSAGES=POSIX apt-get update
David Foerster

@DavidFoerster 당신은 간다.
Adoria298

http://archive.ubuntu.com xenial Release기존 패키지 저장소를 참조하지 않습니다. 당신은 기쁘게 할 수 편집 의 내용을 포함하는 질문 /etc/apt/sources.list과 출력을 grep -nwFe Release /etc/apt/sources.list{,.d/*.list}?
David Foerster

@DavidFoerster 요청한 내용을 추가했습니다.
Adoria298

4
가까운 유권자들에게 :이 질문이 어떻게 명확하지 않은지 저에게는 분명하지 않습니다.
Gunnar Hjalmarsson

답변:


17

아래에서 세 번째 줄은 /etc/apt/sources.list잘못된 것 같습니다.

deb http://archive.ubuntu.com xenial universe

그 줄이 오류의 원인이라고 생각하므로 제거하는 것이 좋습니다.

편집하다:

이렇게 한 후 다음을 실행하여 패키지 캐시를 정리해야 할 수 있습니다.

sudo rm /var/lib/apt/lists/*

그리고:

sudo apt update

5
나는 확실하지 않은 것으로 잘못 닫힌 위의 질문을 다시 열기로 투표했습니다.
karel

2
같은 오류가 발생합니다. 우분투 17.04가 현재 지원되지 않는 것으로 보입니다. wiki.ubuntu.com/ZestyZapus/ReleaseNotes
Morgan Christiansson

1
@MorganChristiansson : 오류 메시지가 비슷해 보이지만 다른 문제처럼 들립니다.
Gunnar Hjalmarsson

nano를 사용하여 명시된 줄을 편집하고 제거하면 sudo apt-get update이제는을 반환합니다 E: The package cache file is corrupted.
Adoria298

1
@ Adoria298 : 편집 된 답변을 참조하십시오.
Gunnar Hjalmarsson

4

제 경우에는 문제가 정말 바보였습니다. 서버 외부에서 네트워크에 액세스 할 수 없었습니다. 그것이 내 문제라는 것을 깨닫는 데 꽤 오랜 시간이 걸렸습니다. ;-)


솔직히 "릴리스 파일이 없다"는 메시지가 전달되지 않아야합니다. 사실을 진술하는 대신 결론을 도출합니다. "릴리스 파일을 다운로드 할 수 없습니다"는 정확합니다. 나쁜 사람이 아니라 다른 사람의 나쁜 사람 당신의 소중한 순간을 게시 해 주셔서 감사합니다. ;)
TheSatinKnight

0

프록시를 설정할 수 있습니다

들여다보기

  • /etc/apt/apt.conf
  • /etc/apt/apt.conf.d
  • http_proxy 환경 변수
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.