"우분투 패키지 목록 업데이트 apt-get update"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(사용자 3명의 중간 판 7개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;APT 패키지 목록 업데이트
;APT 패키지 목록 업데이트
;apt-get update
;apt-get update
*패키지 목록을 갱신함
;apt update
*실제 패키지들을 업데이트하는 것은 아님
* 패키지 목록을 갱신함
* 실제 패키지들을 업데이트하는 것은 아님
* 소스 리스트 파일: [[/etc/apt/sources.list]]


==실행예시==
==실행예시 1==
<source lang='cli'>
* 우분투 16
<syntaxhighlight lang='console'>
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
</syntaxhighlight>
 
==실행예시 2==
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get update
root@zetawiki:~# apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://us.archive.ubuntu.com trusty InRelease
26번째 줄: 47번째 줄:
Fetched 4,404 kB in 30s (146 kB/s)                                             
Fetched 4,404 kB in 30s (146 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[우분투 packages can be updated.]]
{{z컬럼3|
*[[우분투 apt-get 설치 중 404 Not Found]]
* [[apt-get]]
*[[APT 패키지 찾기 apt-cache search]]
* [[업데이트]]
*[[apt-get upgrade]]
* [[apt-get upgrade]]
*[[apt-get dist-upgrade]]
* [[apt-get dist-upgrade]]
*[[apt-get]]
* [[APT 패키지 찾기 aptitude search]]
*[[업데이트]]
* [[우분투 packages can be updated.]]
*[[W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com ... Hash Sum mismatch]]
* [[우분투 apt-get 설치 중 404 Not Found]]
* [[W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com ... Hash Sum mismatch]]
* [[E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet]]
}}


[[분류: apt-get]]
[[분류: apt-get]]

2024년 5월 26일 (일) 16:08 기준 최신판

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 }}