Programming

Ubuntu 7.10 설치뒤 apt-get이 안되는 문제 (나의경우)

콜러스 XXII 2008. 1. 4. 16:34

Ubuntu 7.10을 간만에 설치할 일이 있었다. 근데 간만에 해보니 몇가지 벽이
있는게 아닌가. -,.-a

 

우선 sudo apt-get을 해보면

 

sudo: timestamp too far in the future: XXX XXX

 

라고 뜨는 문제가 있었다. 시간 조정을 XXX XXX 보다 이후로 해두고 하니 동작이

잘 되었다.

 

다음으로 몇가지 Package를 깔기 위해선 apt-get을 하게 되는데 내가 깐 PC에서는

 

E: XXX 꾸러미를 찾을 수 없습니다.

 

라는 메시지가 뜨는것이었다. /etc/apt/sources.list를 보니 대부분이 comment
out 되어 있었다. security.XXX.XXXX 사이트는 풀고 몇몇개를 추가로 풀어준뒤
apt-get update 하니 비로소 패키지가 다운로드 되었다. OTL 음.. 작년엔 안그랬던거 같은데...

참고로 내가 풀은건 다음과 같다. (Juno) 라고 된 것이 내가 푼것이다.

 

---------- Start of /etc/apt/sources.list ------------------------------------------

 

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify: (Juno)
deb http://kr.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify: (Juno)
deb http://kr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify: (Juno)
deb http://kr.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify: (Juno)
deb http://kr.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy-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.
# Line commented out by installer because it failed to verify:
#deb http://kr.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb http://kr.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://kr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://kr.archive.ubuntu.com/ubuntu/ gutsy-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 gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify: (Juno)
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify: (Juno)
deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify: (Juno)
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify: (Juno)
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

 

---------- End of /etc/apt/sources.list ------------------------------------------

 

또다른 문제가 있을 수 있는데 패키지 목록은 얻을 수 있는데 실제 Download 해보면 실패하는 경우가

생길 수 있다. 서버접속이 안된다는둥 ... 이때는 메인 시작 메뉴에서

 

System -> 관리 -> 시냅틱 꾸러미 관리자

 

를 선택한다. 그런뒤 관리자 메뉴에서

 

Settings -> Repositories

 

를 선택한다. 그러면 Dialog가 뜨는데 "Ubuntu Software" Tab에서 "Download from"이 한국으로

되어 있는 경우가 있는데 이것을 "Main Server"로 바꾸면 해결 될 수도 있다.