Hey all, So I've been using these perfect servers for quite sometime now. And one thing I have problems with is updates. Each and every time I do a aptitude safe-upgrade and hit yes, the updates install and upon reboot my whole server is hosed. It will not boot up and I end up having to completely re-install from scratch. So could anyone shed some light on best practices for a production server that needs to be updated. Here is what currently needs to be updated on one of my servers but I'm to afraid to allow it. Code: root@debian-srv:/home/administrator# aptitude safe-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Resolving dependencies... Resolving dependencies... Resolving dependencies... The following NEW packages will be installed: bc{a} linux-headers-2.6.32-36{a} linux-headers-2.6.32-36-generic-pae{a} linux-image-2.6.32-36-generic-pae{a} The following packages will be REMOVED: linux-headers-2.6.32-22{u} linux-headers-2.6.32-22-generic-pae{u} The following packages will be upgraded: apache2 apache2-doc apache2-mpm-prefork apache2-suexec apache2-utils apache2.2-bin apache2.2-common apport apt apt-transport-https apt-utils aptitude at base-files bind9 bind9-host bind9utils binutils bsdutils byobu bzip2 ca-certificates cabextract clamav clamav-base clamav-daemon clamav-docs clamav-freshclam coreutils dhcp3-client dhcp3-common dmsetup dnsutils dpkg dpkg-dev e2fslibs e2fsprogs fuse-utils ghostscript grub-common grub-pc gzip ifupdown imagemagick initscripts landscape-common language-pack-en language-pack-en-base language-selector-common libapache2-mod-fcgid libapache2-mod-php5 libapparmor-perl libapparmor1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libavahi-client3 libavahi-common-data libavahi-common3 libbind9-60 libblkid1 libbz2-1.0 libclamav6 libcups2 libcupsimage2 libcurl3-gnutls libdbus-1-3 libdbus-glib-1-2 libdevmapper-event1.02.1 libdevmapper1.02.1 libdjvulibre-text libdjvulibre21 libdns64 libfreetype6 libfuse2 libgs8 libisc60 libisccc60 libisccfg60 liblcms1 libldap-2.4-2 liblwres60 libmagickcore2 libmagickcore2-extra libmagickwand2 libmysqlclient16 libpam-modules libpam-runtime libpango1.0-0 libpango1.0-common libparted0debian1 libpcsclite1 libplymouth2 libpng12-0 libpq5 libss2 libtiff4 libudev0 libusb-0.1-4 libuuid1 libwww-perl libxfont1 libxml2 linux-firmware linux-generic-pae linux-headers-generic-pae linux-image-2.6.32-22-generic-pae linux-image-generic-pae linux-libc-dev login logrotate lvm2 man-db mount mountall mysql-client mysql-client-5.1 mysql-client-core-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1 ntp ntpdate openssh-client openssh-server openssl parted passwd perl perl-base perl-modules php-pear php5 php5-cgi php5-cli php5-common php5-gd php5-mysql plymouth plymouth-theme-ubuntu-text postfix postfix-doc postfix-mysql python-apport python-apt python-lazr.restfulclient python-problem-report python-smartpm rsync rsyslog screen squirrelmail sudo sysv-rc sysvinit-utils tar tzdata udev update-inetd update-manager-core update-notifier-common upstart ureadahead util-linux uuid-runtime w3m wget xkb-data The following packages are RECOMMENDED but will NOT be installed: dbus 170 packages upgraded, 4 newly installed, 2 to remove and 0 not upgraded. Need to get 185MB of archives. After unpacking 108MB will be used. Do you want to continue? [Y/n/?] n Abort. root@debian-srv:/home/administrator#
In my case I always use LTS versions of Ubuntu, so when I update it never reboots it self after some updates - I do it manualy when I see some new kernel modules being installed. Check your rease-upgrades file from Code: vi /etc/update-manager/release-upgrades and check your prompt Second I never use "aptitude" to update the system -- Code: apt-get update && apt-get upgrade
I as well only use the LTS versions. I'm still not sure if I should do these pending upgrades, and there is a new kernel and grub.....