Updating Security

Introduction

Updating using Yum or Apt-get, installs the latest versions of packages on your VDS. This helps fix bugs in the packages, fixes security holes and exploits that could be used to compromise your server.

It is important to do this on every clean install as they don’t generally have the latest updates. It is also advised to do this update on regular bases, such as every couple of months, in order to keep a secure server.

Package updates come out when they have fixed bugs, fixed a security hole or generally made improvements to how the software works. This also includes updates regarding the OS too.



Yum for Centos 5

Updating the packages is quick and easy.

[root@vps ~]# yum update

N.B Your list of packages may be different to whats listed here. Dont worry its normal, just depends on what needs to be updated at that time.

Setting up Update Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for centos-release to pack into transaction set.
centos-release-4-8.i386.r 100% |=========================| 5.4 kB    00:00
---> Package centos-release.i386 6:4-8 set to be updated
---> Downloading header for util-linux to pack into transaction set.
util-linux-2.12a-24.el4_8 100% |=========================|  59 kB    00:00
---> Package util-linux.i386 0:2.12a-24.el4_8.1 set to be updated
---> Downloading header for setup to pack into transaction set.
setup-2.5.37-3.el4.noarch 100% |=========================|  17 kB    00:00
---> Package setup.noarch 0:2.5.37-3.el4 set to be updated
---> Downloading header for python to pack into transaction set.
python-2.3.4-14.7.el4_8.2 100% |=========================| 192 kB    00:00
---> Package python.i386 0:2.3.4-14.7.el4_8.2 set to be updated
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.3.4-2.43.el 100% |=========================|  97 kB    00:00
---> Package glibc-devel.i386 0:2.3.4-2.43.el4_8.1 set to be updated
---> Downloading header for sudo to pack into transaction set.
sudo-1.6.7p5-30.1.5.i386. 100% |=========================|  11 kB    00:00
---> Package sudo.i386 0:1.6.7p5-30.1.5 set to be updated
---> Downloading header for wget to pack into transaction set.
wget-1.10.2-1.el4_8.1.i38 100% |=========================|  16 kB    00:00
---> Package wget.i386 0:1.10.2-1.el4_8.1 set to be updated
---> Downloading header for glibc-common to pack into transaction set.
glibc-common-2.3.4-2.43.e 100% |=========================| 650 kB    00:00
---> Package glibc-common.i386 0:2.3.4-2.43.el4_8.1 set to be updated
---> Downloading header for pam to pack into transaction set.
pam-0.77-66.26.el4_8.1.i3 100% |=========================|  62 kB    00:00
---> Package pam.i386 0:0.77-66.26.el4_8.1 set to be updated
---> Downloading header for krb5-libs to pack into transaction set.
krb5-libs-1.3.4-62.el4_8. 100% |=========================|  35 kB    00:00
---> Package krb5-libs.i386 0:1.3.4-62.el4_8.1 set to be updated
---> Downloading header for iptables to pack into transaction set.
iptables-1.2.11-3.2.RHEL4 100% |=========================|  18 kB    00:00
---> Package iptables.i386 0:1.2.11-3.2.RHEL4 set to be updated
---> Downloading header for audit-libs to pack into transaction set.
audit-libs-1.0.16-4.el4.i 100% |=========================|  16 kB    00:00
---> Package audit-libs.i386 0:1.0.16-4.el4 set to be updated
---> Downloading header for audit to pack into transaction set.
audit-1.0.16-4.el4.i386.r 100% |=========================|  19 kB    00:00
---> Package audit.i386 0:1.0.16-4.el4 set to be updated
---> Downloading header for expat to pack into transaction set.
expat-1.95.7-4.el4_8.2.i3 100% |=========================| 4.5 kB    00:00
---> Package expat.i386 0:1.95.7-4.el4_8.2 set to be updated
---> Downloading header for cpp to pack into transaction set.
cpp-3.4.6-11.el4_8.1.i386 100% |=========================|  37 kB    00:00
---> Package cpp.i386 0:3.4.6-11.el4_8.1 set to be updated
---> Downloading header for procps to pack into transaction set.
procps-3.2.3-8.17.i386.rp 100% |=========================|  18 kB    00:00
---> Package procps.i386 0:3.2.3-8.17 set to be updated
---> Downloading header for libxml2 to pack into transaction set.
libxml2-2.6.16-12.7.i386. 100% |=========================| 7.3 kB    00:00
---> Package libxml2.i386 0:2.6.16-12.7 set to be updated
---> Downloading header for rpm-libs to pack into transaction set.
rpm-libs-4.3.3-32_nonptl. 100% |=========================| 7.4 kB    00:00
---> Package rpm-libs.i386 0:4.3.3-32_nonptl set to be updated
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.3.4-2.43. 100% |=========================| 131 kB    00:00
---> Package glibc-headers.i386 0:2.3.4-2.43.el4_8.1 set to be updated
---> Downloading header for e2fsprogs to pack into transaction set.
e2fsprogs-1.35-12.24.el4. 100% |=========================|  26 kB    00:00
---> Package e2fsprogs.i386 0:1.35-12.24.el4 set to be updated
---> Downloading header for rpm to pack into transaction set.
rpm-4.3.3-32_nonptl.i386. 100% |=========================|  30 kB    00:00
---> Package rpm.i386 0:4.3.3-32_nonptl set to be updated
---> Downloading header for perl to pack into transaction set.
perl-5.8.5-49.el4.i386.rp 100% |=========================| 384 kB    00:01
---> Package perl.i386 3:5.8.5-49.el4 set to be updated
---> Downloading header for sysklogd to pack into transaction set.
sysklogd-1.4.1-28.el4.i38 100% |=========================|  12 kB    00:00
---> Package sysklogd.i386 0:1.4.1-28.el4 set to be updated
---> Downloading header for gzip to pack into transaction set.
gzip-1.3.3-18.el4_8.1.i38 100% |=========================|  11 kB    00:00
---> Package gzip.i386 0:1.3.3-18.el4_8.1 set to be updated
---> Downloading header for coreutils to pack into transaction set.
coreutils-5.2.1-36.el4.ce 100% |=========================|  51 kB    00:00
---> Package coreutils.i386 0:5.2.1-36.el4.centos set to be updated
---> Downloading header for bash to pack into transaction set.
bash-3.0-21.el4_8.2.i386. 100% |=========================|  45 kB    00:00
---> Package bash.i386 0:3.0-21.el4_8.2 set to be updated
---> Downloading header for openldap to pack into transaction set.
openldap-2.2.13-12.el4_8. 100% |=========================|  27 kB    00:00
---> Package openldap.i386 0:2.2.13-12.el4_8.2 set to be updated
---> Downloading header for libxml2-python to pack into transaction set.
libxml2-python-2.6.16-12. 100% |=========================|  11 kB    00:00
---> Package libxml2-python.i386 0:2.6.16-12.7 set to be updated
---> Downloading header for vim-minimal to pack into transaction set.
vim-minimal-6.3.046-2.el4 100% |=========================| 6.4 kB    00:00
---> Package vim-minimal.i386 1:6.3.046-2.el4.1 set to be updated
---> Downloading header for libstdc++ to pack into transaction set.
libstdc%2B%2B-3.4.6-11.el 100% |=========================|  36 kB    00:00
---> Package libstdc++.i386 0:3.4.6-11.el4_8.1 set to be updated
---> Downloading header for popt to pack into transaction set.
popt-1.9.1-32_nonptl.i386 100% |=========================|  11 kB    00:00
---> Package popt.i386 0:1.9.1-32_nonptl set to be updated
---> Downloading header for initscripts to pack into transaction set.
initscripts-7.93.34-1.cen 100% |=========================|  93 kB    00:00
---> Package initscripts.i386 0:7.93.34-1.centos4 set to be updated
---> Downloading header for vixie-cron to pack into transaction set.
vixie-cron-4.1-57.el4.i38 100% |=========================|  19 kB    00:00
---> Package vixie-cron.i386 4:4.1-57.el4 set to be updated
---> Downloading header for tcp_wrappers to pack into transaction set.
tcp_wrappers-7.6-37.9.el4 100% |=========================| 8.5 kB    00:00
---> Package tcp_wrappers.i386 0:7.6-37.9.el4 set to be updated
---> Downloading header for gcc to pack into transaction set.
gcc-3.4.6-11.el4_8.1.i386 100% |=========================|  45 kB    00:00
---> Package gcc.i386 0:3.4.6-11.el4_8.1 set to be updated
---> Downloading header for grep to pack into transaction set.
grep-2.5.1-32.4.el4.i386. 100% |=========================|  13 kB    00:00
---> Package grep.i386 0:2.5.1-32.4.el4 set to be updated
---> Downloading header for rpm-python to pack into transaction set.
rpm-python-4.3.3-32_nonpt 100% |=========================| 7.9 kB    00:00
---> Package rpm-python.i386 0:4.3.3-32_nonptl set to be updated
---> Downloading header for glibc to pack into transaction set.
glibc-2.3.4-2.43.el4_8.1. 100% |=========================| 130 kB    00:00
---> Package glibc.i686 0:2.3.4-2.43.el4_8.1 set to be updated
---> Downloading header for tzdata to pack into transaction set.
tzdata-2009u-1.el4.noarch 100% |=========================| 189 kB    00:00
---> Package tzdata.noarch 0:2009u-1.el4 set to be updated
---> Downloading header for iputils to pack into transaction set.
iputils-20020927-22.el4.i 100% |=========================|  11 kB    00:00
---> Package iputils.i386 0:20020927-22.el4 set to be updated
---> Downloading header for libgcc to pack into transaction set.
libgcc-3.4.6-11.el4_8.1.i 100% |=========================|  36 kB    00:00
---> Package libgcc.i386 0:3.4.6-11.el4_8.1 set to be updated
---> Downloading header for tmpwatch to pack into transaction set.
tmpwatch-2.9.1-1.el4.1.i3 100% |=========================| 7.3 kB    00:00
---> Package tmpwatch.i386 0:2.9.1-1.el4.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 audit                   i386       1.0.16-4.el4     base              202 k
 audit-libs              i386       1.0.16-4.el4     base               39 k
 bash                    i386       3.0-21.el4_8.2   update            1.7 M
 centos-release          i386       6:4-8            base               22 k
 coreutils               i386       5.2.1-36.el4.centos  base              2.9 M
 cpp                     i386       3.4.6-11.el4_8.1  update            1.6 M
 e2fsprogs               i386       1.35-12.24.el4   base              784 k
 expat                   i386       1.95.7-4.el4_8.2  update             69 k
 gcc                     i386       3.4.6-11.el4_8.1  update            4.4 M
 glibc                   i686       2.3.4-2.43.el4_8.1  update            6.0 M
 glibc-common            i386       2.3.4-2.43.el4_8.1  update             16 M
 glibc-devel             i386       2.3.4-2.43.el4_8.1  update            1.9 M
 glibc-headers           i386       2.3.4-2.43.el4_8.1  update            589 k
 grep                    i386       2.5.1-32.4.el4   base              170 k
 gzip                    i386       1.3.3-18.el4_8.1  update             88 k
 initscripts             i386       7.93.34-1.centos4  base              1.3 M
 iptables                i386       1.2.11-3.2.RHEL4  base              171 k
 iputils                 i386       20020927-22.el4  base              106 k
 krb5-libs               i386       1.3.4-62.el4_8.1  update            487 k
 libgcc                  i386       3.4.6-11.el4_8.1  update             65 k
 libstdc++               i386       3.4.6-11.el4_8.1  update            283 k
 libxml2                 i386       2.6.16-12.7      update            622 k
 libxml2-python          i386       2.6.16-12.7      update            441 k
 openldap                i386       2.2.13-12.el4_8.2  update            238 k
 pam                     i386       0.77-66.26.el4_8.1  update            1.9 M
 perl                    i386       3:5.8.5-49.el4   base               12 M
 popt                    i386       1.9.1-32_nonptl  base               61 k
 procps                  i386       3.2.3-8.17       base              190 k
 python                  i386       2.3.4-14.7.el4_8.2  update            4.9 M
 rpm                     i386       4.3.3-32_nonptl  base              652 k
 rpm-libs                i386       4.3.3-32_nonptl  base              784 k
 rpm-python              i386       4.3.3-32_nonptl  base               82 k
 setup                   noarch     2.5.37-3.el4     base               32 k
 sudo                    i386       1.6.7p5-30.1.5   base              162 k
 sysklogd                i386       1.4.1-28.el4     base               68 k
 tcp_wrappers            i386       7.6-37.9.el4     base               98 k
 tmpwatch                i386       2.9.1-1.el4.1    base               15 k
 tzdata                  noarch     2009u-1.el4      update            460 k
 util-linux              i386       2.12a-24.el4_8.1  update            1.5 M
 vim-minimal             i386       1:6.3.046-2.el4.1  base              252 k
 vixie-cron              i386       4:4.1-57.el4     base               85 k
 wget                    i386       1.10.2-1.el4_8.1  update            568 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update      42 Package(s)
Remove       0 Package(s)
Total download size: 63 M
Is this ok [y/N]:

As you can see, on the clean install i've running yum update, theres lots of packages that need updating. So when your prompted by "Is this okay [y/N]:" just press Y and hit Enter.

Downloading Packages:
(1/42): centos-release-4- 100% |=========================|  22 kB    00:00
(2/42): util-linux-2.12a- 100% |=========================| 1.5 MB    00:01
(3/42): setup-2.5.37-3.el 100% |=========================|  32 kB    00:00
(4/42): python-2.3.4-14.7 100% |=========================| 4.9 MB    00:04
(5/42): glibc-devel-2.3.4 100% |=========================| 1.9 MB    00:01
(6/42): sudo-1.6.7p5-30.1 100% |=========================| 162 kB    00:01
(7/42): wget-1.10.2-1.el4 100% |=========================| 568 kB    00:00
(8/42): glibc-common-2.3. 100% |=========================|  16 MB    00:14
(9/42): pam-0.77-66.26.el 100% |=========================| 1.9 MB    00:01
(10/42): krb5-libs-1.3.4- 100% |=========================| 487 kB    00:00
(11/42): iptables-1.2.11- 100% |=========================| 171 kB    00:01
(12/42): audit-libs-1.0.1 100% |=========================|  39 kB    00:00
(13/42): audit-1.0.16-4.e 100% |=========================| 202 kB    00:00
(14/42): expat-1.95.7-4.e 100% |=========================|  69 kB    00:00
(15/42): cpp-3.4.6-11.el4 100% |=========================| 1.6 MB    00:00
(16/42): procps-3.2.3-8.1 100% |=========================| 190 kB    00:00
(17/42): libxml2-2.6.16-1 100% |=========================| 622 kB    00:00
(18/42): rpm-libs-4.3.3-3 100% |=========================| 784 kB    00:01
(19/42): glibc-headers-2. 100% |=========================| 589 kB    00:00
(20/42): e2fsprogs-1.35-1 100% |=========================| 784 kB    00:01
(21/42): rpm-4.3.3-32_non 100% |=========================| 652 kB    00:01
(22/42): perl-5.8.5-49.el 100% |=========================|  12 MB    00:49
(23/42): sysklogd-1.4.1-2 100% |=========================|  68 kB    00:00
(24/42): gzip-1.3.3-18.el 100% |=========================|  88 kB    00:00
(25/42): coreutils-5.2.1- 100% |=========================| 2.9 MB    00:11
(26/42): bash-3.0-21.el4_ 100% |=========================| 1.7 MB    00:01
(27/42): openldap-2.2.13- 100% |=========================| 238 kB    00:00
(28/42): libxml2-python-2 100% |=========================| 441 kB    00:00
(29/42): vim-minimal-6.3. 100% |=========================| 252 kB    00:02
(30/42): libstdc++-3.4.6- 100% |=========================| 283 kB    00:00
(31/42): popt-1.9.1-32_no 100% |=========================|  61 kB    00:01
(32/42): initscripts-7.93 100% |=========================| 1.3 MB    00:06
(33/42): vixie-cron-4.1-5 100% |=========================|  85 kB    00:02
(34/42): tcp_wrappers-7.6 100% |=========================|  98 kB    00:01
(35/42): gcc-3.4.6-11.el4 100% |=========================| 4.4 MB    00:04
(36/42): grep-2.5.1-32.4. 100% |=========================| 170 kB    00:01
(37/42): rpm-python-4.3.3 100% |=========================|  82 kB    00:00
(38/42): glibc-2.3.4-2.43 100% |=========================| 6.0 MB    00:05
(39/42): tzdata-2009u-1.e 100% |=========================| 460 kB    00:00
(40/42): iputils-20020927 100% |=========================| 106 kB    00:01
(41/42): libgcc-3.4.6-11. 100% |=========================|  65 kB    00:00
(42/42): tmpwatch-2.9.1-1 100% |=========================|  15 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : libgcc                       ####################### [ 1/84]
  Updating  : tzdata                       ####################### [ 2/84]
  Updating  : glibc-common                 ####################### [ 3/84]
  Updating  : glibc                        ####################### [ 4/84]
Stopping sshd:[  OK  ]
Starting sshd:[  OK  ]
  Updating  : bash                         ####################### [ 5/84]
  Updating  : e2fsprogs                    ####################### [ 6/84]
  Updating  : grep                         ####################### [ 7/84]
  Updating  : popt                         ####################### [ 8/84]
  Updating  : audit-libs                   ####################### [ 9/84]
  Updating  : libxml2                      ####################### [10/84]
  Updating  : audit                        ####################### [11/84]
  Updating  : centos-release               ####################### [12/84]
  Updating  : glibc-headers                ####################### [13/84]
  Updating  : glibc-devel                  ####################### [14/84]
  Updating  : iputils                      ####################### [15/84]
  Updating  : vim-minimal                  ####################### [16/84]
  Updating  : setup                        ####################### [17/84]
  Updating  : cpp                          ####################### [18/84]
  Updating  : expat                        ####################### [19/84]
  Updating  : perl                         ####################### [20/84]
  Updating  : openldap                     ####################### [21/84]
  Updating  : gcc                          ####################### [22/84]
  Updating  : iptables                     ####################### [23/84]
  Updating  : gzip                         ####################### [24/84]
  Updating  : libstdc++                    ####################### [25/84]
  Updating  : tcp_wrappers                 ####################### [26/84]
  Updating  : tmpwatch                     ####################### [27/84]
  Updating  : coreutils                    ####################### [28/84]
  Updating  : pam                          ####################### [29/84]
  Updating  : python                       ####################### [30/84]
  Updating  : krb5-libs                    ####################### [31/84]
  Updating  : procps                       ####################### [32/84]
  Updating  : util-linux                   ####################### [33/84]
  Updating  : initscripts                  ####################### [34/84]
  Updating  : sysklogd                     ####################### [35/84]
  Updating  : vixie-cron                   ####################### [36/84]
  Updating  : wget                         ####################### [37/84]
  Updating  : libxml2-python               ####################### [38/84]
  Updating  : sudo                         ####################### [39/84]
  Updating  : rpm-libs                     ####################### [40/84]
  Updating  : rpm                          ####################### [41/84]
  Updating  : rpm-python                   ####################### [42/84]
  Cleanup   : centos-release               ####################### [43/84]
  Cleanup   : util-linux                   ####################### [44/84]
  Cleanup   : setup                        ####################### [45/84]
  Cleanup   : python                       ####################### [46/84]
  Cleanup   : glibc-devel                  ####################### [47/84]
  Cleanup   : sudo                         ####################### [48/84]
  Cleanup   : wget                         ####################### [49/84]
  Cleanup   : glibc-common                 ####################### [50/84]
  Cleanup   : pam                          ####################### [51/84]
  Cleanup   : krb5-libs                    ####################### [52/84]
  Cleanup   : iptables                     ####################### [53/84]
  Cleanup   : audit-libs                   ####################### [54/84]
  Cleanup   : audit                        ####################### [55/84]
  Cleanup   : expat                        ####################### [56/84]
  Cleanup   : cpp                          ####################### [57/84]
  Cleanup   : procps                       ####################### [58/84]
  Cleanup   : libxml2                      ####################### [59/84]
  Cleanup   : rpm-libs                     ####################### [60/84]
  Cleanup   : glibc-headers                ####################### [61/84]
  Cleanup   : e2fsprogs                    ####################### [62/84]
  Cleanup   : rpm                          ####################### [63/84]
  Cleanup   : perl                         ####################### [64/84]
  Cleanup   : sysklogd                     ####################### [65/84]
  Cleanup   : gzip                         ####################### [66/84]
  Cleanup   : coreutils                    ####################### [67/84]
  Cleanup   : bash                         ####################### [68/84]
  Cleanup   : openldap                     ####################### [69/84]
  Cleanup   : libxml2-python               ####################### [70/84]
  Cleanup   : vim-minimal                  ####################### [71/84]
  Cleanup   : libstdc++                    ####################### [72/84]
  Cleanup   : popt                         ####################### [73/84]
  Cleanup   : initscripts                  ####################### [74/84]
  Cleanup   : vixie-cron                   ####################### [75/84]
  Cleanup   : tcp_wrappers                 ####################### [76/84]
  Cleanup   : gcc                          ####################### [77/84]
  Cleanup   : grep                         ####################### [78/84]
  Cleanup   : rpm-python                   ####################### [79/84]
  Cleanup   : glibc                        ####################### [80/84]
  Cleanup   : tzdata                       ####################### [81/84]
  Cleanup   : iputils                      ####################### [82/84]
  Cleanup   : libgcc                       ####################### [83/84]
  Cleanup   : tmpwatch                     ####################### [84/84]

Updated: audit.i386 0:1.0.16-4.el4 audit-libs.i386 0:1.0.16-4.el4 bash.i386 0:3.0-21.el4_8.2
centos-release.i386 6:4-8 coreutils.i386 0:5.2.1-36.el4.centos cpp.i386 0:3.4.6-11.el4_8.1 
e2fsprogs.i386 0:1.35-12.24.el4 expat.i386 0:1.95.7-4.el4_8.2 gcc.i386 0:3.4.6-11.el4_8.1 
glibc.i686 0:2.3.4-2.43.el4_8.1 glibc-common.i386 0:2.3.4-2.43.el4_8.1 glibc-devel.i386 
0:2.3.4-2.43.el4_8.1 glibc-headers.i386 0:2.3.4-2.43.el4_8.1 grep.i386 0:2.5.1-32.4.el4 
gzip.i386 0:1.3.3-18.el4_8.1 initscripts.i386 0:7.93.34-1.centos4 iptables.i386 
0:1.2.11-3.2.RHEL4 iputils.i386 0:20020927-22.el4 krb5-libs.i386 0:1.3.4-62.el4_8.1 
libgcc.i386 0:3.4.6-11.el4_8.1 libstdc++.i386 0:3.4.6-11.el4_8.1 libxml2.i386 0:2.6.16-12.7 
libxml2-python.i386 0:2.6.16-12.7 openldap.i386 0:2.2.13-12.el4_8.2 pam.i386 
0:0.77-66.26.el4_8.1 perl.i386 3:5.8.5-49.el4 popt.i386 0:1.9.1-32_nonptl procps.i386 
0:3.2.3-8.17 python.i386 0:2.3.4-14.7.el4_8.2 rpm.i386 0:4.3.3-32_nonptl rpm-libs.i386 
0:4.3.3-32_nonptl rpm-python.i386 0:4.3.3-32_nonptl setup.noarch 0:2.5.37-3.el4 sudo.i386 
0:1.6.7p5-30.1.5 sysklogd.i386 0:1.4.1-28.el4 tcp_wrappers.i386 0:7.6-37.9.el4 
tmpwatch.i386 0:2.9.1-1.el4.1 tzdata.noarch 0:2009u-1.el4 util-linux.i386 0:2.12a-24.el4_8.1
vim-minimal.i386 1:6.3.046-2.el4.1 vixie-cron.i386 4:4.1-57.el4 wget.i386 0:1.10.2-1.el4_8.1
Complete!

If your on Xen (you can check in your QCP), Then you need to do the following, to fix a known problem virtualization layer.

[root@vps ~]# mv /lib/tls /lib/tls.bak



Apt-get for Debian

Update the package list:

vps:~# apt-get update
Get:1 http://security.debian.org stable/updates Release.gpg [835B]
Hit http://security.debian.org stable/updates Release
Ign http://security.debian.org stable/updates/main Packages/DiffIndex
Ign http://security.debian.org stable/updates/contrib Packages/DiffIndex
Ign http://security.debian.org stable/updates/non-free Packages/DiffIndex
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/non-free Packages
Get:2 http://ftp.freenet.de stable Release.gpg [1032B]
Hit http://ftp.freenet.de stable Release
Ign http://ftp.freenet.de stable/main Packages/DiffIndex
Ign http://ftp.freenet.de stable/contrib Packages/DiffIndex
Ign http://ftp.freenet.de stable/non-free Packages/DiffIndex
Hit http://ftp.freenet.de stable/main Packages
Hit http://ftp.freenet.de stable/contrib Packages
Hit http://ftp.freenet.de stable/non-free Packages
Fetched 1033B in 2s (481B/s)
Reading package lists... Done

Upgrade any packages as needed:

vps:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  apt apt-utils aptitude dhcp-client dpkg exim4-base exim4-daemon-light gcc-4.1-base libgcc1 libkrb53
  liblocale-gettext-perl libpam-modules libsasl2-2 libstdc++6 libtext-charwidth-perl
  libtext-iconv-perl mailx openssh-client openssh-server pciutils perl-base quota
The following packages will be upgraded:
  base-files gnupg gpgv gzip libc6 libnewt0.52 libssl0.9.8 tzdata wget whiptail
10 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 11.3MB of archives.
After unpacking 1233kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org stable/updates/main gzip 1.3.12-6+lenny1 [103kB]
Get:2 http://security.debian.org stable/updates/main libc6 2.7-18lenny2 [4555kB]
Get:3 http://ftp.freenet.de stable/main base-files 5lenny4 [62.1kB]
Get:4 http://ftp.freenet.de stable/main tzdata 2009l-0lenny1 [768kB]
Get:5 http://security.debian.org stable/updates/main libnewt0.52 0.52.2-11.3+lenny1 [68.6kB]
Get:6 http://security.debian.org stable/updates/main libssl0.9.8 0.9.8g-15+lenny6 [2975kB]
Get:7 http://security.debian.org stable/updates/main wget 1.11.4-2+lenny1 [608kB]
Get:8 http://security.debian.org stable/updates/main whiptail 0.52.2-11.3+lenny1 [35.1kB]
Get:9 http://ftp.freenet.de stable/main gpgv 1.4.9-3+lenny1 [144kB]
Get:10 http://ftp.freenet.de stable/main gnupg 1.4.9-3+lenny1 [1945kB]
Fetched 11.3MB in 12s (901kB/s)
Preconfiguring packages ...
(Reading database ... 8779 files and directories currently installed.)
Preparing to replace base-files 5lenny2 (using .../base-files_5lenny4_i386.deb) ...
Unpacking replacement base-files ...
Setting up base-files (5lenny4) ...
Installing new version of config file /etc/debian_version ...

(Reading database ... 8779 files and directories currently installed.)
Preparing to replace gzip 1.3.12-6 (using .../gzip_1.3.12-6+lenny1_i386.deb) ...
Unpacking replacement gzip ...
Setting up gzip (1.3.12-6+lenny1) ...

(Reading database ... 8779 files and directories currently installed.)
Preparing to replace libc6 2.7-18 (using .../libc6_2.7-18lenny2_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.7-18lenny2) ...

(Reading database ... 8779 files and directories currently installed.)
Preparing to replace tzdata 2008h-2 (using .../tzdata_2009l-0lenny1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2009l-0lenny1) ...

User defined timezone, leaving /etc/localtime unchanged.
Local time is now:      Wed Jan 27 21:17:42 UTC 2010.
Universal Time is now:  Wed Jan 27 21:17:42 UTC 2010.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


(Reading database ... 8785 files and directories currently installed.)
Preparing to replace gpgv 1.4.9-3 (using .../gpgv_1.4.9-3+lenny1_i386.deb) ...
Unpacking replacement gpgv ...
Preparing to replace gnupg 1.4.9-3 (using .../gnupg_1.4.9-3+lenny1_i386.deb) ...
Unpacking replacement gnupg ...
Preparing to replace libnewt0.52 0.52.2-11.3 (using .../libnewt0.52_0.52.2-11.3+lenny1_i386.deb) ...
Unpacking replacement libnewt0.52 ...
Preparing to replace libssl0.9.8 0.9.8g-15+lenny1 (using .../libssl0.9.8_0.9.8g-15+lenny6_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace wget 1.11.4-2 (using .../wget_1.11.4-2+lenny1_i386.deb) ...
Unpacking replacement wget ...
Preparing to replace whiptail 0.52.2-11.3 (using .../whiptail_0.52.2-11.3+lenny1_i386.deb) ...
Unpacking replacement whiptail ...
Setting up gpgv (1.4.9-3+lenny1) ...
Setting up gnupg (1.4.9-3+lenny1) ...
Setting up libnewt0.52 (0.52.2-11.3+lenny1) ...

Setting up libssl0.9.8 (0.9.8g-15+lenny6) ...

Setting up wget (1.11.4-2+lenny1) ...

Setting up whiptail (0.52.2-11.3+lenny1) ...
vps:~#