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

(Apt-get update에서 넘어옴)

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 같이 보기[ | ]

편집자 J Jmnote Jmnote bot Estanthan7
  • 우분투 MySQL 설치
    이번에 처음 우분투를 설치하게 되었고 mysql을 설치하고자 합니다 덕분에 잘 따라하고 있었습니다만 netstat -ntlp | grep mysqld (not all processes could be identified, non-owned process info will not Qweqwe750
  • 우분투 MySQL 설치
    명령어를 실행한 계정이 root가 아닌 것 같군요. 아래와 같이 sudo를 붙여서 실행해보세요. sudo netstat -ntlp | grep mysqld "ERROR 1045 (28000): Access denied for user"는 아이디, 패스워드 확인 후에 아래와 같이 J Jmnote