우분투 패키지 목록 업데이트 apt-get update

1 개요[ | ]

APT 패키지 목록 업데이트
apt-get update
apt update
  • 패키지 목록을 갱신함
  • 실제 패키지들을 업데이트하는 것은 아님
  • 소스 리스트 파일: /etc/apt/sources.list

2 실행예시 1[ | ]

  • 우분투 16
root@zetawiki:~# apt update
Hit:1 https://deb.nodesource.com/node_6.x xenial InRelease
Hit:2 http://kr.archive.ubuntu.com/ubuntu xenial InRelease                                  
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                 
Get:4 http://kr.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]               
Get:5 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [529 kB]       
Get:6 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [515 kB]        
Get:7 http://kr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [461 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]    
Get:9 http://kr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [447 kB]    
Fetched 2,260 kB in 1s (1,318 kB/s)                                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done

3 실행예시 2[ | ]

root@zetawiki:~# apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
Hit http://us.archive.ubuntu.com trusty Release.gpg      
Get:3 http://us.archive.ubuntu.com trusty-updates Release.gpg
... (생략)
Get:48 http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en [1,215 B]
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
Get:49 http://us.archive.ubuntu.com trusty-backports/universe Translation-en [29.6 kB]
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 4,404 kB in 30s (146 kB/s)                                             
Reading package lists... Done

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}