728x90
728x90
Linux Ubuntu 18.04 νκ²½μμ apt-get λꡬλ₯Ό μ΄μ©ν λ λ€μκ³Ό κ°μ μλ¬κ° λ°μνλ€.
μ€λ₯:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
'security.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
μ€λ₯:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
μ€λ₯:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
μ€λ₯:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
ν¨ν€μ§ λͺ©λ‘μ μ½λ μ€μ
λλ€... μλ£
W: http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease νμΌμ λ°λλ° μ€ν¨νμ΅λλ€ 'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
W: http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease νμΌμ λ°λλ° μ€ν¨νμ΅λλ€ 'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
W: http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease νμΌμ λ°λλ° μ€ν¨νμ΅λλ€ 'us.archive.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
W: http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease νμΌμ λ°λλ° μ€ν¨νμ΅λλ€ 'security.ubuntu.com'μ μ£Όμλ₯Ό μμλΌ μ μμ΅λλ€
W: Some index files failed to download. They have been ignored, or old ones used instead.
λ°μ μμΈ
μλ¬ λ°μ μμΈμΌλ‘λ, κ³ μ IPλ₯Ό μ¬μ©νλ μλ²μ DNS κ°μ΄ μ€μ λμ§ μμμ λ λ°μνλ μλ¬λΌκ³ νλ€.
- /etc/apt/sources.list νμΌμ μμΉ΄μ΄λΈ λ―Έλ¬ μ¬μ΄νΈ μ£Όμκ° μ¬λ°λ₯΄μ§ μμ κ²½μ°
- IP μ£Όμκ° StaticμΈλ°, nameserver(DNS) μ£Όμκ° μ¬λ°λ₯΄κ² ν λΉλμ§ μμ κ²½μ°
- resolve.conf νμΌμ nameserver(DNS) μ£Όμκ° μ¬λ°λ₯΄κ² ν λΉλμ§ μμ κ²½μ°
ν΄κ²° λ°©λ²
1. DNS μ 보 μ λ ₯
/etc/network/interfaces νμΌμ DNS μ 보λ₯Ό μ λ ₯νλ€.
/etc/resolv.conf νμΌμ DNS μ 보λ₯Ό μ λ ₯νλ€.
κ³ μ μμ΄νΌ ν λΉμ GUIλ₯Ό μ΄μ©ν κ²½μ° μλ νμΌλ νμΈνλ€. (Wired connection 1. νμΌλͺ μ λ€λ₯Ό μ μμ)
2. μμΉ΄μ΄λΈ μ£Όμ λ³κ²½
sources.list νμΌμ μ΄μ΄ archive μ£Όμλ₯Ό λ³κ²½νλ€.
$ cat /etc/apt/sources.list | grep -v '^#'
deb http://kr.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://kr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
$ vi /etc/apt/sources.list
:%s/us.archive.ubuntu.com/kr.archive.ubuntu.com/g
### λλ :%s/us.archive.ubuntu.com/ftp.daumkakao.com/g
### λλ :%s/us.archive.ubuntu.com/mirror.kakao.com/g
$ cat /etc/apt/sources.list | grep -v '^#'
deb http://kr.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://kr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
λ¦¬λΆ ν λ€μ apt-get update μ λ ₯νμ¬ νμΈ
$ sudo reboot -h now
728x90
320x100