2010년 2월 22일 월요일

apt-get 실행시 오류 (QOOK 사용)

얼마전부터 데비안 시스템 업데이트나 패키지 설치가 안되는 현상이 발생하였다. apt-get update시 아래와 같은 에러를 발생하며 진행이 되지 않는 것이다. 최근에 변동사항이 아파치 패키지 설치와 KT라인으로의 변동 이정도를 들 수 있다. 따라서 이 두가지를 원인으로 가정한 후 문제 해결을 진행하였다.

debian:~# apt-get update
Get:1 http://security.debian.org testing/updates Release.gpg [257B]
Get:2 http://security.debian.org testing/updates/main Translation-en_US [257B]
98% [2 Translation-en_US bzip2 0] [Connecting to http.us.debian.org] [Connectinbzip2: (stdin) is not a bzip2 file.
Ign http://security.debian.org testing/updates/main Translation-en_US        
Get:3 http://security.debian.org testing/updates/contrib Translation-en_US [257B]
66% [3 Translation-en_US bzip2 0] [Connecting to http.us.debian.org (64.50.238.bzip2: (stdin) is not a bzip2 file.
Ign http://security.debian.org testing/updates/contrib Translation-en_US      
Get:4 http://security.debian.org testing/updates/non-free Translation-en_US [257B]
49% [4 Translation-en_US bzip2 0] [Connecting to http.us.debian.org (64.50.238.bzip2: (stdin) is not a bzip2 file.
Ign http://security.debian.org testing/updates/non-free Translation-en_US    
Get:5 http://security.debian.org stable/updates Release.gpg [257B]            
Get:6 http://security.debian.org testing/updates Release [257B]              
Ign http://security.debian.org testing/updates Release                        
Get:7 http://http.us.debian.org testing Release.gpg [257B]                    
Get:8 http://security.debian.org stable/updates Release [257B]                
Ign http://security.debian.org stable/updates Release                        
Get:9 http://http.us.debian.org testing/main Translation-en_US [257B]        
66% [9 Translation-en_US bzip2 0] [Connecting to http.us.debian.org (64.50.238.bzip2: (stdin) is not a bzip2 file.
Ign http://http.us.debian.org testing/main Translation-en_US                  
Get:10 http://security.debian.org testing/updates/main Packages/DiffIndex [257B]
Get:11 http://http.us.debian.org testing/contrib Translation-en_US [257B]    
54% [11 Translation-en_US bzip2 0] [Connecting to http.us.debian.org (64.50.238bzip2: (stdin) is not a bzip2 file.
Ign http://http.us.debian.org testing/contrib Translation-en_US              
Get:12 http://security.debian.org testing/updates/contrib Packages/DiffIndex [257B]
Get:13 http://http.us.debian.org testing/non-free Translation-en_US [257B]    
46% [13 Translation-en_US bzip2 0] [Connecting to http.us.debian.org (64.50.238bzip2: (stdin) is not a bzip2 file.
Ign http://http.us.debian.org testing/non-free Translation-en_US              
Get:14 http://security.debian.org testing/updates/non-free Packages/DiffIndex [257B]
Get:15 http://http.us.debian.org testing Release [257B]                      
Ign http://http.us.debian.org testing Release                                
Get:16 http://security.debian.org stable/updates/main Sources/DiffIndex [257B]
Get:17 http://http.us.debian.org testing/main Packages/DiffIndex [257B]      
Get:18 http://security.debian.org stable/updates/contrib Sources/DiffIndex [257B]
Get:19 http://http.us.debian.org testing/contrib Packages/DiffIndex [257B]    
Get:20 http://security.debian.org stable/updates/non-free Sources/DiffIndex [257B]
Get:21 http://http.us.debian.org testing/non-free Packages/DiffIndex [257B]  
Get:22 http://security.debian.org testing/updates/main Packages [257B]        
32% [22 Packages bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Cobzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org testing/updates/main Packages                  
  Sub-process bzip2 returned an error code (2)
Get:23 http://http.us.debian.org testing/main Packages [257B]                
34% [23 Packages bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Cobzip2: (stdin) is not a bzip2 file.
Err http://http.us.debian.org testing/main Packages                          
  Sub-process bzip2 returned an error code (2)
Get:24 http://security.debian.org testing/updates/contrib Packages [257B]    
37% [24 Packages bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Cobzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org testing/updates/contrib Packages              
  Sub-process bzip2 returned an error code (2)
Get:25 http://security.debian.org testing/updates/non-free Packages [257B]    
40% [25 Packages bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Cobzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org testing/updates/non-free Packages              
  Sub-process bzip2 returned an error code (2)
Get:26 http://security.debian.org stable/updates/main Sources [257B]          
42% [26 Sources bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Conbzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org stable/updates/main Sources                    
  Sub-process bzip2 returned an error code (2)
Get:27 http://security.debian.org stable/updates/contrib Sources [257B]      
44% [27 Sources bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)] [Conbzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org stable/updates/contrib Sources                
  Sub-process bzip2 returned an error code (2)
Get:28 http://security.debian.org stable/updates/non-free Sources [257B]      
46% [28 Sources bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)]bzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org stable/updates/non-free Sources          
  Sub-process bzip2 returned an error code (2)
Get:29 http://http.us.debian.org testing/contrib Packages [257B]              
48% [29 Packages bzip2 0] [Connecting to http.us.debian.org (64.50.238.52)]bzip2: (stdin) is not a bzip2 file.
Err http://http.us.debian.org testing/contrib Packages                    
  Sub-process bzip2 returned an error code (2)
Get:30 http://http.us.debian.org testing/non-free Packages [257B]            
50% [30 Packages bzip2 0]                                         42B/s 1min30sbzip2: (stdin) is not a bzip2 file.
Err http://http.us.debian.org testing/non-free Packages                      
  Sub-process bzip2 returned an error code (2)
Fetched 7710B in 56s (137B/s)                                                
W: GPG error: http://security.debian.org testing/updates Release: The following signatures were invalid: NODATA 1 NODATA 2
W: GPG error: http://security.debian.org stable/updates Release: The following signatures were invalid: NODATA 1 NODATA 2
W: GPG error: http://http.us.debian.org testing Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch http://security.debian.org/dists/testing/updates/main/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://security.debian.org/dists/testing/updates/contrib/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://security.debian.org/dists/testing/updates/non-free/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://security.debian.org/dists/stable/updates/main/source/Sources.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://http.us.debian.org/debian/dists/testing/main/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://security.debian.org/dists/stable/updates/contrib/source/Sources.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://http.us.debian.org/debian/dists/testing/contrib/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://security.debian.org/dists/stable/updates/non-free/source/Sources.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://http.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

E: Some index files failed to download, they have been ignored, or old ones used instead.


에러를 보면 데비안 저장소에서 패키지 정보 파일을 받아오지 못해 압축을 풀지 못해 발생하는 듯하였다.


우선 아파치가 문제의 원인이라고 가정하고 구글에서 서치를 하였다. 서치 결과 비슷한 증상을 호소하는 thread를 발견하였다.


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448092


thread를 보면 아파치 실행 모드가 원인일 수 있다는 답변을 보고 아파치 프로세스를 제거한 후 시도해 보았지만 마찬가지였다.


그래서 이제는 KT 라인쪽을 의심해 보았다. 분명히 라인을 변경하면서 QOOK 로고가 박힌 로그인 화면에서 로그인까지했던 기억을 되살리며 다시 iceweasel을 실행해보았다. QOOK 로그인 화면이 나왔다. 처음 인증시 화면에 '고객님께서는 인터넷 자동연결을 이용중입니다'고 나와 있어 로그인이 완전히 이루어진 것으로 생각하여 더이상 페이지를 살펴보지 않았었다. 하지만 이번에는 다시 한번 세심하게 살펴보았다. 페이지를 스크롤 다운하니 이게 웬걸 이용방법 변경에 관한 항목에 있네.. 그 순간 뒷목이 땡겨오기 시작하네.. 아 띠※바※

 

사용자 삽입 이미지


인터넷 자동연결을 체크한 후 확인을 누른 후 터미널에서 다시 apt-get update를 시도해보니 좀 전까지 발생하던 에러메시지가 깜쪽같이 없어졌다.


아 진짜 개※고※생이구나.


댓글 없음:

댓글 쓰기