Remove obsolete packages.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Tue, 15 Oct 2013 08:24:34 +0000 (10:24 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Tue, 15 Oct 2013 08:24:34 +0000 (10:24 +0200)
src/data.sh
src/functions.sh

index 1b421cf..88b9b0a 100644 (file)
@@ -41,7 +41,7 @@ packages_uri='http://ftp.carnet.hr/carnet-debian/dists/carnet-wheezy/main/binary
 # 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
@@ -55,9 +55,7 @@ clamav-cn clamav-daemon
 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
@@ -65,8 +63,6 @@ ntp-cn
 openldap-aai
 openssh-cn openssh-server openssh-client ssh
 ossec-hids-cn
-php4-odbc
-php4-xslt
 pine-cn
 postfix-cn
 spamassassin-cn        spamassassin razor
index a0431a4..8df87cc 100644 (file)
@@ -903,8 +903,9 @@ upgrade_libc () {
 # 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 () {