Current time: 11-25-2024, 06:52 PM Hello There, Guest! (LoginRegister)


Post Reply 
Upgrade from Etch to Lenny
Author Message
DecIRC Offline
Banned

Posts: 15
Joined: May 2008
Post: #1
Upgrade from Etch to Lenny
I have a server running Debian Etch and ispCP 1.0.0 OMEGA build: 20090225.

I'd like to upgrade it.

I'd like to know if it's better to upgrade first ispCP or the OS.

For the OS upgrade, the following proposal is made
Code:
The following packages will be REMOVED:
  libcurl3-dev libcurl3-openssl-dev libgssapi2 libpci2 libperl5.8 libsasl2 libssp0 linux-kernel-headers proftpd-mysql
The following NEW packages will be installed:
  bind9utils cpp-4.3 db4.6-util expect g++-4.3 gcc-4.3 gcc-4.3-base libbind9-50 libc-client2007b libcap2 libcwidget3 libdb4.5
  libdb4.6 libdevmapper1.02.1 libdns55 libept0 libglib2.0-0 libgmp3c2 libgnutls26 libgomp1 libgpm2 libgsm1 libgssglue1 libisc52
  libisccc50 libisccfg50 libkeyutils1 libldap-2.4-2 liblwres50 libmime-tools-perl libmpfr1ldbl libmpg123-0 libpci3 libperl5.10
  libpq5 libradiusclient-ng2 libsamplerate0 libsnmp15 libsox-fmt-alsa libsox-fmt-base libsox0 libssh2-1 libstdc++6-4.3-dev
  libsys-hostname-long-perl libtalloc1 libustr-1.0-1 libwbclient0 libxapian15 libxcb-xlib0 libxcb1 linux-libc-dev lynx-cur lzma
  netcat-traditional openssl-blacklist proftpd-basic proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql python-sepolgen python2.5
  python2.5-minimal tcl8.4 ttf-dejavu-core ttf-dejavu-extra
The following packages will be upgraded:
  adduser apache2 apache2-mpm-worker apache2-utils apache2.2-common apt apt-utils aptitude awstats base-files base-passwd bash bc
  bind9 bind9-host binutils bsdmainutils bsdutils build-essential busybox bzip2 ca-certificates chkrootkit comerr-dev console-common
  console-data console-tools convmv coreutils courier-authdaemon courier-authlib courier-authlib-userdb courier-base courier-imap
  courier-maildrop courier-pop cpio cpp cpp-4.1 cron dc debconf debconf-i18n debianutils defoma dhcp3-client dhcp3-common
  dictionaries-common diff dmidecode dnsutils doc-debian doc-linux-text dpkg dpkg-dev dselect e2fslibs e2fsprogs ed eject file
  findutils finger fontconfig fontconfig-config fping ftp g++ g++-4.1 gcc gcc-4.1 gcc-4.1-base gettext-base gnupg gpgv grep
  groff-base gzip hellanzb hostname iamerican ibritish ifupdown info initscripts iproute iptables iputils-ping ispell klibc-utils
  klogd laptop-detect less libacl1 libapache2-mod-fastcgi libapache2-mod-fcgid libapr1 libaprutil1 libasound2 libatm1 libattr1
  libaudio2 libberkeleydb-perl libbit-vector-perl libblkid1 libbz2-1.0 libc6 libc6-dev libc6-i686 libcarp-clan-perl libcomerr2
  libconsole libconvert-binhex-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libcurl3 libdate-calc-perl
  libdate-manip-perl libdb4.2 libdbd-mysql-perl libdbi-perl libdigest-hmac-perl libdigest-sha1-perl libedit2 libevent1 libexpat1
  libfam0 libfontconfig1 libfreetype6 libgc1c2 libgcc1 libgcrypt11 libgd2-xpm libgpg-error0 libice6 libidn11 libidn11-dev
  libiksemel-dev libiksemel3 libio-multiplex-perl libio-stringy-perl libjpeg62 libkadm55 libklibc libkrb5-dev libkrb53 liblcms1
  liblocale-gettext-perl liblockfile1 libltdl3 libltdl3-dev libmad0 libmagic1 libmail-sendmail-perl libmailtools-perl libmhash2
  libmime-perl libmysqlclient15off libncurses5 libncurses5-dev libncursesw5 libnet-cidr-perl libnet-dns-perl libnet-libidn-perl
  libnet-netmask-perl libnet-server-perl libnet-smtp-server-perl libnewt0.52 libnfsidmap2 libodbcinstq1c2 libogg-dev libogg0
  libpam-modules libpam-runtime libpam0g libpcre3 libpng12-0 libpopt0 libqt3-mt libradius1 libreadline5 librpcsecgss3 libsasl2-2
  libsasl2-modules libselinux1 libsemanage1 libsensors3 libsepol1 libsigc++-2.0-0c2a libslang2 libsm6 libsnmp-base
  libsnmp-session-perl libspeex-dev libspeex1 libsqlite3-0 libss2 libssl-dev libssl0.9.8 libstdc++6 libstdc++6-4.1-dev libsysfs2
  libt1-5 libtasn1-3 libtasn1-3-bin libterm-readkey-perl libterm-readpassword-perl libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl libtimedate-perl libusb-0.1-4 libuuid1 libvolume-id0 libvorbis-dev libvorbis0a libvorbisenc2 libvorbisfile3
  libwrap0 libx11-6 libx11-data libxau6 libxcursor1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxml2 libxml2-dev
  libxpm4 libxrandr2 libxrender1 libxt6 lilo linuxlogo locales login logrotate lsb-base lsof lynx m4 make makedev man-db manpages
  manpages-de manpages-es manpages-fr manpages-fr-dev manpages-fr-extra manpages-it manpages-pl mawk mbr mime-support mktemp mlock
  module-init-tools mount mpack mpg123 mtools mtr-tiny mysql-client mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
  nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard nano ncurses-base ncurses-bin ncurses-term
  net-tools netbase netcat nload ntpdate odbcinst1debian1 openbsd-inetd openssh-blacklist openssh-client openssh-server openssl
  original-awk oss-compat par2 passwd patch pciutils perl perl-base perl-modules php5-cgi php5-common php5-gd php5-idn php5-imap
  php5-mcrypt php5-mhash php5-mysql pkg-config policycoreutils policyd-weight postfix postgrey procps proftpd psmisc python
  python-central python-minimal python-newt python-selinux python-semanage python-support python-twisted-bin python-twisted-core
  python-twisted-web python-zopeinterface python2.4 python2.4-minimal radiusclient1 readline-common reiser4progs reportbug rkhunter
  rsync samba-common sasl2-bin screen sed sharutils smbclient snmp sox ssh ssl-cert strace sysklogd sysv-rc sysvinit sysvinit-utils
  tar tasksel tasksel-data tcpd telnet texinfo time traceroute ttf-dejavu tzdata ucf udev unixodbc unixodbc-dev unrar update-inetd
  usbutils util-linux vim vim-common vim-runtime vim-tiny w3m wamerican wget whiptail whois x11-common zlib1g zlib1g-dev
380 upgraded, 65 newly installed, 9 to remove and 0 not upgraded.
Need to get 242MB of archives.
After unpacking 134MB of additional disk space will be used.
Do you want to continue [Y/n]?

I always have a stress regarding the package to remove... Is there a risk ?

Thanks for your advice...

Regards
Cedric
08-28-2010 05:13 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Upgrade from Etch to Lenny
1. Make backups!!
2. Upgrade OS first, then ispcp
3. Be *extremely* careful when asked about what to do with new default configuration files (you should manually inspect the differences and add whatever new directives make sense instead of replacing old files with newer directly).
4. Don't forget this step from the update process (after having updated your system to lenny):
Code:
# aptitude update && aptitude safe-upgrade
# aptitude install lsb-release
# aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
This will take care of any missing packages you may have after updating.
5. During the whole upgrade process your services will be down. I recently updated a heavily loaded system (+200 accounts, +1500 mailboxes) from etch/1.0.0 to lenny/1.0.6 and it took me near 4 hours. Assume that it will take some long time, warn your customers about the outage and stay calm, because trying to rush it will probably destroy your system.

Good luck! Smile
08-28-2010 02:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
vanshyr Offline
Junior Member
*

Posts: 33
Joined: Apr 2009
Reputation: 0
Post: #3
RE: Upgrade from Etch to Lenny
Sure you know already, but remember to do the system upgrade by :

apt-get dist-upgrade

and not

apt-get upgrade

Smile
09-03-2010 07:35 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)