Linux [Ubuntu] 업데이트 하기
페이지 정보
본문
우분투 Ubuntu 업데이트 하는 방법입니다.
아래를 실행하기 전에 https://sir.kr/cm_free/1487284 를 먼저 읽어주세요.
1. 업데이트 정보를 내려받는다.
root@happyjung:# sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
...
Fetched 2,259 kB in 4s (542 kB/s)
Reading package lists... Done
2. 완료되면 upgrade를 입력한다.
root@happyjung:# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic lxd lxd-client
...
93 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 46.8 MB of archives.
After this operation, 1,136 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libnss-systemd amd64 237-3ubuntu10.6 [105 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 base-files amd64 10.1ubuntu2.3 [60.4 kB]
...
Fetched 46.8 MB in 38s (1,222 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 140480 files and directories currently installed.)
Preparing to unpack .../base-files_10.1ubuntu2.3_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
motd-news.timer
Unpacking base-files (10.1ubuntu2.3) over (10.1ubuntu2.2) ...
dpkg: error: dpkg status database is locked by another process
E: Sub-process /usr/bin/dpkg returned an error code (2)
참고자료
https://blog.xianchoi.kr/281
아래를 실행하기 전에 https://sir.kr/cm_free/1487284 를 먼저 읽어주세요.
1. 업데이트 정보를 내려받는다.
root@happyjung:# sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
...
Fetched 2,259 kB in 4s (542 kB/s)
Reading package lists... Done
2. 완료되면 upgrade를 입력한다.
root@happyjung:# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic lxd lxd-client
...
93 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 46.8 MB of archives.
After this operation, 1,136 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libnss-systemd amd64 237-3ubuntu10.6 [105 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 base-files amd64 10.1ubuntu2.3 [60.4 kB]
...
Fetched 46.8 MB in 38s (1,222 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 140480 files and directories currently installed.)
Preparing to unpack .../base-files_10.1ubuntu2.3_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
motd-news.timer
Unpacking base-files (10.1ubuntu2.3) over (10.1ubuntu2.2) ...
dpkg: error: dpkg status database is locked by another process
E: Sub-process /usr/bin/dpkg returned an error code (2)
참고자료
https://blog.xianchoi.kr/281
댓글목록
등록된 댓글이 없습니다.