Tuesday, May 13, 2014

Updating Packages on a Legacy Ubuntu Server

...And Deployment Automation Suggestions

Symptoms of Out of Date System

When you're unable to install basic applications, then it's time to update your server.


$ sudo apt-get install unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-support
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 167kB of archives.
After this operation, 365kB of additional disk space will be used.
Err http://archive.ubuntu.com hardy/main unzip 5.52-10ubuntu2
  404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.52-10ubuntu2_amd64.deb  404 Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

$ sudo apt-get update
Ign http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Ign http://archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://archive.ubuntu.com hardy Release
Ign http://archive.ubuntu.com hardy-updates Release
Ign http://archive.ubuntu.com hardy/main Packages
Ign http://archive.ubuntu.com hardy/restricted Packages
Ign http://archive.ubuntu.com hardy/universe Packages
Ign http://archive.ubuntu.com hardy/main Sources
Ign http://archive.ubuntu.com hardy/restricted Sources
Ign http://archive.ubuntu.com hardy/universe Sources
Ign http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/main Packages
Ign http://archive.ubuntu.com hardy-updates/restricted Packages
Ign http://archive.ubuntu.com hardy-updates/universe Packages
Ign http://archive.ubuntu.com hardy-updates/main Sources
Ign http://archive.ubuntu.com hardy-updates/restricted Sources
Ign http://archive.ubuntu.com hardy-updates/universe Sources
Err http://archive.ubuntu.com hardy/main Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/restricted Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/universe Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/main Sources
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/restricted Sources
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/universe Sources
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/main Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/restricted Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/universe Packages
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/main Sources
  404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/restricted Sources
  404 Not Found [IP: 91.189.91.13 80]
Ign http://security.ubuntu.com hardy-security Release
Err http://archive.ubuntu.com hardy-updates/universe Sources
  404 Not Found [IP: 91.189.91.13 80]
Ign http://security.ubuntu.com hardy-security/main Packages
Ign http://security.ubuntu.com hardy-security/restricted Packages
Ign http://security.ubuntu.com hardy-security/universe Packages
Ign http://security.ubuntu.com hardy-security/main Sources
Ign http://security.ubuntu.com hardy-security/restricted Sources
Ign http://security.ubuntu.com hardy-security/universe Sources
Err http://security.ubuntu.com hardy-security/main Packages
  404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com hardy-security/restricted Packages
  404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com hardy-security/universe Packages
  404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com hardy-security/main Sources
  404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com hardy-security/restricted Sources
  404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com hardy-security/universe Sources
  404 Not Found [IP: 91.189.88.153 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.91.13 80]
deb http://old-releases.ubuntu.com/ubuntu/ hardy main restricted universe

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]
deb http://old-releases.ubuntu.com/ubuntu/ hardy main restricted universe

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/source/Sources.gz  404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/source/Sources.gz  404 Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/source/Sources.gz  404 Not Found [IP: 91.189.88.153 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/source/Sources.gz  404 Not Found [IP: 91.189.88.153 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.\

$ sudo apt-get install unzip --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-support
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 167kB of archives.
After this operation, 365kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  unzip
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com hardy/main unzip 5.52-10ubuntu2
  404 Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.52-10ubuntu2_amd64.deb  404 Not Found [IP: 91.189.92.201 80]

Solution

Update Sources

This Ubuntu server installation was so badly out of date that the repository (sources.list) server host address had changed from "archive.ubuntu.com" with "old-releases.ubuntu.com"

Replace "archive.ubuntu.com" with "old-releases.ubuntu.com" in /etc/apt/sources.list


$ cat /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu/ hardy main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy main restricted universe

deb http://old-releases.ubuntu.com/ubuntu/ hardy-updates main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy-updates main restricted universe

deb http://old-releases.ubuntu.com/ubuntu hardy-security main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu hardy-security main restricted universe


Global Search and Replace Using Vi Editor

$ sudo vi /etc/apt/sources.list

Once in the Vi Editor, hit the Escape key + : and enter the following to globally replace "security.ubuntu.com" with "old-releases.ubuntu.com"

:%s/security.ubuntu.com/old-releases.ubuntu.com/g

Upgrade Distribution

Run "apt-get dist-upgrade" to install available updates for the Ubuntu release that have already been installed.

Unlike apt-get upgrade it may install new packages or remove installed packages if that is necessary to satisfy dependencies.

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apache2-mpm-prefork apache2-prefork-dev apache2-utils apache2.2-common apt apt-utils base-files bsdutils bzip2 curl dhcp3-client dhcp3-common dpkg dpkg-dev gnupg gpgv gzip irb1.8 klibc-utils
  language-pack-en language-pack-en-base libapr1 libapr1-dev libaprutil1 libaprutil1-dev libbz2-1.0 libc6 libc6-dev libcurl3 libcurl3-gnutls libdbus-1-3 libexpat1 libexpat1-dev libgnutls13
  libkadm55 libklibc libkrb5-dev libkrb53 libldap-2.4-2 libldap2-dev libmysqlclient15-dev libmysqlclient15off libnewt0.52 libopenssl-ruby1.8 libpam-modules libpam-runtime libpam0g libpq-dev
  libpq5 libreadline-ruby1.8 libruby1.8 libssl-dev libssl0.9.8 libtasn1-3 linux-libc-dev mount mysql-client mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 ntpdate openssh-client
  openssh-server openssl perl perl-base perl-modules postfix python2.5 python2.5-minimal rdoc1.8 ri1.8 ruby1.8 ruby1.8-dev sudo tzdata util-linux util-linux-locales wget whiptail
81 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 91.8MB of archives.
After this operation, 4555kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://old-releases.ubuntu.com hardy-updates/main dpkg 1.14.16.6ubuntu4.2 [2349kB]
Get:2 http://old-releases.ubuntu.com hardy-updates/main gzip 1.3.12-3.2ubuntu0.1 [106kB]
Get:3 http://old-releases.ubuntu.com hardy-updates/main mount 2.13.1-5ubuntu3.1 [174kB]
Get:4 http://old-releases.ubuntu.com hardy-updates/main perl-modules 5.8.8-12ubuntu0.8 [2313kB]
Get:5 http://old-releases.ubuntu.com hardy-updates/main linux-libc-dev 2.6.24-32.107 [732kB]
Get:6 http://old-releases.ubuntu.com hardy-updates/main libc6-dev 2.7-10ubuntu8.3 [2556kB]
Get:7 http://old-releases.ubuntu.com hardy-updates/main libc6 2.7-10ubuntu8.3 [4890kB]
Get:8 http://old-releases.ubuntu.com hardy-updates/main perl 5.8.8-12ubuntu0.8 [4069kB]
Get:9 http://old-releases.ubuntu.com hardy-updates/main perl-base 5.8.8-12ubuntu0.8 [840kB]
Get:10 http://old-releases.ubuntu.com hardy-updates/main tzdata 2012e~repack-0ubuntu0.8.04 [690kB]
Get:11 http://old-releases.ubuntu.com hardy-updates/main util-linux 2.13.1-5ubuntu3.1 [463kB]
Get:12 http://old-releases.ubuntu.com hardy-updates/main libpam-runtime 0.99.7.1-5ubuntu6.5 [62.1kB]
Get:13 http://old-releases.ubuntu.com hardy-updates/main libpam0g 0.99.7.1-5ubuntu6.5 [90.8kB]
Get:14 http://old-releases.ubuntu.com hardy-updates/main libpam-modules 0.99.7.1-5ubuntu6.5 [274kB]
Get:15 http://old-releases.ubuntu.com hardy-updates/main base-files 4.0.1ubuntu5.8.04.8 [60.6kB]
Get:16 http://old-releases.ubuntu.com hardy-updates/main bsdutils 1:2.13.1-5ubuntu3.1 [64.3kB]
Get:17 http://old-releases.ubuntu.com hardy-updates/main language-pack-en 1:8.04+20100117.1 [2050B]
Get:18 http://old-releases.ubuntu.com hardy-updates/main language-pack-en-base 1:8.04+20100117.1 [712kB]
Get:19 http://old-releases.ubuntu.com hardy-updates/main mysql-common 5.0.96-0ubuntu3 [62.6kB]
Get:20 http://old-releases.ubuntu.com hardy-updates/main mysql-server 5.0.96-0ubuntu3 [53.5kB]
Get:21 http://old-releases.ubuntu.com hardy-updates/main libmysqlclient15off 5.0.96-0ubuntu3 [1864kB]
Get:22 http://old-releases.ubuntu.com hardy-updates/main mysql-client 5.0.96-0ubuntu3 [53.5kB]
Get:23 http://old-releases.ubuntu.com hardy-updates/main mysql-client-5.0 5.0.96-0ubuntu3 [8307kB]
Get:24 http://old-releases.ubuntu.com hardy-updates/main mysql-server-5.0 5.0.96-0ubuntu3 [28.6MB]
Get:25 http://old-releases.ubuntu.com hardy-updates/main apt 0.7.9ubuntu17.6 [1671kB]
Get:26 http://old-releases.ubuntu.com hardy-updates/main bzip2 1.0.4-2ubuntu4.2 [48.5kB]
Get:27 http://old-releases.ubuntu.com hardy-updates/main libbz2-1.0 1.0.4-2ubuntu4.2 [44.3kB]
Get:28 http://old-releases.ubuntu.com hardy-updates/main libssl-dev 0.9.8g-4ubuntu3.20 [2093kB]
Get:29 http://old-releases.ubuntu.com hardy-updates/main libssl0.9.8 0.9.8g-4ubuntu3.20 [949kB]
Get:30 http://old-releases.ubuntu.com hardy-updates/main python2.5 2.5.2-2ubuntu6.2 [3036kB]
Get:31 http://old-releases.ubuntu.com hardy-updates/main python2.5-minimal 2.5.2-2ubuntu6.2 [1284kB]
Get:32 http://old-releases.ubuntu.com hardy-updates/main apt-utils 0.7.9ubuntu17.6 [201kB]
Get:33 http://old-releases.ubuntu.com hardy-updates/main dhcp3-client 3.0.6.dfsg-1ubuntu9.3 [242kB]
Get:34 http://old-releases.ubuntu.com hardy-updates/main dhcp3-common 3.0.6.dfsg-1ubuntu9.3 [301kB]
Get:35 http://old-releases.ubuntu.com hardy-updates/main gpgv 1.4.6-2ubuntu5.2 [161kB]
Get:36 http://old-releases.ubuntu.com hardy-updates/main libtasn1-3 1.1-1ubuntu0.1 [50.6kB]
Get:37 http://old-releases.ubuntu.com hardy-updates/main libgnutls13 2.0.4-1ubuntu2.9 [345kB]
Get:38 http://old-releases.ubuntu.com hardy-updates/main libkrb5-dev 1.6.dfsg.3~beta1-2ubuntu1.8 [89.7kB]
Get:39 http://old-releases.ubuntu.com hardy-updates/main libkadm55 1.6.dfsg.3~beta1-2ubuntu1.8 [162kB]
Get:40 http://old-releases.ubuntu.com hardy-updates/main libkrb53 1.6.dfsg.3~beta1-2ubuntu1.8 [498kB]
Get:41 http://old-releases.ubuntu.com hardy-updates/main libldap2-dev 2.4.9-0ubuntu0.8.04.5 [869kB]
Get:42 http://old-releases.ubuntu.com hardy-updates/main libldap-2.4-2 2.4.9-0ubuntu0.8.04.5 [198kB]
Get:43 http://old-releases.ubuntu.com hardy-updates/main libcurl3-gnutls 7.18.0-1ubuntu2.4 [204kB]
Get:44 http://old-releases.ubuntu.com hardy-updates/main gnupg 1.4.6-2ubuntu5.2 [893kB]
Get:45 http://old-releases.ubuntu.com hardy-updates/main klibc-utils 1.5.7-4ubuntu5 [170kB]
Get:46 http://old-releases.ubuntu.com hardy-updates/main libklibc 1.5.7-4ubuntu5 [48.0kB]
Get:47 http://old-releases.ubuntu.com hardy-updates/main libnewt0.52 0.52.2-11.2ubuntu1.1 [62.0kB]
Get:48 http://old-releases.ubuntu.com hardy-updates/main wget 1.10.2-3ubuntu1.2 [246kB]
Get:49 http://old-releases.ubuntu.com hardy-updates/main whiptail 0.52.2-11.2ubuntu1.1 [36.3kB]
Get:50 http://old-releases.ubuntu.com hardy-updates/main libdbus-1-3 1.1.20-1ubuntu3.9 [140kB]
Get:51 http://old-releases.ubuntu.com hardy-updates/main openssh-server 1:4.7p1-8ubuntu3 [273kB]
Get:52 http://old-releases.ubuntu.com hardy-updates/main openssh-client 1:4.7p1-8ubuntu3 [762kB]
Get:53 http://old-releases.ubuntu.com hardy-updates/main libapr1-dev 1.2.11-1ubuntu0.2 [790kB]
Get:54 http://old-releases.ubuntu.com hardy-updates/main libapr1 1.2.11-1ubuntu0.2 [119kB]
Get:55 http://old-releases.ubuntu.com hardy-updates/main libexpat1-dev 2.0.1-0ubuntu1.2 [140kB]
Get:56 http://old-releases.ubuntu.com hardy-updates/main libexpat1 2.0.1-0ubuntu1.2 [69.2kB]
Get:57 http://old-releases.ubuntu.com hardy-updates/main libpq-dev 8.3.23-0ubuntu8.04.1 [192kB]
Get:58 http://old-releases.ubuntu.com hardy-updates/main libpq5 8.3.23-0ubuntu8.04.1 [371kB]
Get:59 http://old-releases.ubuntu.com hardy-updates/main libaprutil1-dev 1.2.12+dfsg-3ubuntu0.3 [130kB]
Get:60 http://old-releases.ubuntu.com hardy-updates/main libaprutil1 1.2.12+dfsg-3ubuntu0.3 [75.9kB]
Get:61 http://old-releases.ubuntu.com hardy-updates/main openssl 0.9.8g-4ubuntu3.20 [392kB]
Get:62 http://old-releases.ubuntu.com hardy-updates/main apache2-prefork-dev 2.2.8-1ubuntu0.25 [210kB]
Get:63 http://old-releases.ubuntu.com hardy-updates/main apache2-utils 2.2.8-1ubuntu0.25 [143kB]
Get:64 http://old-releases.ubuntu.com hardy-updates/main apache2-mpm-prefork 2.2.8-1ubuntu0.25 [251kB]
Get:65 http://old-releases.ubuntu.com hardy-updates/main apache2.2-common 2.2.8-1ubuntu0.25 [819kB]
Get:66 http://old-releases.ubuntu.com hardy-updates/main libcurl3 7.18.0-1ubuntu2.4 [211kB]
Get:67 http://old-releases.ubuntu.com hardy-updates/main curl 7.18.0-1ubuntu2.4 [199kB]
Get:68 http://old-releases.ubuntu.com hardy-updates/main dpkg-dev 1.14.16.6ubuntu4.2 [558kB]
Get:69 http://old-releases.ubuntu.com hardy-updates/main ruby1.8-dev 1.8.6.111-2ubuntu1.3 [575kB]
Get:70 http://old-releases.ubuntu.com hardy-updates/main libruby1.8 1.8.6.111-2ubuntu1.3 [1450kB]
Get:71 http://old-releases.ubuntu.com hardy-updates/universe libreadline-ruby1.8 1.8.6.111-2ubuntu1.3 [11.4kB]
Get:72 http://old-releases.ubuntu.com hardy-updates/main ruby1.8 1.8.6.111-2ubuntu1.3 [25.1kB]
Get:73 http://old-releases.ubuntu.com hardy-updates/universe irb1.8 1.8.6.111-2ubuntu1.3 [74.3kB]
Get:74 http://old-releases.ubuntu.com hardy-updates/main libmysqlclient15-dev 5.0.96-0ubuntu3 [7639kB]
Get:75 http://old-releases.ubuntu.com hardy-updates/universe libopenssl-ruby1.8 1.8.6.111-2ubuntu1.3 [121kB]
Get:76 http://old-releases.ubuntu.com hardy-updates/main ntpdate 1:4.2.4p4+dfsg-3ubuntu2.3 [65.2kB]
Get:77 http://old-releases.ubuntu.com hardy-updates/universe ri1.8 1.8.6.111-2ubuntu1.3 [1081kB]
Get:78 http://old-releases.ubuntu.com hardy-updates/universe rdoc1.8 1.8.6.111-2ubuntu1.3 [125kB]
Get:79 http://old-releases.ubuntu.com hardy-updates/main sudo 1.6.9p10-1ubuntu3.10 [189kB]
Get:80 http://old-releases.ubuntu.com hardy-updates/main util-linux-locales 2.13.1-5ubuntu3.1 [36.3kB]
Get:81 http://old-releases.ubuntu.com hardy-updates/main postfix 2.5.1-2ubuntu1.4 [1230kB]
Fetched 91.8MB in 1min3s (1455kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 37042 files and directories currently installed.)
Preparing to replace dpkg 1.14.16.6ubuntu4 (using .../dpkg_1.14.16.6ubuntu4.2_amd64.deb) ...
Unpacking replacement dpkg ...
Setting up dpkg (1.14.16.6ubuntu4.2) ...

(Reading database ... 37042 files and directories currently installed.)
Preparing to replace gzip 1.3.12-3.2 (using .../gzip_1.3.12-3.2ubuntu0.1_amd64.deb) ...
Unpacking replacement gzip ...
Setting up gzip (1.3.12-3.2ubuntu0.1) ...

(Reading database ... 37042 files and directories currently installed.)
Preparing to replace mount 2.13.1-5ubuntu3 (using .../mount_2.13.1-5ubuntu3.1_amd64.deb) ...
Unpacking replacement mount ...
Setting up mount (2.13.1-5ubuntu3.1) ...

(Reading database ... 37042 files and directories currently installed.)
Preparing to replace perl-modules 5.8.8-12ubuntu0.4 (using .../perl-modules_5.8.8-12ubuntu0.8_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace linux-libc-dev 2.6.24-24.55 (using .../linux-libc-dev_2.6.24-32.107_amd64.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace libc6-dev 2.7-10ubuntu4 (using .../libc6-dev_2.7-10ubuntu8.3_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.7-10ubuntu4 (using .../libc6_2.7-10ubuntu8.3_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.7-10ubuntu8.3) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
(Reading database ... 37042 files and directories currently installed.)
Preparing to replace perl 5.8.8-12ubuntu0.4 (using .../perl_5.8.8-12ubuntu0.8_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.8.8-12ubuntu0.4 (using .../perl-base_5.8.8-12ubuntu0.8_amd64.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.8.8-12ubuntu0.8) ...
(Reading database ... 37042 files and directories currently installed.)
Preparing to replace tzdata 2009j-0ubuntu0.8.04 (using .../tzdata_2012e~repack-0ubuntu0.8.04_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2012e~repack-0ubuntu0.8.04) ...

Current default timezone: 'Etc/UTC'
Local time is now:      Tue May 13 15:34:54 UTC 2014.
Universal Time is now:  Tue May 13 15:34:54 UTC 2014.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


(Reading database ... 37090 files and directories currently installed.)
Preparing to replace util-linux 2.13.1-5ubuntu3 (using .../util-linux_2.13.1-5ubuntu3.1_amd64.deb) ...
Unpacking replacement util-linux ...
Setting up util-linux (2.13.1-5ubuntu3.1) ...

(Reading database ... 37090 files and directories currently installed.)
Preparing to replace libpam-runtime 0.99.7.1-5ubuntu6.1 (using .../libpam-runtime_0.99.7.1-5ubuntu6.5_all.deb) ...
Unpacking replacement libpam-runtime ...
Setting up libpam-runtime (0.99.7.1-5ubuntu6.5) ...

(Reading database ... 37090 files and directories currently installed.)
Preparing to replace libpam0g 0.99.7.1-5ubuntu6.1 (using .../libpam0g_0.99.7.1-5ubuntu6.5_amd64.deb) ...
Unpacking replacement libpam0g ...
Setting up libpam0g (0.99.7.1-5ubuntu6.5) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
(Reading database ... 37090 files and directories currently installed.)
Preparing to replace libpam-modules 0.99.7.1-5ubuntu6.1 (using .../libpam-modules_0.99.7.1-5ubuntu6.5_amd64.deb) ...
Unpacking replacement libpam-modules ...
Setting up libpam-modules (0.99.7.1-5ubuntu6.5) ...

(Reading database ... 37090 files and directories currently installed.)
Preparing to replace base-files 4.0.1ubuntu5.8.04.7 (using .../base-files_4.0.1ubuntu5.8.04.8_amd64.deb) ...
Unpacking replacement base-files ...
Setting up base-files (4.0.1ubuntu5.8.04.8) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...

(Reading database ... 37090 files and directories currently installed.)
Preparing to replace bsdutils 1:2.13.1-5ubuntu3 (using .../bsdutils_1%3a2.13.1-5ubuntu3.1_amd64.deb) ...
Unpacking replacement bsdutils ...
Setting up bsdutils (1:2.13.1-5ubuntu3.1) ...

(Reading database ... 37090 files and directories currently installed.)
Preparing to replace language-pack-en 1:8.04+20090105.1 (using .../language-pack-en_1%3a8.04+20100117.1_all.deb) ...
Unpacking replacement language-pack-en ...
Preparing to replace language-pack-en-base 1:8.04+20090105 (using .../language-pack-en-base_1%3a8.04+20100117.1_all.deb) ...
Unpacking replacement language-pack-en-base ...
Preparing to replace mysql-common 5.0.51a-3ubuntu5.4 (using .../mysql-common_5.0.96-0ubuntu3_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace mysql-server 5.0.51a-3ubuntu5.4 (using .../mysql-server_5.0.96-0ubuntu3_all.deb) ...
Unpacking replacement mysql-server ...
Preparing to replace libmysqlclient15off 5.0.51a-3ubuntu5.4 (using .../libmysqlclient15off_5.0.96-0ubuntu3_amd64.deb) ...
Unpacking replacement libmysqlclient15off ...
Preparing to replace mysql-client 5.0.51a-3ubuntu5.4 (using .../mysql-client_5.0.96-0ubuntu3_all.deb) ...
Unpacking replacement mysql-client ...
Preparing to replace mysql-client-5.0 5.0.51a-3ubuntu5.4 (using .../mysql-client-5.0_5.0.96-0ubuntu3_amd64.deb) ...
Unpacking replacement mysql-client-5.0 ...
Setting up mysql-common (5.0.96-0ubuntu3) ...
(Reading database ... 37093 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.51a-3ubuntu5.4 (using .../mysql-server-5.0_5.0.96-0ubuntu3_amd64.deb) ...
 * Stopping MySQL database server mysqld                                                                                                                                                   [ OK ]
 * Stopping MySQL database server mysqld                                                                                                                                                   [ OK ]
Unpacking replacement mysql-server-5.0 ...
Preparing to replace apt 0.7.9ubuntu17.2 (using .../apt_0.7.9ubuntu17.6_amd64.deb) ...
Unpacking replacement apt ...
Setting up apt (0.7.9ubuntu17.6) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
(Reading database ... 37626 files and directories currently installed.)
Preparing to replace bzip2 1.0.4-2ubuntu4 (using .../bzip2_1.0.4-2ubuntu4.2_amd64.deb) ...
Unpacking replacement bzip2 ...
Preparing to replace libbz2-1.0 1.0.4-2ubuntu4 (using .../libbz2-1.0_1.0.4-2ubuntu4.2_amd64.deb) ...
Unpacking replacement libbz2-1.0 ...
Preparing to replace libssl-dev 0.9.8g-4ubuntu3.7 (using .../libssl-dev_0.9.8g-4ubuntu3.20_amd64.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl0.9.8 0.9.8g-4ubuntu3.7 (using .../libssl0.9.8_0.9.8g-4ubuntu3.20_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace python2.5 2.5.2-2ubuntu4.1 (using .../python2.5_2.5.2-2ubuntu6.2_amd64.deb) ...
Unpacking replacement python2.5 ...
Preparing to replace python2.5-minimal 2.5.2-2ubuntu4.1 (using .../python2.5-minimal_2.5.2-2ubuntu6.2_amd64.deb) ...
Unpacking replacement python2.5-minimal ...
Setting up python2.5-minimal (2.5.2-2ubuntu6.2) ...

(Reading database ... 37629 files and directories currently installed.)
Preparing to replace apt-utils 0.7.9ubuntu17.2 (using .../apt-utils_0.7.9ubuntu17.6_amd64.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace dhcp3-client 3.0.6.dfsg-1ubuntu9 (using .../dhcp3-client_3.0.6.dfsg-1ubuntu9.3_amd64.deb) ...
Unpacking replacement dhcp3-client ...
Preparing to replace dhcp3-common 3.0.6.dfsg-1ubuntu9 (using .../dhcp3-common_3.0.6.dfsg-1ubuntu9.3_amd64.deb) ...
Unpacking replacement dhcp3-common ...
Preparing to replace gpgv 1.4.6-2ubuntu5 (using .../gpgv_1.4.6-2ubuntu5.2_amd64.deb) ...
Unpacking replacement gpgv ...
Preparing to replace libtasn1-3 1.1-1 (using .../libtasn1-3_1.1-1ubuntu0.1_amd64.deb) ...
Unpacking replacement libtasn1-3 ...
Preparing to replace libgnutls13 2.0.4-1ubuntu2.3 (using .../libgnutls13_2.0.4-1ubuntu2.9_amd64.deb) ...
Unpacking replacement libgnutls13 ...
Preparing to replace libkrb5-dev 1.6.dfsg.3~beta1-2ubuntu1.1 (using .../libkrb5-dev_1.6.dfsg.3~beta1-2ubuntu1.8_amd64.deb) ...
Unpacking replacement libkrb5-dev ...
Preparing to replace libkadm55 1.6.dfsg.3~beta1-2ubuntu1.1 (using .../libkadm55_1.6.dfsg.3~beta1-2ubuntu1.8_amd64.deb) ...
Unpacking replacement libkadm55 ...
Preparing to replace libkrb53 1.6.dfsg.3~beta1-2ubuntu1.1 (using .../libkrb53_1.6.dfsg.3~beta1-2ubuntu1.8_amd64.deb) ...
Unpacking replacement libkrb53 ...
Preparing to replace libldap2-dev 2.4.9-0ubuntu0.8.04.2 (using .../libldap2-dev_2.4.9-0ubuntu0.8.04.5_amd64.deb) ...
Unpacking replacement libldap2-dev ...
Preparing to replace libldap-2.4-2 2.4.9-0ubuntu0.8.04.2 (using .../libldap-2.4-2_2.4.9-0ubuntu0.8.04.5_amd64.deb) ...
Unpacking replacement libldap-2.4-2 ...
Preparing to replace libcurl3-gnutls 7.18.0-1ubuntu2.1 (using .../libcurl3-gnutls_7.18.0-1ubuntu2.4_amd64.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace gnupg 1.4.6-2ubuntu5 (using .../gnupg_1.4.6-2ubuntu5.2_amd64.deb) ...
Unpacking replacement gnupg ...
Preparing to replace klibc-utils 1.5.7-4ubuntu4 (using .../klibc-utils_1.5.7-4ubuntu5_amd64.deb) ...
Unpacking replacement klibc-utils ...
Preparing to replace libklibc 1.5.7-4ubuntu4 (using .../libklibc_1.5.7-4ubuntu5_amd64.deb) ...
Unpacking replacement libklibc ...
Preparing to replace libnewt0.52 0.52.2-11.2ubuntu1 (using .../libnewt0.52_0.52.2-11.2ubuntu1.1_amd64.deb) ...
Unpacking replacement libnewt0.52 ...
Preparing to replace wget 1.10.2-3ubuntu1 (using .../wget_1.10.2-3ubuntu1.2_amd64.deb) ...
Unpacking replacement wget ...
Preparing to replace whiptail 0.52.2-11.2ubuntu1 (using .../whiptail_0.52.2-11.2ubuntu1.1_amd64.deb) ...
Unpacking replacement whiptail ...
Preparing to replace libdbus-1-3 1.1.20-1ubuntu3.2 (using .../libdbus-1-3_1.1.20-1ubuntu3.9_amd64.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace openssh-server 1:4.7p1-8ubuntu1.2 (using .../openssh-server_1%3a4.7p1-8ubuntu3_amd64.deb) ...
Unpacking replacement openssh-server ...
Preparing to replace openssh-client 1:4.7p1-8ubuntu1.2 (using .../openssh-client_1%3a4.7p1-8ubuntu3_amd64.deb) ...
Unpacking replacement openssh-client ...
Preparing to replace libapr1-dev 1.2.11-1 (using .../libapr1-dev_1.2.11-1ubuntu0.2_amd64.deb) ...
Unpacking replacement libapr1-dev ...
Preparing to replace libapr1 1.2.11-1 (using .../libapr1_1.2.11-1ubuntu0.2_amd64.deb) ...
Unpacking replacement libapr1 ...
Preparing to replace libexpat1-dev 2.0.1-0ubuntu1 (using .../libexpat1-dev_2.0.1-0ubuntu1.2_amd64.deb) ...
Unpacking replacement libexpat1-dev ...
Preparing to replace libexpat1 2.0.1-0ubuntu1 (using .../libexpat1_2.0.1-0ubuntu1.2_amd64.deb) ...
Unpacking replacement libexpat1 ...
Preparing to replace libpq-dev 8.3.7-0ubuntu8.04.1 (using .../libpq-dev_8.3.23-0ubuntu8.04.1_amd64.deb) ...
Unpacking replacement libpq-dev ...
Preparing to replace libpq5 8.3.7-0ubuntu8.04.1 (using .../libpq5_8.3.23-0ubuntu8.04.1_amd64.deb) ...
Unpacking replacement libpq5 ...
Preparing to replace libaprutil1-dev 1.2.12+dfsg-3ubuntu0.1 (using .../libaprutil1-dev_1.2.12+dfsg-3ubuntu0.3_amd64.deb) ...
Unpacking replacement libaprutil1-dev ...
Preparing to replace libaprutil1 1.2.12+dfsg-3ubuntu0.1 (using .../libaprutil1_1.2.12+dfsg-3ubuntu0.3_amd64.deb) ...
Unpacking replacement libaprutil1 ...
Preparing to replace openssl 0.9.8g-4ubuntu3.7 (using .../openssl_0.9.8g-4ubuntu3.20_amd64.deb) ...
Unpacking replacement openssl ...
Preparing to replace apache2-prefork-dev 2.2.8-1ubuntu0.9 (using .../apache2-prefork-dev_2.2.8-1ubuntu0.25_amd64.deb) ...
Unpacking replacement apache2-prefork-dev ...
Preparing to replace apache2-utils 2.2.8-1ubuntu0.9 (using .../apache2-utils_2.2.8-1ubuntu0.25_amd64.deb) ...
Unpacking replacement apache2-utils ...
Preparing to replace apache2-mpm-prefork 2.2.8-1ubuntu0.9 (using .../apache2-mpm-prefork_2.2.8-1ubuntu0.25_amd64.deb) ...
 * Stopping web server apache2                                                                                                                                                                     * We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
                                                                                                                                                                                           [ OK ]
Unpacking replacement apache2-mpm-prefork ...
Preparing to replace apache2.2-common 2.2.8-1ubuntu0.9 (using .../apache2.2-common_2.2.8-1ubuntu0.25_amd64.deb) ...
Unpacking replacement apache2.2-common ...
Preparing to replace libcurl3 7.18.0-1ubuntu2.1 (using .../libcurl3_7.18.0-1ubuntu2.4_amd64.deb) ...
Unpacking replacement libcurl3 ...
Preparing to replace curl 7.18.0-1ubuntu2.1 (using .../curl_7.18.0-1ubuntu2.4_amd64.deb) ...
Unpacking replacement curl ...
Preparing to replace dpkg-dev 1.14.16.6ubuntu4 (using .../dpkg-dev_1.14.16.6ubuntu4.2_all.deb) ...
Unpacking replacement dpkg-dev ...
Preparing to replace ruby1.8-dev 1.8.6.111-2ubuntu1.2 (using .../ruby1.8-dev_1.8.6.111-2ubuntu1.3_amd64.deb) ...
Unpacking replacement ruby1.8-dev ...
Preparing to replace libruby1.8 1.8.6.111-2ubuntu1.2 (using .../libruby1.8_1.8.6.111-2ubuntu1.3_amd64.deb) ...
Unpacking replacement libruby1.8 ...
Preparing to replace libreadline-ruby1.8 1.8.6.111-2ubuntu1.2 (using .../libreadline-ruby1.8_1.8.6.111-2ubuntu1.3_amd64.deb) ...
Unpacking replacement libreadline-ruby1.8 ...
Preparing to replace ruby1.8 1.8.6.111-2ubuntu1.2 (using .../ruby1.8_1.8.6.111-2ubuntu1.3_amd64.deb) ...
Unpacking replacement ruby1.8 ...
Preparing to replace irb1.8 1.8.6.111-2ubuntu1.2 (using .../irb1.8_1.8.6.111-2ubuntu1.3_all.deb) ...
Unpacking replacement irb1.8 ...
Preparing to replace libmysqlclient15-dev 5.0.51a-3ubuntu5.4 (using .../libmysqlclient15-dev_5.0.96-0ubuntu3_amd64.deb) ...
Unpacking replacement libmysqlclient15-dev ...
Preparing to replace libopenssl-ruby1.8 1.8.6.111-2ubuntu1.2 (using .../libopenssl-ruby1.8_1.8.6.111-2ubuntu1.3_amd64.deb) ...
Unpacking replacement libopenssl-ruby1.8 ...
Preparing to replace ntpdate 1:4.2.4p4+dfsg-3ubuntu2.2 (using .../ntpdate_1%3a4.2.4p4+dfsg-3ubuntu2.3_amd64.deb) ...
Unpacking replacement ntpdate ...
Preparing to replace ri1.8 1.8.6.111-2ubuntu1.2 (using .../ri1.8_1.8.6.111-2ubuntu1.3_all.deb) ...
Unpacking replacement ri1.8 ...
Preparing to replace rdoc1.8 1.8.6.111-2ubuntu1.2 (using .../rdoc1.8_1.8.6.111-2ubuntu1.3_all.deb) ...
Unpacking replacement rdoc1.8 ...
Preparing to replace sudo 1.6.9p10-1ubuntu3.4 (using .../sudo_1.6.9p10-1ubuntu3.10_amd64.deb) ...
Unpacking replacement sudo ...
Preparing to replace util-linux-locales 2.13.1-5ubuntu3 (using .../util-linux-locales_2.13.1-5ubuntu3.1_all.deb) ...
Unpacking replacement util-linux-locales ...
Preparing to replace postfix 2.5.1-2ubuntu1.2 (using .../postfix_2.5.1-2ubuntu1.4_amd64.deb) ...
 * Stopping Postfix Mail Transport Agent postfix                                                                                                                                           [ OK ]
 * Stopping Postfix Mail Transport Agent postfix                                                                                                                                           [ OK ]
Unpacking replacement postfix ...
Setting up linux-libc-dev (2.6.24-32.107) ...
Setting up libc6-dev (2.7-10ubuntu8.3) ...
Setting up libmysqlclient15off (5.0.96-0ubuntu3) ...

Setting up libbz2-1.0 (1.0.4-2ubuntu4.2) ...

Setting up bzip2 (1.0.4-2ubuntu4.2) ...

Setting up libssl0.9.8 (0.9.8g-4ubuntu3.20) ...

Setting up libssl-dev (0.9.8g-4ubuntu3.20) ...
Setting up python2.5 (2.5.2-2ubuntu6.2) ...

Setting up apt-utils (0.7.9ubuntu17.6) ...

Setting up dhcp3-common (3.0.6.dfsg-1ubuntu9.3) ...
Setting up dhcp3-client (3.0.6.dfsg-1ubuntu9.3) ...

Setting up gpgv (1.4.6-2ubuntu5.2) ...
Setting up libtasn1-3 (1.1-1ubuntu0.1) ...

Setting up libgnutls13 (2.0.4-1ubuntu2.9) ...

Setting up libkrb53 (1.6.dfsg.3~beta1-2ubuntu1.8) ...

Setting up libkadm55 (1.6.dfsg.3~beta1-2ubuntu1.8) ...

Setting up libkrb5-dev (1.6.dfsg.3~beta1-2ubuntu1.8) ...
Setting up libldap-2.4-2 (2.4.9-0ubuntu0.8.04.5) ...

Setting up libldap2-dev (2.4.9-0ubuntu0.8.04.5) ...
Setting up libcurl3-gnutls (7.18.0-1ubuntu2.4) ...

Setting up gnupg (1.4.6-2ubuntu5.2) ...
Setting up libklibc (1.5.7-4ubuntu5) ...
Setting up klibc-utils (1.5.7-4ubuntu5) ...
Setting up libnewt0.52 (0.52.2-11.2ubuntu1.1) ...

Setting up wget (1.10.2-3ubuntu1.2) ...

Setting up whiptail (0.52.2-11.2ubuntu1.1) ...
Setting up libdbus-1-3 (1.1.20-1ubuntu3.9) ...

Setting up openssh-client (1:4.7p1-8ubuntu3) ...

Setting up openssh-server (1:4.7p1-8ubuntu3) ...
 * Restarting OpenBSD Secure Shell server sshd                                                                                                                                             [ OK ]

Setting up libapr1 (1.2.11-1ubuntu0.2) ...

Setting up libapr1-dev (1.2.11-1ubuntu0.2) ...
Setting up libexpat1 (2.0.1-0ubuntu1.2) ...

Setting up libexpat1-dev (2.0.1-0ubuntu1.2) ...

Setting up libpq5 (8.3.23-0ubuntu8.04.1) ...

Setting up libpq-dev (8.3.23-0ubuntu8.04.1) ...
Setting up libaprutil1 (1.2.12+dfsg-3ubuntu0.3) ...

Setting up libaprutil1-dev (1.2.12+dfsg-3ubuntu0.3) ...
Setting up openssl (0.9.8g-4ubuntu3.20) ...

Setting up apache2-utils (2.2.8-1ubuntu0.25) ...
Setting up apache2.2-common (2.2.8-1ubuntu0.25) ...

Setting up apache2-prefork-dev (2.2.8-1ubuntu0.25) ...
Setting up apache2-mpm-prefork (2.2.8-1ubuntu0.25) ...
 * Starting web server apache2                                                                                                                                                                    
[ OK ]

Setting up libcurl3 (7.18.0-1ubuntu2.4) ...

Setting up curl (7.18.0-1ubuntu2.4) ...
Setting up libruby1.8 (1.8.6.111-2ubuntu1.3) ...

Setting up ruby1.8-dev (1.8.6.111-2ubuntu1.3) ...
Setting up libreadline-ruby1.8 (1.8.6.111-2ubuntu1.3) ...
Setting up ruby1.8 (1.8.6.111-2ubuntu1.3) ...
Setting up irb1.8 (1.8.6.111-2ubuntu1.3) ...

Setting up libmysqlclient15-dev (5.0.96-0ubuntu3) ...

Setting up libopenssl-ruby1.8 (1.8.6.111-2ubuntu1.3) ...
Setting up ntpdate (1:4.2.4p4+dfsg-3ubuntu2.3) ...

Setting up rdoc1.8 (1.8.6.111-2ubuntu1.3) ...
Setting up ri1.8 (1.8.6.111-2ubuntu1.3) ...
Setting up sudo (1.6.9p10-1ubuntu3.10) ...

Setting up util-linux-locales (2.13.1-5ubuntu3.1) ...

Setting up postfix (2.5.1-2ubuntu1.4) ...

Postfix configuration was not changed.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
 * Stopping Postfix Mail Transport Agent postfix                                                                                                                                           [ OK ]
 * Starting Postfix Mail Transport Agent postfix                                                                                                                                           [ OK ]

Setting up language-pack-en (1:8.04+20100117.1) ...
Setting up perl-modules (5.8.8-12ubuntu0.8) ...
Setting up language-pack-en-base (1:8.04+20100117.1) ...
Generating locales...
  en_AG.UTF-8... cannot open locale definition file `en_AG': No such file or directory
failed
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_GB.UTF-8... up-to-date
  en_HK.UTF-8... up-to-date
  en_IE.UTF-8... up-to-date
  en_IN.UTF-8... up-to-date
  en_NG.UTF-8... up-to-date
  en_NZ.UTF-8... up-to-date
  en_PH.UTF-8... up-to-date
  en_SG.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
  en_ZA.UTF-8... up-to-date
  en_ZW.UTF-8... up-to-date
Generation complete.

Setting up perl (5.8.8-12ubuntu0.8) ...

Setting up mysql-client-5.0 (5.0.96-0ubuntu3) ...
Setting up mysql-server-5.0 (5.0.96-0ubuntu3) ...
 * Stopping MySQL database server mysqld                                                                                                                                                   [ OK ]
 * Starting MySQL database server mysqld                                                                                                                                                   [ OK ]
 * Checking for corrupt, not cleanly closed and upgrade needing tables.

Setting up mysql-server (5.0.96-0ubuntu3) ...
Setting up mysql-client (5.0.96-0ubuntu3) ...
Setting up dpkg-dev (1.14.16.6ubuntu4.2) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Update Packages

Download the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.

$ sudo apt-get update
Hit http://old-releases.ubuntu.com hardy Release.gpg
Ign http://old-releases.ubuntu.com hardy/main Translation-en_US
Ign http://old-releases.ubuntu.com hardy/restricted Translation-en_US
Ign http://old-releases.ubuntu.com hardy/universe Translation-en_US
Hit http://old-releases.ubuntu.com hardy-updates Release.gpg
Ign http://old-releases.ubuntu.com hardy-updates/main Translation-en_US
Ign http://old-releases.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://old-releases.ubuntu.com hardy-updates/universe Translation-en_US
Get:1 http://old-releases.ubuntu.com hardy-security Release.gpg [198B]
Ign http://old-releases.ubuntu.com hardy-security/main Translation-en_US
Ign http://old-releases.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://old-releases.ubuntu.com hardy-security/universe Translation-en_US
Hit http://old-releases.ubuntu.com hardy Release
Hit http://old-releases.ubuntu.com hardy-updates Release
Get:2 http://old-releases.ubuntu.com hardy-security Release [65.9kB]
Hit http://old-releases.ubuntu.com hardy/main Packages
Hit http://old-releases.ubuntu.com hardy/restricted Packages
Hit http://old-releases.ubuntu.com hardy/universe Packages
Hit http://old-releases.ubuntu.com hardy/main Sources
Hit http://old-releases.ubuntu.com hardy/restricted Sources
Hit http://old-releases.ubuntu.com hardy/universe Sources
Hit http://old-releases.ubuntu.com hardy-updates/main Packages
Hit http://old-releases.ubuntu.com hardy-updates/restricted Packages
Hit http://old-releases.ubuntu.com hardy-updates/universe Packages
Hit http://old-releases.ubuntu.com hardy-updates/main Sources
Hit http://old-releases.ubuntu.com hardy-updates/restricted Sources
Hit http://old-releases.ubuntu.com hardy-updates/universe Sources
Get:3 http://old-releases.ubuntu.com hardy-security/main Packages [306kB]
Get:4 http://old-releases.ubuntu.com hardy-security/restricted Packages [11.5kB]
Get:5 http://old-releases.ubuntu.com hardy-security/universe Packages [145kB]
Get:6 http://old-releases.ubuntu.com hardy-security/main Sources [150kB]
Get:7 http://old-releases.ubuntu.com hardy-security/restricted Sources [1251B]
Get:8 http://old-releases.ubuntu.com hardy-security/universe Sources [49.1kB]
Fetched 729kB in 2s (345kB/s)
Reading package lists... Done


Determine Ubuntu Server Version


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy


Next Steps

Now, we're as good as we're going to get unless we upgrade the operating system version.

If that is not an option, then you'd better ensure that you have hardened your server as much as possible.

However, as the owner of the unsupported operating system you need to understand the very real business risks that exist.

Upgrading to Current Release

Being that Ubuntu is, as of this writing, up to version 14.10, the best way to upgrade is a fresh install.

Using Puppet and Vagrant to automate the server installation process is also recommended.

Vagrant is a wrapper around the VirtualBox virtualization platform that manages headless server instances.

While Vagrant manages the virtual machine and allows me to spin up and destroy the instance at will, Puppet is the tool that performs the magic of installing Development Environment technology stack, e.g., Apache, Ruby on Rails, Go, and other packages such as Git. Puppet manages the long checklist of packages that are required.

References

http://www.tecmint.com/linux-server-hardening-security-tips/
http://askubuntu.com/questions/81585/what-is-dist-upgrade-and-why-does-it-upgrade-more-than-upgrade
http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions
https://www.andrewmunsell.com/blog/development-environments-with-vagrant-and-puppet

1 comment:

  1. You can download the unzip package from below URL :

    http://launchpadlibrarian.net/12763446/unzip_5.52-8ubuntu1.1_i386.deb

    It will directly download the pkg to your machine.

    ReplyDelete