Nu verder met de eigenlijke upgrade uitvoeren. Hierbij pas ik de sources.list aan naar lenny nadat ik eerst een backup kopie gemaakt heb:
Arkon:/etc/apt# cp sources.list sources.list.etch
Arkon:/etc/apt# nano sources.list
Vervolgens de pakketlijst vernieuwen:
Arkon:/etc/apt# aptitude update Get:1 http://ftp.nl.debian.org lenny Release.gpg [189B] Get:2 http://ftp.nl.debian.org lenny Release [74.5kB] Get:3 http://security.debian.org lenny/updates Release.gpg [189B] Get:4 http://security.debian.org lenny/updates Release [40.8kB] Get:5 http://ftp.nl.debian.org lenny/main Packages [5306kB] Get:6 http://security.debian.org lenny/updates/main Packages [30.7kB] Fetched 5453kB in 28s (189kB/s) Reading package lists... Done
En dan zijn we bijna zover dat we een upgrade uit kunnen gaan voeren. Als eerste installeer ik handmatig de nieuwe versies voor het pakketbeheer. Het zou toch vervelend zijn als er tijdens een volledige upgrade wat misgaat omdat het pakketbeheer niet uptodate is:
Arkon:~# aptitude install apt dpkg aptitude Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages are BROKEN: libc6 libc6-i686 locales The following NEW packages will be automatically installed: gcc-4.3-base libcwidget3 libept0 libxapian15 lzma The following packages have been kept back: adduser awstats base-files base-passwd bash bsdmainutils bsdutils busybox bzip2 coreutils cpio cron ddclient debconf debconf-i18n debian-archive-keyring debianutils defoma dhcp3-client dhcp3-common dialog diff dovecot-common dovecot-imapd dselect e2fslibs e2fsprogs exif fail2ban file findutils fontconfig-config ftp gcc-4.1-base gnupg gpgv grep groff-base grub gzip hostname ifupdown initramfs-tools initscripts iptables iputils-ping irssi irssi-scripts klibc-utils klogd libacl1 libattr1 libblkid1 libbz2-1.0 libcomerr2 libcompress-zlib-perl libconsole libdb4.2 libdbd-mysql-perl libdbi-perl libedit2 libexif12 libexpat1 libfont-afm-perl libfontconfig1 libfreetype6 libgcc1 libgcrypt11 libgd2-xpm libgeo-ipfree-perl libglib2.0-0 libglib2.0-data libgpg-error0 libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libmailtools-perl libmysqlclient15off libncurses5 libpam-modules libpam-runtime libpam0g libpcre3 libperl5.8 libpng12-0 libpopt0 libreadline5 libsasl2-2 libselinux1 libsensors3 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libsysfs2 libt1-5 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtimedate-perl liburi-perl libusb-0.1-4 libuuid1 libvolume-id0 libwrap0 libwww-perl libx11-6 libx11-data libxau6 libxdmcp6 libxml2 libxpm4 lighttpd linux-image-2.6-486 lm-sensors login logrotate lsb-base lsof lynx mailx makedev man-db manpages mawk mime-support mktemp module-init-tools mount mysql-client-5.0 mysql-common mysql-server-5.0 nano ncurses-base ncurses-bin net-tools netbase ntp ntpdate nvi openbsd-inetd openssh-blacklist openssh-client openssh-server openssl passwd patch perl perl-base perl-modules php5-cgi php5-common php5-gd php5-mysql postfix postfix-mysql procps psmisc pure-ftpd-common pure-ftpd-mysql python python-central python-minimal python2.4 python2.4-minimal readline-common screen sed ssl-cert sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd telnet ttf-dejavu tzdata ucf udev unrar-free unzip update-inetd util-linux wget x11-common zlib1g The following NEW packages will be installed: gcc-4.3-base libcwidget3 libept0 libxapian15 lzma The following packages will be upgraded: apt aptitude dpkg libncursesw5 libstdc++6 The following packages are RECOMMENDED but will NOT be installed: aptitude-doc-cs aptitude-doc-en aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja libgpm2 libparse-debianchangelog-perl 6 packages upgraded, 5 newly installed, 0 to remove and 199 not upgraded. Need to get 14.4MB of archives. After unpacking 9880kB will be used. The following packages have unmet dependencies: libc6-i686: PreDepends: libc6 (= 2.3.6.ds1-13etch8) but 2.7-18 is to be installed. locales: Depends: glibc-2.3.6.ds1-1 which is a virtual package. libc6: Conflicts: tzdata-etch which is a virtual package. Resolving dependencies... The following actions will resolve these dependencies: Install the following packages: libgpm2 [1.20.4-3.1 (testing)] Upgrade the following packages: libc6-i686 [2.3.6.ds1-13etch8 (now) -> 2.7-18 (testing)] locales [2.3.6.ds1-13etch8 (now) -> 2.7-18 (testing)] tzdata [2008e-1etch3 (now) -> 2008h-2 (testing)] Score is -167 Accept this solution? [Y/n/q/?] y The following NEW packages will be automatically installed: gcc-4.3-base libcwidget3 libept0 libgpm2 libxapian15 lzma The following packages have been kept back: adduser awstats base-files base-passwd bash bsdmainutils bsdutils busybox bzip2 coreutils cpio cron ddclient debconf debconf-i18n debian-archive-keyring debianutils defoma dhcp3-client dhcp3-common dialog diff dovecot-common dovecot-imapd dselect e2fslibs e2fsprogs exif fail2ban file findutils fontconfig-config ftp gcc-4.1-base gnupg gpgv grep groff-base grub gzip hostname ifupdown initramfs-tools initscripts iptables iputils-ping irssi irssi-scripts klibc-utils klogd libacl1 libattr1 libblkid1 libbz2-1.0 libcomerr2 libcompress-zlib-perl libconsole libdb4.2 libdbd-mysql-perl libdbi-perl libedit2 libexif12 libexpat1 libfont-afm-perl libfontconfig1 libfreetype6 libgcc1 libgcrypt11 libgd2-xpm libgeo-ipfree-perl libglib2.0-0 libglib2.0-data libgpg-error0 libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libmailtools-perl libmysqlclient15off libncurses5 libpam-modules libpam-runtime libpam0g libpcre3 libperl5.8 libpng12-0 libpopt0 libreadline5 libsasl2-2 libselinux1 libsensors3 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libsysfs2 libt1-5 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtimedate-perl liburi-perl libusb-0.1-4 libuuid1 libvolume-id0 libwrap0 libwww-perl libx11-6 libx11-data libxau6 libxdmcp6 libxml2 libxpm4 lighttpd linux-image-2.6-486 lm-sensors login logrotate lsb-base lsof lynx mailx makedev man-db manpages mawk mime-support mktemp module-init-tools mount mysql-client-5.0 mysql-common mysql-server-5.0 nano ncurses-base ncurses-bin net-tools netbase ntp ntpdate nvi openbsd-inetd openssh-blacklist openssh-client openssh-server openssl passwd patch perl perl-base perl-modules php5-cgi php5-common php5-gd php5-mysql postfix postfix-mysql procps psmisc pure-ftpd-common pure-ftpd-mysql python python-central python-minimal python2.4 python2.4-minimal readline-common screen sed ssl-cert sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd telnet ttf-dejavu ucf udev unrar-free unzip update-inetd util-linux wget x11-common zlib1g The following NEW packages will be installed: gcc-4.3-base libcwidget3 libept0 libgpm2 libxapian15 lzma The following packages will be upgraded: apt aptitude dpkg libc6 libc6-i686 libncursesw5 libstdc++6 locales tzdata The following packages are RECOMMENDED but will NOT be installed: aptitude-doc-cs aptitude-doc-en aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja libparse-debianchangelog-perl 9 packages upgraded, 6 newly installed, 0 to remove and 196 not upgraded. Need to get 21.0MB of archives. After unpacking 12.7MB will be used. Do you want to continue? [Y/n/?]
Dit accepteer ik waarna deze pakketen opgewaardeerd worden.