wiki:LennyToSqueeze

Version 2 (modified by chris, 5 years ago) (diff)

--

This page is to document the upgrade of the DevelopmentServer and the NewLiveServer from Denian lenny to squeeze, this upgrade was tracked on ticket:301.

Following http://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html to upgrade kiwi.

sudo -i
screen
script -t 2>~/upgrade-squeeze1.time -a ~/upgrade-squeeze1.script

Existing state of packages was checked with apt and aptitude:

audacity # a
dpkg --audit
dpkg -l | pager
dpkg --get-selections "*" > ~/curr-pkgs.txt

All the backup scripts were run via ninjahelper.

The following edit was done to /etc/apt/sources.list:

:1,$s/lenny/squeeze/

Then:

apt-get update
apt-get upgrade

...

The following packages have been kept back:
  apache2 apache2-mpm-prefork apache2.2-common apt apt-utils aptitude autoconf automake bash bind9-host
  binutils build-essential cpio cpp cpp-4.3 cron dbus debianutils dhcp3-client dhcp3-common diff
  djvulibre-desktop dnsutils dpkg dpkg-dev e2fsprogs ed findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gettext
  ghostscript gnuit gnupg gpgv grep html2text hwinfo imagemagick info iproute iptables jed jed-common
  libapache2-mod-php5 libapache2-svn libaprutil1 libbluetooth-dev libc6 libc6-dev libcompress-raw-zlib-perl
  libcompress-zlib-perl libcups2 libcupsimage2 libcurl3 libcurl3-gnutls libdate-manip-perl libdbd-mysql-perl
  libdbi-perl libdevmapper1.02.1 libdigest-sha1-perl libdjvulibre21 libedit2 libffi-dev libffi5 libgcc1
  libgdbm-dev libgdbm3 libglib2.0-0 libglib2.0-data libgomp1 libgs8 libgsf-1-114 libgtk2.0-0 libgtk2.0-bin
  libhtml-parser-perl libio-compress-base-perl libio-compress-zlib-perl libkrb53 liblocale-gettext-perl
  libmail-box-perl libneon27-gnutls libpam-modules libpam-runtime libpango1.0-0 libpq5 librrd4 librrds-perl
  librsvg2-2 libsasl2-2 libsqlite3-0 libstdc++6 libstdc++6-4.3-dev libsvn-perl libsvn1 libthai-data libthai0
  libts-0.0-0 libx11-6 libx11-dev libxcb1 libxcb1-dev libxi6 locales lynx lynx-cur m4 man-db memcached munin
  munin-node mutt mysql-server nano ntp openssh-client openssh-server perl perl-base perl-modules php-apc
  php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache
  php5-mysql php5-suhosin phpmyadmin postfix python python-minimal python-pysqlite2 python-subversion python2.5
  python2.5-minimal rdate readline-common rrdtool screen sed sqlite3 subversion sudo sysv-rc udev update-inetd
  util-linux util-linux-locales wget x11-utils xterm
The following packages will be upgraded:
  adduser apache2-utils automake1.4 automake1.9 autotools-dev backupninja base-files base-passwd blt blt-dev
  bsd-mailx bsdmainutils bsdutils bzip2 ca-certificates coreutils curl db4.6-util dbus-x11 debconf debconf-i18n
  debconf-utils debhelper debian-archive-keyring defoma denyhosts dialog dmidecode e2fslibs esmtp file
  fontconfig fontconfig-config gawk gettext-base git git-core groff-base gs-common gsfonts gzip hdparm
  hicolor-icon-theme hostname ifupdown initscripts iputils-ping javascript-common joe less libacl1 libapr1
  libatk1.0-0 libatk1.0-data libattr1 libblkid1 libbz2-1.0 libbz2-dev libcairo2 libcap2 libcomerr2
  libconfig-inifiles-perl libconsole libcroco3 libcwidget3 libdb4.6 libdbus-1-3 libdigest-hmac-perl libdrm2
  libesmtp5 libexpat1 libfile-remove-perl libfontconfig1 libfontenc1 libfreetype6 libgcrypt11 libgd2-xpm
  libgl1-mesa-glx libgmp3c2 libgnutls26 libgpg-error0 libgpm2 libgsf-1-common libgtk2.0-common libhal1
  libhtml-template-perl libhtml-tree-perl libice-dev libice6 libidn11 libilmbase6 libio-multiplex-perl
  libjasper1 libjpeg62 libjs-jquery libkeyutils1 liblcms1 libldap-2.4-2 liblockfile1 libmagic-dev libmagic1
  libmail-sendmail-perl libmailtools-perl libmcrypt4 libmime-lite-perl libmime-types-perl libncurses5
  libncurses5-dev libncursesw5 libncursesw5-dev libnet-cidr-perl libnet-daemon-perl libnet-snmp-perl
  libnewt0.52 libobject-realize-later-perl libopenexr6 libpam0g libpango1.0-common libpaper-utils libpaper1
  libpcre3 libpixman-1-0 libplrpc-perl libpng12-0 libpopt0 libpthread-stubs0 libpthread-stubs0-dev libreadline5
  libreadline5-dev librsync1 libselinux1 libsepol1 libserf-0-0 libsigc++-2.0-0c2a libslang2 libsm-dev libsm6
  libss2 libssh2-1 libssl-dev libssl0.9.8 libsysfs2 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl libtidy-0.99-0 libtiff4 libtimedate-perl libtool liburi-perl libusb-0.1-4
  libuser-identity-perl libuuid1 libwmf0.2-7 libwrap0 libwww-perl libx11-data libxau-dev libxau6 libxaw7
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxdmcp-dev libxdmcp6 libxext6
  libxfixes3 libxfont1 libxft2 libxinerama1 libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxslt1.1
  libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 linux-libc-dev locate login logrotate lsb-base
  lsb-release make makedev manpages mawk mime-support mktemp module-init-tools mount munin-plugins-extra
  mysql-common ncftp ncurses-base ncurses-bin net-tools netbase openssl openssl-blacklist passwd patch
  po-debconf procps psfontmgr psmisc pwgen python-central python-chardet python-dnspython python-genshi
  python-pkg-resources python-pygments python-pylibacl python-pyxattr python-setuptools python-support
  python-tz rdiff-backup rsync rsyslog sgml-base shtool ssh ssl-cert subversion-tools sysvinit sysvinit-utils
  tar tasksel tasksel-data tcl8.4 tcl8.4-dev tcpd tidy tk8.4 tk8.4-dev trac trac-spamfilter traceroute
  ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata ucf unzip vim vim-common vim-runtime vim-tiny vsftpd
  whiptail whois wwwconfig-common x-ttcidfont-conf x11-common x11proto-core-dev x11proto-input-dev
  x11proto-kb-dev xauth xbitmaps xfonts-encodings xfonts-utils xml-core xsltproc xtrans-dev zlib1g zlib1g-dev
277 upgraded, 0 newly installed, 0 to remove and 160 not upgraded.
Need to get 92.0MB of archives.
After this operation, 21.6MB of additional disk space will be used.
Do you want to continue [Y/n]?