"우분투 14 → 16 업그레이드"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 8개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;우분투 14 → 16 업그레이드
;우분투 14 → 16 업그레이드
;우분투 14를 16으로 업그레이드


==확인==
==확인==
* 디스크 남은 용량 확인
* 디스크 남은 용량 확인
* 현재 우분투 버전 확인
* 현재 우분투 버전 확인
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# cat /etc/issue
root@zetawiki:~# cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
Ubuntu 14.04.4 LTS \n \l
</source>
</syntaxhighlight>


==apt-get update==
==apt-get update==
{{참고|apt-get update}}
{{참고|apt-get update}}
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get update
root@zetawiki:~# apt-get update
Hit https://deb.nodesource.com trusty InRelease
Hit https://deb.nodesource.com trusty/main Sources                           
Hit https://deb.nodesource.com trusty/main amd64 Packages                     
... (생략)
... (생략)
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/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Reading package lists... Done                              
Fetched 3,520 kB in 18s (193 kB/s)                                           
</source>
Reading package lists... Done
</syntaxhighlight>


==apt-get dist-upgrade==
==apt-get dist-upgrade==
{{참고|apt-get dist-upgrade}}
{{참고|apt-get dist-upgrade}}
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get dist-upgrade
root@zetawiki:~# apt-get dist-upgrade
Reading package lists... Done
Reading package lists... Done
29번째 줄: 33번째 줄:
Calculating upgrade... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
The following packages were automatically installed and are no longer required:
   gconf-service gconf-service-backend gconf2 gconf2-common libavahi-glib1
   libssl1.0.2 zlib1g-dev
  libbonobo2-0 libbonobo2-common libcanberra0 libgconf-2-4 libgconf2-4
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0
  libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 libssl1.0.2
  libtdb1 libvorbisfile3 sound-theme-freedesktop
Use 'apt-get autoremove' to remove them.
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
The following NEW packages will be installed:
   libpcre16-3 libpcre32-3 libssl1.1 linux-headers-3.16.0-77
   libpcre16-3 libpcre32-3 libssl1.1 linux-headers-3.19.0-80
   linux-headers-3.16.0-77-generic linux-image-3.16.0-77-generic
   linux-headers-3.19.0-80-generic linux-image-3.19.0-80-generic
   linux-image-extra-3.16.0-77-generic oracle-java8-set-default
   linux-image-extra-3.19.0-80-generic
The following packages will be upgraded:
The following packages will be upgraded:
   accountsservice apache2 apache2-bin apache2-data apache2-utils apparmor apt
   accountsservice apache2 apache2-bin apache2-data apport apt
   apt-transport-https apt-utils base-files bash bash-completion bind9-host
   apt-transport-https apt-utils base-files bash bash-completion bind9-host
   binutils biosdevname bsdutils bsh ca-certificates coreutils cpio cpp-4.8
   binutils bsdutils coreutils cpp-4.8 curl dbus dh-apparmor dh-php dnsutils
... (생략)
... (생략)
  systemd-services tar tcpdump tzdata ubuntu-release-upgrader-core udev
   unattended-upgrades update-manager-core update-notifier-common usbutils
   unattended-upgrades update-manager-core update-notifier-common usbutils
   util-linux uuid-dev uuid-runtime vim vim-common vim-runtime vim-tiny
   util-linux uuid-runtime vim vim-common vim-runtime vim-tiny w3m wget
  virtualbox-5.0 w3m wget xtrans-dev
234 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
371 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 223 MB of archives.
Need to get 438 MB of archives.
After this operation, 334 MB of additional disk space will be used.
After this operation, 330 MB of additional disk space will be used.
Do you want to continue? [Y/n]  
Do you want to continue? [Y/n]
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main base-files amd64 7.2ubuntu5.5 [67.5 kB]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main base-files amd64 7.2ubuntu5.5 [67.5 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libssl-doc all 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1 [1,487 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libssl-doc all 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1 [1,487 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main bash amd64 4.3-7ubuntu1.7 [575 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main bash amd64 4.3-7ubuntu1.7 [575 kB]
... (생략)
... (생략)
</source>
update-initramfs: Generating /boot/initrd.img-3.19.0-80-generic
Processing triggers for libapache2-mod-php7.1 (7.1.8-2+ubuntu14.04.1+deb.sury.org+4) ...
Processing triggers for libapache2-mod-php7.0 (7.0.22-2+ubuntu14.04.1+deb.sury.org+4) ...
</syntaxhighlight>


==apt-get install update-manager-core==
==apt-get install update-manager-core==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get install update-manager-core
root@zetawiki:~# apt-get install update-manager-core
Reading package lists... Done
Reading package lists... Done
67번째 줄: 70번째 줄:
update-manager-core is already the newest version.
update-manager-core is already the newest version.
The following packages were automatically installed and are no longer required:
The following packages were automatically installed and are no longer required:
   gconf-service gconf-service-backend gconf2 gconf2-common libavahi-glib1
   libssl1.0.2 zlib1g-dev
  libbonobo2-0 libbonobo2-common libcanberra0 libgconf-2-4 libgconf2-4
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0
  libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 libssl1.0.2
  libtdb1 libvorbisfile3 mysql-server-core-5.5 sound-theme-freedesktop
Use 'apt-get autoremove' to remove them.
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
</source>
</syntaxhighlight>


==do-release-upgrade==
==do-release-upgrade==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# do-release-upgrade
Reading state information... Done
update-manager-core is already the newest version.
The following packages were automatically installed and are no longer required:
  gconf-service gconf-service-backend gconf2 gconf2-common libavahi-glib1
  libbonobo2-0 libbonobo2-common libcanberra0 libgconf-2-4 libgconf2-4
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0
  libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 libssl1.0.2
  libtdb1 libvorbisfile3 mysql-server-core-5.5 sound-theme-freedesktop
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@zetawiki:~# do-release-upgrade
root@zetawiki:~# do-release-upgrade
Checking for a new Ubuntu release
Checking for a new Ubuntu release
94번째 줄: 82번째 줄:
Get:2 Upgrade tool [1,265 kB]                                                               
Get:2 Upgrade tool [1,265 kB]                                                               
... (생략)
... (생략)
Some third party entries in your sources.list were disabled. You can  
Reading cache
re-enable them after the upgrade with the 'software-properties' tool
 
or your package manager.
Checking package manager
 
Continue running under SSH?
 
This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.  
 
If you continue, an additional ssh daemon will be started at port
'1022'.
Do you want to continue?
 
Continue [yN] y
</syntaxhighlight>
<syntaxhighlight lang='console'>
Starting additional sshd
 
To make recovery in case of failure easier, an additional sshd will
be started on port '1022'. If anything goes wrong with the running
ssh you can still connect to the additional one.
If you run a firewall, you may need to temporarily open this port. As
this is potentially dangerous it's not done automatically. You can  
open the port with e.g.:
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'  


To continue please press [ENTER]
To continue please press [ENTER]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Hit https://deb.nodesource.com trusty InRelease                                           
Hit https://deb.nodesource.com trusty/main Sources                                         
Hit https://deb.nodesource.com trusty/main amd64 Packages                                 
... (생략)
... (생략)
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en                         
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en                         
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                           
Fetched 3,520 kB in 6s (12.7 MB/s)                                                         
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done
Updating repository information
Third party sources disabled
Some third party entries in your sources.list were disabled. You can  
Some third party entries in your sources.list were disabled. You can  
re-enable them after the upgrade with the 'software-properties' tool  
re-enable them after the upgrade with the 'software-properties' tool  
107번째 줄: 138번째 줄:


To continue please press [ENTER]
To continue please press [ENTER]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Get:1 http://us.archive.ubuntu.com xenial InRelease [247 kB]                                 
Get:1 http://us.archive.ubuntu.com xenial InRelease [247 kB]                                 
Get:2 http://security.ubuntu.com xenial-security InRelease [102 kB]                         
Get:2 http://security.ubuntu.com xenial-security InRelease [102 kB]                         
Get:3 http://us.archive.ubuntu.com xenial-updates InRelease [102 kB]                         
Get:3 http://us.archive.ubuntu.com xenial-updates InRelease [102 kB]                         
... (생략)
... (생략)
16 installed packages are no longer supported by Canonical. You can  
Get:66 http://us.archive.ubuntu.com xenial-backports/multiverse Translation-en [64 B]     
Get:67 http://us.archive.ubuntu.com xenial-backports/restricted Translation-en [64 B]     
Get:68 http://us.archive.ubuntu.com xenial-backports/universe Translation-en [3,004 B]     
Fetched 36.5 MB in 6s (2,083 kB/s)                                                         
 
Checking package manager
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done
 
Calculating the changes
 
Calculating the changes
 
Do you want to start the upgrade?
 
 
13 installed packages are no longer supported by Canonical. You can  
still get support from the community.  
still get support from the community.  


28 packages are going to be removed. 285 new packages are going to be  
14 packages are going to be removed. 120 new packages are going to be  
installed. 938 packages are going to be upgraded.  
installed. 536 packages are going to be upgraded.  


You have to download a total of 621 M. This download will take about  
You have to download a total of 339 M. This download will take about  
3 minutes with your connection.  
1 minute with your connection.  


Installing the upgrade can take several hours. Once the download has  
Installing the upgrade can take several hours. Once the download has  
126번째 줄: 175번째 줄:


  Continue [yN]  Details [d]y
  Continue [yN]  Details [d]y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Fetching
Fetching
Get:1 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main base-files amd64 9.4ubuntu4.5 [68.4 kB]
Get:1 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main base-files amd64 9.4ubuntu4.5 [68.4 kB]
133번째 줄: 182번째 줄:
Get:3 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc-bin amd64 2.23-0ubuntu9 [627 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc-bin amd64 2.23-0ubuntu9 [627 kB]
... (생략)
... (생략)
</source>
</syntaxhighlight>
* "Do you want to upgrade glibc now?" --- 〈Yes〉 {{Enter}}
<source lang='console'>
Nothing to restart.                                                                         
Unpacking libc6:amd64 (2.23-0ubuntu9) over (2.19-0ubuntu6.13) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
... (생략)
</source>
* "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 {{Enter}}
* "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 {{Enter}}
<source lang='console'>
<syntaxhighlight lang='console'>
... (생략)
Restarting services possibly affected by the upgrade:
Setting up apache2-utils (2.4.18-2ubuntu3.4) ...
  * Stopping Postfix Mail Transport Agent postfix
Setting up apache2-data (2.4.18-2ubuntu3.4) ...
  ...done.
Setting up apache2 (2.4.18-2ubuntu3.4) ...
* Starting Postfix Mail Transport Agent postfix
 
  ...done.
Configuration file '/etc/apache2/conf-available/security.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
  What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D    : show the differences between the versions
      Z    : start a shell to examine the situation
  The default action is to keep your current version.
*** security.conf (Y/I/N/O/D/Z) [default=N] ?
</source>
<source lang='console'>
Installing new version of config file /etc/apache2/mods-available/ssl.conf ...
Installing new version of config file /etc/apache2/sites-available/default-ssl.conf ...
Installing new version of config file /etc/cron.daily/apache2 ...
... (생략)
... (생략)
Installing new version of config file /etc/cron.daily/ntp ...
Installing new version of config file /etc/cron.daily/ntp ...
177번째 줄: 204번째 줄:
       Z    : start a shell to examine the situation
       Z    : start a shell to examine the situation
  The default action is to keep your current version.
  The default action is to keep your current version.
*** ntp.conf (Y/I/N/O/D/Z) [default=N] ?  
*** ntp.conf (Y/I/N/O/D/Z) [default=N] ? y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
insserv: warning: current start runlevel(s) (empty) of script `ntp' overrides LSB defaults (2 3 4 5).
Installing new version of config file /etc/ntp.conf ...
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `ntp' overrides LSB defaults (1).
* Starting NTP server ntpd
Setting up ntpdate (1:4.2.8p4+dfsg-3ubuntu5.6) ...
  ...done.
... (생략)
Setting up iperf (2.0.5+dfsg1-2) ...
Setting up libfreeipmi16 (1.4.11-1.1ubuntu4~0.16.04) ...
Setting up ipmitool (1.8.16-3ubuntu0.1) ...
 
Configuration file '/etc/default/ipmievd'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
  What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D    : show the differences between the versions
      Z    : start a shell to examine the situation
The default action is to keep your current version.
*** ipmievd (Y/I/N/O/D/Z) [default=N] ?
</source>
<source lang='console'>
Installing new version of config file /etc/init.d/ipmievd ...
insserv: warning: current start runlevel(s) (empty) of script `ipmievd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `ipmievd' overrides LSB defaults (0 1 6).
... (생략)
... (생략)
Installing new version of config file /etc/fail2ban/filter.d/sshd.conf ...
Installing new version of config file /etc/fail2ban/filter.d/sshd.conf ...
218번째 줄: 225번째 줄:
  The default action is to keep your current version.
  The default action is to keep your current version.
*** jail.conf (Y/I/N/O/D/Z) [default=N] ? y
*** jail.conf (Y/I/N/O/D/Z) [default=N] ? y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Installing new version of config file /etc/fail2ban/jail.conf ...
Installing new version of config file /etc/init.d/fail2ban ...
Installing new version of config file /etc/init.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
* Starting authentication failure monitor fail2ban
... (생략)
... (생략)
</source>
</syntaxhighlight>
* "What do you want to do about modified configuration file 50unattended-upgrades?" --- install the package maintainer's version {{Enter}}
* "What do you want to do about modified configuration file 50unattended-upgrades?" --- install the package maintainer's version {{Enter}}
<source lang='console'>
<syntaxhighlight lang='console'>
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version             
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version             
Setting up zathura-pdf-poppler (0.2.6-1) ...
Setting up zathura-pdf-poppler (0.2.6-1) ...
232번째 줄: 239번째 줄:
Setting up kbd (1.15.5-1ubuntu5) ...
Setting up kbd (1.15.5-1ubuntu5) ...
... (생략)
... (생략)
Searching for obsolete software
Reading package lists... Done   
Building dependency tree         
Reading state information... Done
Building data structures... Done
Building data structures... Done
Remove obsolete packages?  
Remove obsolete packages?  




195 packages are going to be removed.
63 packages are going to be removed.  
 
Removing the packages can take several hours.  


  Continue [yN]  Details [d]y
  Continue [yN]  Details [d]y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Fetched 0 B in 0s (0 B/s)                                                                 
(Reading database ... 147428 files and directories currently installed.)
Removing apt-xapian-index (0.47ubuntu8.3) ...
Removing index /var/lib/apt-xapian-index...
... (생략)
... (생략)
System upgrade is complete.
System upgrade is complete.
251번째 줄: 267번째 줄:


Continue [yN] y
Continue [yN] y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
=== Command detached from window (Mon Aug  7 01:09:51 2017) ===
=== Command detached from window (Mon Aug  7 01:09:51 2017) ===
=== Command terminated normally (Mon Aug  7 01:10:01 2017) ===
=== Command terminated normally (Mon Aug  7 01:10:01 2017) ===
</source>
</syntaxhighlight>
* 재부팅 진행
* 재부팅 진행


==확인 2==
==확인 2==
* SSH 재접속하여 버전 확인
* SSH 재접속하여 버전 확인
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# cat /etc/issue
root@zetawiki:~# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l
Ubuntu 16.04.3 LTS \n \l
</source>
</syntaxhighlight>


==참고==
==참고==

2021년 9월 24일 (금) 23:33 기준 최신판

우분투 14 → 16 업그레이드
우분투 14를 16으로 업그레이드

1 확인[ | ]

  • 디스크 남은 용량 확인
  • 현재 우분투 버전 확인
root@zetawiki:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l

2 apt-get update[ | ]

root@zetawiki:~# apt-get update
Hit https://deb.nodesource.com trusty InRelease
Hit https://deb.nodesource.com trusty/main Sources                             
Hit https://deb.nodesource.com trusty/main amd64 Packages                      
... (생략)
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 3,520 kB in 18s (193 kB/s)                                             
Reading package lists... Done

3 apt-get dist-upgrade[ | ]

root@zetawiki:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libssl1.0.2 zlib1g-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libpcre16-3 libpcre32-3 libssl1.1 linux-headers-3.19.0-80
  linux-headers-3.19.0-80-generic linux-image-3.19.0-80-generic
  linux-image-extra-3.19.0-80-generic
The following packages will be upgraded:
  accountsservice apache2 apache2-bin apache2-data apport apt
  apt-transport-https apt-utils base-files bash bash-completion bind9-host
  binutils bsdutils coreutils cpp-4.8 curl dbus dh-apparmor dh-php dnsutils
... (생략)
  systemd-services tar tcpdump tzdata ubuntu-release-upgrader-core udev
  unattended-upgrades update-manager-core update-notifier-common usbutils
  util-linux uuid-runtime vim vim-common vim-runtime vim-tiny w3m wget
234 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 223 MB of archives.
After this operation, 334 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main base-files amd64 7.2ubuntu5.5 [67.5 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libssl-doc all 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1 [1,487 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main bash amd64 4.3-7ubuntu1.7 [575 kB]
... (생략)
update-initramfs: Generating /boot/initrd.img-3.19.0-80-generic
Processing triggers for libapache2-mod-php7.1 (7.1.8-2+ubuntu14.04.1+deb.sury.org+4) ...
Processing triggers for libapache2-mod-php7.0 (7.0.22-2+ubuntu14.04.1+deb.sury.org+4) ...

4 apt-get install update-manager-core[ | ]

root@zetawiki:~# apt-get install update-manager-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
update-manager-core is already the newest version.
The following packages were automatically installed and are no longer required:
  libssl1.0.2 zlib1g-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

5 do-release-upgrade[ | ]

root@zetawiki:~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]                                                        
Get:2 Upgrade tool [1,265 kB]                                                               
... (생략)
Reading cache

Checking package manager

Continue running under SSH? 

This session appears to be running under ssh. It is not recommended 
to perform a upgrade over ssh currently because in case of failure it 
is harder to recover. 

If you continue, an additional ssh daemon will be started at port 
'1022'. 
Do you want to continue? 

Continue [yN] y
Starting additional sshd 

To make recovery in case of failure easier, an additional sshd will 
be started on port '1022'. If anything goes wrong with the running 
ssh you can still connect to the additional one. 
If you run a firewall, you may need to temporarily open this port. As 
this is potentially dangerous it's not done automatically. You can 
open the port with e.g.: 
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' 

To continue please press [ENTER]
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Hit https://deb.nodesource.com trusty InRelease                                             
Hit https://deb.nodesource.com trusty/main Sources                                          
Hit https://deb.nodesource.com trusty/main amd64 Packages                                   
... (생략)
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en                           
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en                           
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                             
Fetched 3,520 kB in 6s (12.7 MB/s)                                                          
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 

Updating repository information

Third party sources disabled 

Some third party entries in your sources.list were disabled. You can 
re-enable them after the upgrade with the 'software-properties' tool 
or your package manager. 

To continue please press [ENTER]
Get:1 http://us.archive.ubuntu.com xenial InRelease [247 kB]                                
Get:2 http://security.ubuntu.com xenial-security InRelease [102 kB]                         
Get:3 http://us.archive.ubuntu.com xenial-updates InRelease [102 kB]                        
... (생략)
Get:66 http://us.archive.ubuntu.com xenial-backports/multiverse Translation-en [64 B]       
Get:67 http://us.archive.ubuntu.com xenial-backports/restricted Translation-en [64 B]       
Get:68 http://us.archive.ubuntu.com xenial-backports/universe Translation-en [3,004 B]      
Fetched 36.5 MB in 6s (2,083 kB/s)                                                          

Checking package manager
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 

Calculating the changes

Calculating the changes

Do you want to start the upgrade? 


13 installed packages are no longer supported by Canonical. You can 
still get support from the community. 

14 packages are going to be removed. 120 new packages are going to be 
installed. 536 packages are going to be upgraded. 

You have to download a total of 339 M. This download will take about 
1 minute with your connection. 

Installing the upgrade can take several hours. Once the download has 
finished, the process cannot be canceled. 

 Continue [yN]  Details [d]y
Fetching
Get:1 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main base-files amd64 9.4ubuntu4.5 [68.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc6 amd64 2.23-0ubuntu9 [2,586 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc-bin amd64 2.23-0ubuntu9 [627 kB]
... (생략)
  • "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 Enter
Restarting services possibly affected by the upgrade:
 * Stopping Postfix Mail Transport Agent postfix
   ...done.
 * Starting Postfix Mail Transport Agent postfix
   ...done.
... (생략)
Installing new version of config file /etc/cron.daily/ntp ...
Installing new version of config file /etc/dhcp/dhclient-exit-hooks.d/ntp ...
Installing new version of config file /etc/init.d/ntp ...

Configuration file '/etc/ntp.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** ntp.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/ntp.conf ...
 * Starting NTP server ntpd
   ...done.
... (생략)
Installing new version of config file /etc/fail2ban/filter.d/sshd.conf ...
Installing new version of config file /etc/fail2ban/filter.d/vsftpd.conf ...
Installing new version of config file /etc/fail2ban/filter.d/wuftpd.conf ...

Configuration file '/etc/fail2ban/jail.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** jail.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/fail2ban/jail.conf ...
Installing new version of config file /etc/init.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
... (생략)
  • "What do you want to do about modified configuration file 50unattended-upgrades?" --- install the package maintainer's version Enter
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version             
Setting up zathura-pdf-poppler (0.2.6-1) ...
Setting up ssh-import-id (5.5-0ubuntu1) ...
Setting up kbd (1.15.5-1ubuntu5) ...
... (생략)
Searching for obsolete software
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 
Building data structures... Done 

Remove obsolete packages? 


63 packages are going to be removed. 

 Continue [yN]  Details [d]y
Fetched 0 B in 0s (0 B/s)                                                                   
(Reading database ... 147428 files and directories currently installed.)
Removing apt-xapian-index (0.47ubuntu8.3) ...
Removing index /var/lib/apt-xapian-index...
... (생략)
System upgrade is complete.

Restart required 

To finish the upgrade, a restart is required. 
If you select 'y' the system will be restarted. 

Continue [yN] y
=== Command detached from window (Mon Aug  7 01:09:51 2017) ===
=== Command terminated normally (Mon Aug  7 01:10:01 2017) ===
  • 재부팅 진행

6 확인 2[ | ]

  • SSH 재접속하여 버전 확인
root@zetawiki:~# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l

7 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}