더북(TheBook)

4. 레파지토리를 추가한 후에는 반드시 업데이트해서 우분투 시스템에 반영해야 합니다. 다음 명령어를 이용해 시스템을 업데이트합니다.

root@controller:~# apt-get update && apt-get dist-upgrade
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
…
Fetched 613 kB in 7s (85.4 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
  accountsservice apport bash-completion bind9-host command-not-found command-
not-found-data
  dh-python dmidecode dnsutils dpkg language-selector-common libaccountsservice0
libbind9-140
  libdns-export162 libdns162 libisc-export160 libisc160 libisccc140 libisccfg140
  libldap-2.4-2 liblwres141 liblxc1 libpam-systemd libplymouth4 libsystemd0
libudev1
  lxc-common lxcfs lxd lxd-client openssh-client openssh-server openssh-sftp-
server plymouth
  plymouth-theme-ubuntu-text python3-apport python3-commandnotfound python3-
distupgrade
  python3-problem-report python3-urllib3 snapd sudo systemd systemd-sysv
  ubuntu-release-upgrader-core udev
46 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.7 MB of archives.
After this operation, 15.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64
1.18.4ubuntu1.1 [2,083 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsystemd0
amd64 229-4ubuntu6 [208 kB]
…
Processing triggers for initramfs-tools (0.122ubuntu8) …
update-initramfs: Generating /boot/initrd.img-4.4.0-22-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for libc-bin (2.23-0ubuntu3) …

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.