잔글 (Jmnote 사용자가 Apt-get update 문서를 리눅스 apt-get update 문서로 옮겼습니다) |
Jmnote bot (토론 | 기여) 잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>)) |
||
(사용자 3명의 중간 판 21개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
==개요== | |||
;APT 패키지 목록 업데이트 | |||
;apt-get update | ;apt-get update | ||
;apt update | |||
* 패키지 목록을 갱신함 | |||
* 실제 패키지들을 업데이트하는 것은 아님 | |||
* 소스 리스트 파일: [[/etc/apt/sources.list]] | |||
==실행예시== | ==실행예시 1== | ||
< | * 우분투 16 | ||
root@ | <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 | |||
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 | |||
</syntaxhighlight> | |||
==같이 보기== | ==같이 보기== | ||
*[[apt-get]] | {{z컬럼3| | ||
* [[apt-get]] | |||
* [[업데이트]] | |||
* [[apt-get upgrade]] | |||
* [[apt-get dist-upgrade]] | |||
* [[APT 패키지 찾기 aptitude search]] | |||
* [[우분투 packages can be updated.]] | |||
* [[우분투 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
Console
Copy
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[ | ]
Console
Copy
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 같이 보기[ | ]
- apt-get
- 업데이트
- apt-get upgrade
- apt-get dist-upgrade
- APT 패키지 찾기 aptitude search
- 우분투 packages can be updated.
- 우분투 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
편집자 Jmnote Jmnote bot Estanthan7
로그인하시면 댓글을 쓸 수 있습니다.