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

32번째 줄: 32번째 줄:
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]
</source>
</source>
<source lang='console'>
<source lang='console'>
60번째 줄: 56번째 줄:
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]
... (생략)
... (생략)
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) ...
</source>
</source>



2017년 8월 7일 (월) 01:41 판

우분투 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:
  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.

5 do-release-upgrade

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
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]                                                        
Get:2 Upgrade tool [1,265 kB]                                                               
... (생략)
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]
... (생략)
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]                        
... (생략)
16 installed packages are no longer supported by Canonical. You can 
still get support from the community. 

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

You have to download a total of 621 M. This download will take about 
3 minutes 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]
... (생략)
  • "Do you want to upgrade glibc now?" --- 〈Yes〉 Enter
Nothing to restart.                                                                          
Unpacking libc6:amd64 (2.23-0ubuntu9) over (2.19-0ubuntu6.13) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
... (생략)
  • "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 Enter
... (생략)
Setting up apache2-utils (2.4.18-2ubuntu3.4) ...
Setting up apache2-data (2.4.18-2ubuntu3.4) ...
Setting up apache2 (2.4.18-2ubuntu3.4) ...

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] ?
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/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] ?
insserv: warning: current start runlevel(s) (empty) of script `ntp' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `ntp' overrides LSB defaults (1).
Setting up ntpdate (1:4.2.8p4+dfsg-3ubuntu5.6) ...
... (생략)
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] ?
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/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/init.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
 * Starting authentication failure monitor 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) ...
... (생략)
Remove obsolete packages? 


195 packages are going to be removed. 

Removing the packages can take several hours. 

 Continue [yN]  Details [d]y
... (생략)
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 }}