# Packages to forcibly install before installing the rest with dist-upgrade,
# because dist-upgrade would rather remove or keep them back them.
packages_first='
-libkrb5-17-heimdal postgresql-client unixodbc iptables oidentd libpam-modules procps base-passwd ifupdown
+postgresql-client unixodbc iptables oidentd libpam-modules procps base-passwd ifupdown
'
# Packages that provide crucial services, upgrade them before the rest
dovecot-cn
freeradius-aai freeradius
isc-dhcp-client
-jre-cn
kernel-2.6-cn
-libkrb5-17-heimdal
monit-cn
munin-cn
mysql-cn mysql-client mysql-server
openldap-aai
openssh-cn openssh-server openssh-client ssh
ossec-hids-cn
-php4-odbc
-php4-xslt
pine-cn
postfix-cn
spamassassin-cn spamassassin razor
# upgrade apache2/php5
upgrade_apache2 () {
pkgrm apache-common # prevents installation of apache2-suexec
+ pkgrm php5-suhosin # not available for wheezy
pkgupgrade libapache2-mod-php5 php5-cli php5-cn apache2-cn \
- php5-odbc php5-suhosin php-suhosin-cn
+ php5-odbc
}
upgrade_amavis () {