spamassassin / spamc update, now Virtualmin hosed

Today after updating Virtualmin and Webmin the system had a number of other Virtualmin related updates, of which were Spamassassin and Spamc.

I selected those two components to install, which they did (see out put below) - however Spamassassin in particular had some issues.

After the updates I logged back into Virtualmin and in the right frame get:

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Thu, 22 Oct 2009 21:26:32 GMT Content-type: text/html Connection: close Error - Perl execution failed

Can't locate timelocal.pl in @INC (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/webmin/virtual-server/virtual-server-lib-funcs.pl line 8768.

In the left frame, after the server list this:

Require apache/apache-lib.pl failed :

Can't locate File/Glob.pm in @INC (@INC contains: /usr/share/webmin/apache /usr/share/webmin/virtualmin-htpasswd /usr/share/webmin /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . .. ..) at /usr/share/webmin/apache/apache-lib.pl line 441. BEGIN failed--compilation aborted at /usr/share/webmin/apache/apache-lib.pl line 441.

<- Return to previous page

The system is still serving webpages and email, but cannot be administered through the Webmin login, Usermin fails as well.

Here's the output from the install:

Now updating spamassassin ..

  Installing package(s) with command apt-get -y install spamassassin ..

  Reading package lists...
  Building dependency tree...
  The following extra packages will be installed:
    apt apt-utils aptitude binutils bzip2 debhelper dpkg dpkg-dev elinks-data
    gcc-4.3-base libauthen-pam-perl libberkeleydb-perl libbz2-1.0 libc6
    libc6-dev libc6-i686 libcrypt-ssleay-perl libcwidget3 libdb4.6
    libdbd-mysql-perl libdbd-pg-perl libdbi-perl libdigest-sha1-perl libept0
    libfsplib0 libgcrypt11 libgnutls26 libgpm2 libhtml-parser-perl
    libio-compress-base-perl libio-pty-perl libkadm55 libkeyutils1 libkrb5-dev
    libkrb53 libldap-2.4-2 liblocale-gettext-perl libncursesw5 libnet-dns-perl
    libnet-ssleay-perl libpam0g libperl5.10 libpg-perl libpq5 libsocket6-perl
    libssl-dev libssl0.9.8 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
    libtimedate-perl libxapian15 libxml-libxml-common-perl libxml-libxml-perl
    linux-libc-dev locales lzma man-db perl perl-base perl-modules tasksel
    tzdata
  Suggested packages:
    apt-doc python-apt debtags binutils-doc bzip2-doc dh-make debian-keyring
    glibc-doc manpages-dev libcwidget-dev dbishell rng-tools gnutls-bin gpm
    krb5-doc krb5-user libpam-doc xapian-tools groff perl-doc
    libterm-readline-gnu-perl libterm-readline-perl-perl razor libnet-ident-perl
    libio-socket-ssl-perl pyzor libmail-dkim-perl
  Recommended packages:
    aptitude-doc-en aptitude-doc libparse-debianchangelog-perl libmail-spf-perl
    re2c libsys-syslog-perl libio-socket-inet6-perl
  The following packages will be REMOVED:
    elinks libarchive-tar-perl libcompress-zlib-perl libio-zlib-perl libperl5.8
    links-ssl linux-kernel-headers
  The following NEW packages will be installed:
    bzip2 elinks-data gcc-4.3-base libcwidget3 libdb4.6 libept0 libfsplib0
    libgnutls26 libgpm2 libio-compress-base-perl libkeyutils1 libldap-2.4-2
    libperl5.10 libpq5 libtimedate-perl libxapian15 linux-libc-dev lzma
  The following packages will be upgraded:
    apt apt-utils aptitude binutils debhelper dpkg dpkg-dev libauthen-pam-perl
    libberkeleydb-perl libbz2-1.0 libc6 libc6-dev libc6-i686
    libcrypt-ssleay-perl libdbd-mysql-perl libdbd-pg-perl libdbi-perl
    libdigest-sha1-perl libgcrypt11 libhtml-parser-perl libio-pty-perl libkadm55
    libkrb5-dev libkrb53 liblocale-gettext-perl libncursesw5 libnet-dns-perl
    libnet-ssleay-perl libpam0g libpg-perl libsocket6-perl libssl-dev
    libssl0.9.8 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
    libxml-libxml-common-perl libxml-libxml-perl locales man-db perl perl-base
    perl-modules spamassassin tasksel tzdata
  46 upgraded, 18 newly installed, 7 to remove and 322 not upgraded.
  Need to get 52.0MB of archives.
  After unpacking 18.7MB of additional disk space will be used.
  Get:1 http://http.us.debian.org stable/main tzdata 2009l-0lenny1 [768kB]
  Get:2 http://http.us.debian.org stable/main linux-libc-dev 2.6.26-19 [749kB]
  Get:3 http://http.us.debian.org stable/main binutils 2.18.1~cvs20080103-7 [2686kB]
  Get:4 http://http.us.debian.org stable/main libc6-dev 2.7-18 [3377kB]
  Get:5 http://http.us.debian.org stable/main locales 2.7-18 [4492kB]
  Get:6 http://http.us.debian.org stable/main libc6 2.7-18 [4438kB]
  Get:7 http://http.us.debian.org stable/main libc6-i686 2.7-18 [1265kB]
  Get:8 http://http.us.debian.org stable/main gcc-4.3-base 4.3.2-1.1 [103kB]
  Get:9 http://http.us.debian.org stable/main libstdc++6 4.3.2-1.1 [332kB]
  Get:10 http://http.us.debian.org stable/main lzma 4.43-14 [57.5kB]
  Get:11 http://http.us.debian.org stable/main libncursesw5 5.7+20081213-1 [360kB]
  Get:12 http://http.us.debian.org stable/main libcwidget3 0.5.12-4 [302kB]
  Get:13 http://http.us.debian.org stable/main libxapian15 1.0.7-4 [789kB]
  Get:14 http://http.us.debian.org stable/main libept0 0.5.22 [1035kB]
  Get:15 http://http.us.debian.org stable/main aptitude 0.4.11.11-1~lenny1 [3038kB]
  Get:16 http://http.us.debian.org stable/main libdb4.6 4.6.21-11 [573kB]
  Get:17 http://http.us.debian.org stable/main apt-utils 0.7.20.2+lenny1 [188kB]
  Get:18 http://http.us.debian.org stable/main apt 0.7.20.2+lenny1 [1639kB]
  Get:19 http://http.us.debian.org stable/main libbz2-1.0 1.0.5-1 [44.9kB]
  Get:20 http://http.us.debian.org stable/main bzip2 1.0.5-1 [45.6kB]
  Get:21 http://http.us.debian.org stable/main libtimedate-perl 1.1600-9 [32.9kB]
  Get:22 http://http.us.debian.org stable/main spamassassin 3.2.5-2+lenny1 [1100kB]
  Get:23 http://http.us.debian.org stable/main perl-modules 5.10.0-19lenny2 [3198kB]
  Get:24 http://http.us.debian.org stable/main dpkg-dev 1.14.25 [765kB]
  Get:25 http://http.us.debian.org stable/main dpkg 1.14.25 [2348kB]
  Get:26 http://http.us.debian.org stable/main libxml-libxml-common-perl 0.13-6+b1 [14.2kB]
  Get:27 http://http.us.debian.org stable/main libxml-libxml-perl 1.66-1+b1 [344kB]
  Get:28 http://http.us.debian.org stable/main libtext-iconv-perl 1.7-1+b1 [16.9kB]
  Get:29 http://http.us.debian.org stable/main libtext-charwidth-perl 0.04-5+b1 [11.6kB]
  Get:30 http://http.us.debian.org stable/main libsocket6-perl 0.20-1 [27.3kB]
  Get:31 http://http.us.debian.org stable/main libkeyutils1 1.2-9 [5584B]
  Get:32 http://http.us.debian.org stable/main libkrb5-dev 1.6.dfsg.4~beta1-5lenny1 [92.5kB]
  Get:33 http://http.us.debian.org stable/main libkadm55 1.6.dfsg.4~beta1-5lenny1 [154kB]
  Get:34 http://http.us.debian.org stable/main libkrb53 1.6.dfsg.4~beta1-5lenny1 [481kB]
  Get:35 http://http.us.debian.org stable/main libgcrypt11 1.4.1-1 [242kB]
  Get:36 http://http.us.debian.org stable/main libgnutls26 2.4.2-6+lenny1 [457kB]
  Get:37 http://http.us.debian.org stable/main libldap-2.4-2 2.4.11-1 [188kB]
  Get:38 http://http.us.debian.org stable/main libssl-dev 0.9.8g-15+lenny3 [2108kB]
  Get:39 http://http.us.debian.org stable/main libssl0.9.8 0.9.8g-15+lenny3 [2977kB]
  Get:40 http://http.us.debian.org stable/main libpq5 8.3.7-0lenny1 [363kB]
  Get:41 http://http.us.debian.org stable/main libpg-perl 1:2.1.1-4 [56.6kB]
  Get:42 http://http.us.debian.org stable/main libnet-dns-perl 0.63-2 [268kB]
  Get:43 http://http.us.debian.org stable/main libio-pty-perl 1:1.07-1+b1 [40.7kB]
  Get:44 http://http.us.debian.org stable/main libhtml-parser-perl 3.56-1+b1 [109kB]
  Get:45 http://http.us.debian.org stable/main libdigest-sha1-perl 2.11-2+b1 [24.6kB]
  Get:46 http://http.us.debian.org stable/main libdbi-perl 1.605-1 [787kB]
  Get:47 http://http.us.debian.org stable/main libdbd-pg-perl 2.8.7-1 [185kB]
  Get:48 http://http.us.debian.org stable/main libdbd-mysql-perl 4.007-1 [138kB]
  Get:49 http://http.us.debian.org stable/main libberkeleydb-perl 0.34-1+b1 [144kB]
  Get:50 http://http.us.debian.org stable/main libnet-ssleay-perl 1.35-1 [206kB]
  Get:51 http://http.us.debian.org stable/main perl 5.10.0-19lenny2 [4549kB]
  Get:52 http://http.us.debian.org stable/main libcrypt-ssleay-perl 0.57-1+b1 [56.9kB]
  Get:53 http://http.us.debian.org stable/main libpam0g 1.0.1-5+lenny1 [104kB]
  Get:54 http://http.us.debian.org stable/main libauthen-pam-perl 0.16-1.1+b1 [32.9kB]
  Get:55 http://http.us.debian.org stable/main perl-base 5.10.0-19lenny2 [969kB]
  Get:56 http://http.us.debian.org stable/main liblocale-gettext-perl 1.05-4 [21.0kB]
  Get:57 http://http.us.debian.org stable/main man-db 2.5.2-4 [1049kB]
  Get:58 http://http.us.debian.org stable/main tasksel 2.78 [83.4kB]
  Get:59 http://http.us.debian.org stable/main libgpm2 1.20.4-3.1 [33.8kB]
  Get:60 http://http.us.debian.org stable/main debhelper 7.0.15 [554kB]
  Get:61 http://http.us.debian.org stable/main elinks-data 0.11.4-3 [653kB]
  Get:62 http://http.us.debian.org stable/main libfsplib0 0.9-1 [11.1kB]
  Get:63 http://http.us.debian.org stable/main libio-compress-base-perl 2.012-1 [59.4kB]
  Get:64 http://http.us.debian.org stable/main libperl5.10 5.10.0-19lenny2 [623kB]

  Extracting templates from packages: 46%
  Extracting templates from packages: 93%
  Extracting templates from packages: 100%
  Preconfiguring packages ...
  Fetched 52.0MB in 10m36s (81.7kB/s)
  (Reading database ... 73952 files and directories currently installed.)
  Removing links-ssl ...
  Removing elinks ...
  (Reading database ... 73832 files and directories currently installed.)
  Preparing to replace tzdata 2008e-1etch3 (using .../tzdata_2009l-0lenny1_all.deb) ...
  Unpacking replacement tzdata ...
  Replacing files in old package libc6 ...
  Setting up tzdata (2009l-0lenny1) ...

  Current default timezone: 'America/Los_Angeles'
  Local time is now:      Thu Oct 22 12:57:59 PDT 2009.
  Universal Time is now:  Thu Oct 22 19:57:59 UTC 2009.
  Run 'dpkg-reconfigure tzdata' if you wish to change it.


  dpkg: linux-kernel-headers: dependency problems, but removing anyway as you request:
   libc6-dev depends on linux-kernel-headers.
  (Reading database ... 73835 files and directories currently installed.)
  Removing linux-kernel-headers ...
  Selecting previously deselected package linux-libc-dev.
  (Reading database ... 72114 files and directories currently installed.)
  Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.26-19_i386.deb) ...
  Preparing to replace binutils 2.17-3 (using .../binutils_2.18.1~cvs20080103-7_i386.deb) ...
  Unpacking replacement binutils ...
  Preparing to replace libc6-dev 2.3.6.ds1-13etch7 (using .../libc6-dev_2.7-18_i386.deb) ...
  Unpacking replacement libc6-dev ...
  Preparing to replace locales 2.3.6.ds1-13etch7 (using .../locales_2.7-18_all.deb) ...
  Unpacking replacement locales ...
  Preparing to replace libc6 2.3.6.ds1-13etch7 (using .../archives/libc6_2.7-18_i386.deb) ...
  Checking for services that may need to be restarted...
  Checking init scripts...
  WARNING: init script for postgresql not found.
  Unpacking replacement libc6 ...
  Setting up libc6 (2.7-18) ...
  Installing new version of config file /etc/init.d/glibc.sh ...
  Checking for services that may need to be restarted...
  Checking init scripts...

  Restarting services possibly affected by the upgrade:
    webmin: stopping...starting...done.
    spamassassin: stopping...starting...done.
    ssh: stopping...starting...done.
    saslauthd: stopping...starting...done.
    postfix: stopping...starting...done.
    openbsd-inetd: stopping...starting...done.
    dovecot: stopping...starting...done.
    cron: stopping...starting...done.
    atd: stopping...starting...done.

  Services restarted successfully.

  (Reading database ... 72809 files and directories currently installed.)
  Preparing to replace libc6-i686 2.3.6.ds1-13etch7 (using .../libc6-i686_2.7-18_i386.deb) ...
  Unpacking replacement libc6-i686 ...
  Selecting previously deselected package gcc-4.3-base.
  Unpacking gcc-4.3-base (from .../gcc-4.3-base_4.3.2-1.1_i386.deb) ...
  Preparing to replace libstdc++6 4.1.1-21 (using .../libstdc++6_4.3.2-1.1_i386.deb) ...
  Unpacking replacement libstdc++6 ...
  Setting up gcc-4.3-base (4.3.2-1.1) ...

  Setting up libstdc++6 (4.3.2-1.1) ...

  Selecting previously deselected package lzma.
  (Reading database ... 72817 files and directories currently installed.)
  Unpacking lzma (from .../archives/lzma_4.43-14_i386.deb) ...
  Setting up lzma (4.43-14) ...
  (Reading database ... 72827 files and directories currently installed.)
  Preparing to replace libncursesw5 5.5-5 (using .../libncursesw5_5.7+20081213-1_i386.deb) ...
  Unpacking replacement libncursesw5 ...
  Selecting previously deselected package libcwidget3.
  Unpacking libcwidget3 (from .../libcwidget3_0.5.12-4_i386.deb) ...
  Selecting previously deselected package libxapian15.
  Unpacking libxapian15 (from .../libxapian15_1.0.7-4_i386.deb) ...
  Selecting previously deselected package libept0.
  Unpacking libept0 (from .../libept0_0.5.22_i386.deb) ...
  Preparing to replace aptitude 0.4.4-4 (using .../aptitude_0.4.11.11-1~lenny1_i386.deb) ...
  Unpacking replacement aptitude ...
  Selecting previously deselected package libdb4.6.
  Unpacking libdb4.6 (from .../libdb4.6_4.6.21-11_i386.deb) ...
  Preparing to replace apt-utils 0.6.46.4-0.1 (using .../apt-utils_0.7.20.2+lenny1_i386.deb) ...
  Unpacking replacement apt-utils ...
  Preparing to replace apt 0.6.46.4-0.1 (using .../apt_0.7.20.2+lenny1_i386.deb) ...
  Unpacking replacement apt ...
  Setting up apt (0.7.20.2+lenny1) ...
  Installing new version of config file /etc/cron.daily/apt ...
  gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed
  gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed
  gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
  gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
  gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
  gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
  gpg: Total number processed: 6
  gpg:              unchanged: 6

  (Reading database ... 72935 files and directories currently installed.)
  Preparing to replace libbz2-1.0 1.0.3-6 (using .../libbz2-1.0_1.0.5-1_i386.deb) ...
  Unpacking replacement libbz2-1.0 ...
  Selecting previously deselected package bzip2.
  Unpacking bzip2 (from .../bzip2_1.0.5-1_i386.deb) ...
  Selecting previously deselected package libtimedate-perl.
  Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-9_all.deb) ...
  Preparing to replace spamassassin 3.2.3-0.volatile1 (using .../spamassassin_3.2.5-2+lenny1_all.deb) ...
  SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
  Removing obsolete conffile /etc/logcheck/ignore.d.paranoid/spamassassin ...
  Removing obsolete conffile /etc/logcheck/violations.ignore.d/spamassassin ...
  Unpacking replacement spamassassin ...
  (Reading database ... 72999 files and directories currently installed.)
  Removing libarchive-tar-perl ...
  Removing libio-zlib-perl ...
  (Reading database ... 72981 files and directories currently installed.)
  Preparing to replace perl-modules 5.8.8-7etch6 (using .../perl-modules_5.10.0-19lenny2_all.deb) ...
  Unpacking replacement perl-modules ...
  Preparing to replace dpkg-dev 1.13.25 (using .../dpkg-dev_1.14.25_all.deb) ...
  Unpacking replacement dpkg-dev ...
  Preparing to replace dpkg 1.13.25 (using .../archives/dpkg_1.14.25_i386.deb) ...
  Unpacking replacement dpkg ...
  Setting up dpkg (1.14.25) ...
  Installing new version of config file /etc/dpkg/dpkg.cfg ...
  (Reading database ... 72834 files and directories currently installed.)
  Removing libperl5.8 ...
  (Reading database ... 72835 files and directories currently installed.)
  Preparing to replace libxml-libxml-common-perl 0.13-5 (using .../libxml-libxml-common-perl_0.13-6+b1_i386.deb) ...
  Unpacking replacement libxml-libxml-common-perl ...
  Preparing to replace libxml-libxml-perl 1.59-2 (using .../libxml-libxml-perl_1.66-1+b1_i386.deb) ...
  Can't locate File/Basename.pm in @INC (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/XML/SAX.pm line 15.
  BEGIN failed--compilation aborted at /usr/share/perl5/XML/SAX.pm line 15.
  Compilation failed in require at /usr/bin/update-perl-sax-parsers line 20.
  BEGIN failed--compilation aborted at /usr/bin/update-perl-sax-parsers line 20.
  dpkg: warning - old pre-removal script returned error exit status 2
  dpkg - trying script from the new package instead ...
  dpkg: ... it looks like that went OK.
  Unpacking replacement libxml-libxml-perl ...
  Preparing to replace libtext-iconv-perl 1.4-3 (using .../libtext-iconv-perl_1.7-1+b1_i386.deb) ...
  Unpacking replacement libtext-iconv-perl ...
  Preparing to replace libtext-charwidth-perl 0.04-4 (using .../libtext-charwidth-perl_0.04-5+b1_i386.deb) ...
  Unpacking replacement libtext-charwidth-perl ...
  Preparing to replace libsocket6-perl 0.19-1 (using .../libsocket6-perl_0.20-1_i386.deb) ...
  Unpacking replacement libsocket6-perl ...
  Selecting previously deselected package libkeyutils1.
  Unpacking libkeyutils1 (from .../libkeyutils1_1.2-9_i386.deb) ...
  Preparing to replace libkrb5-dev 1.4.4-7etch6 (using .../libkrb5-dev_1.6.dfsg.4~beta1-5lenny1_i386.deb) ...
  Unpacking replacement libkrb5-dev ...
  Preparing to replace libkadm55 1.4.4-7etch6 (using .../libkadm55_1.6.dfsg.4~beta1-5lenny1_i386.deb) ...
  Unpacking replacement libkadm55 ...
  Preparing to replace libkrb53 1.4.4-7etch6 (using .../libkrb53_1.6.dfsg.4~beta1-5lenny1_i386.deb) ...
  Unpacking replacement libkrb53 ...
  Preparing to replace libgcrypt11 1.2.3-2 (using .../libgcrypt11_1.4.1-1_i386.deb) ...
  Unpacking replacement libgcrypt11 ...
  Selecting previously deselected package libgnutls26.
  Unpacking libgnutls26 (from .../libgnutls26_2.4.2-6+lenny1_i386.deb) ...
  Selecting previously deselected package libldap-2.4-2.
  Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.11-1_i386.deb) ...
  Replacing files in old package libldap2 ...
  Preparing to replace libssl-dev 0.9.8c-4etch3 (using .../libssl-dev_0.9.8g-15+lenny3_i386.deb) ...
  Unpacking replacement libssl-dev ...
  Preparing to replace libssl0.9.8 0.9.8c-4etch3 (using .../libssl0.9.8_0.9.8g-15+lenny3_i386.deb) ...
  Unpacking replacement libssl0.9.8 ...
  Selecting previously deselected package libpq5.
  Unpacking libpq5 (from .../libpq5_8.3.7-0lenny1_i386.deb) ...
  Preparing to replace libpg-perl 1:2.1.1-3 (using .../libpg-perl_1%3a2.1.1-4_i386.deb) ...
  Unpacking replacement libpg-perl ...
  Preparing to replace libnet-dns-perl 0.59-1etch1 (using .../libnet-dns-perl_0.63-2_i386.deb) ...
  Unpacking replacement libnet-dns-perl ...
  Preparing to replace libio-pty-perl 1:1.05-2 (using .../libio-pty-perl_1%3a1.07-1+b1_i386.deb) ...
  Unpacking replacement libio-pty-perl ...
  Preparing to replace libhtml-parser-perl 3.55-1 (using .../libhtml-parser-perl_3.56-1+b1_i386.deb) ...
  Unpacking replacement libhtml-parser-perl ...
  Preparing to replace libdigest-sha1-perl 2.11-1 (using .../libdigest-sha1-perl_2.11-2+b1_i386.deb) ...
  Unpacking replacement libdigest-sha1-perl ...
  Preparing to replace libdbi-perl 1.53-1etch1 (using .../libdbi-perl_1.605-1_i386.deb) ...
  Unpacking replacement libdbi-perl ...
  Preparing to replace libdbd-pg-perl 1.49-2 (using .../libdbd-pg-perl_2.8.7-1_i386.deb) ...
  Unpacking replacement libdbd-pg-perl ...
  Selecting previously deselected package libdbd-mysql-perl.
  Preparing to replace libdbd-mysql-perl 3.0008-1 (using .../libdbd-mysql-perl_4.007-1_i386.deb) ...
  Unpacking replacement libdbd-mysql-perl ...
  (Reading database ... 72958 files and directories currently installed.)
  Removing libcompress-zlib-perl ...
  (Reading database ... 72942 files and directories currently installed.)
  Preparing to replace libberkeleydb-perl 0.31-1 (using .../libberkeleydb-perl_0.34-1+b1_i386.deb) ...
  Unpacking replacement libberkeleydb-perl ...
  Preparing to replace libnet-ssleay-perl 1.30-1 (using .../libnet-ssleay-perl_1.35-1_i386.deb) ...
  Unpacking replacement libnet-ssleay-perl ...
  Preparing to replace perl 5.8.8-7etch6 (using .../perl_5.10.0-19lenny2_i386.deb) ...
  Unpacking replacement perl ...
  Preparing to replace libcrypt-ssleay-perl 0.51-5 (using .../libcrypt-ssleay-perl_0.57-1+b1_i386.deb) ...
  Unpacking replacement libcrypt-ssleay-perl ...
  Preparing to replace libpam0g 0.79-5 (using .../libpam0g_1.0.1-5+lenny1_i386.deb) ...
  Unpacking replacement libpam0g ...
  Setting up libpam0g (1.0.1-5+lenny1) ...
  Checking for services that may need to be restarted...Checking init scripts...

  Restarting services possibly affected by the upgrade:
    saslauthd: stopping...starting...done.
    proftpd: stopping...starting...done.
    postgresql-7.4: stopping...starting...done.
    dovecot: stopping...starting...done.
    cron: stopping...starting...done.
    atd: stopping...starting...done.

  Services restarted successfully.

  (Reading database ... 72598 files and directories currently installed.)
  Preparing to replace libauthen-pam-perl 0.16-1 (using .../libauthen-pam-perl_0.16-1.1+b1_i386.deb) ...
  Unpacking replacement libauthen-pam-perl ...
  Preparing to replace perl-base 5.8.8-7etch6 (using .../perl-base_5.10.0-19lenny2_i386.deb) ...
  Unpacking replacement perl-base ...
  Setting up perl-base (5.10.0-19lenny2) ...
  (Reading database ... 73054 files and directories currently installed.)
  Preparing to replace liblocale-gettext-perl 1.05-1 (using .../liblocale-gettext-perl_1.05-4_i386.deb) ...
  Unpacking replacement liblocale-gettext-perl ...
  Preparing to replace man-db 2.4.3-6 (using .../man-db_2.5.2-4_i386.deb) ...
  Unpacking replacement man-db ...
  Preparing to replace tasksel 2.66 (using .../archives/tasksel_2.78_all.deb) ...
  Unpacking replacement tasksel ...
  Selecting previously deselected package libgpm2.
  Unpacking libgpm2 (from .../libgpm2_1.20.4-3.1_i386.deb) ...
  Preparing to replace debhelper 5.0.42 (using .../debhelper_7.0.15_all.deb) ...
  Unpacking replacement debhelper ...
  Selecting previously deselected package elinks-data.
  Unpacking elinks-data (from .../elinks-data_0.11.4-3_all.deb) ...
  Selecting previously deselected package libfsplib0.
  Unpacking libfsplib0 (from .../libfsplib0_0.9-1_i386.deb) ...
  Selecting previously deselected package libio-compress-base-perl.
  Unpacking libio-compress-base-perl (from .../libio-compress-base-perl_2.012-1_all.deb) ...
  Selecting previously deselected package libperl5.10.
  Unpacking libperl5.10 (from .../libperl5.10_5.10.0-19lenny2_i386.deb) ...
  Setting up linux-libc-dev (2.6.26-19) ...
  Setting up binutils (2.18.1~cvs20080103-7) ...
  Setting up libc6-dev (2.7-18) ...
  Setting up locales (2.7-18) ...
  Generating locales (this might take a while)...
    en_US.UTF-8... done
  Generation complete.
  Setting up libc6-i686 (2.7-18) ...
  Setting up libncursesw5 (5.7+20081213-1) ...
  Setting up libcwidget3 (0.5.12-4) ...
  Setting up libxapian15 (1.0.7-4) ...
  Setting up libept0 (0.5.22) ...
  Setting up aptitude (0.4.11.11-1~lenny1) ...
  Setting up libdb4.6 (4.6.21-11) ...
  Setting up apt-utils (0.7.20.2+lenny1) ...
  Setting up libbz2-1.0 (1.0.5-1) ...
  Setting up bzip2 (1.0.5-1) ...
  Setting up libtext-iconv-perl (1.7-1+b1) ...
  Setting up libtext-charwidth-perl (0.04-5+b1) ...
  Setting up libkeyutils1 (1.2-9) ...
  Setting up libkrb53 (1.6.dfsg.4~beta1-5lenny1) ...
  Setting up libkadm55 (1.6.dfsg.4~beta1-5lenny1) ...
  Setting up libkrb5-dev (1.6.dfsg.4~beta1-5lenny1) ...
  Setting up libgcrypt11 (1.4.1-1) ...
  Setting up libgnutls26 (2.4.2-6+lenny1) ...
  Setting up libldap-2.4-2 (2.4.11-1) ...
  Installing new version of config file /etc/ldap/ldap.conf ...
  Setting up libssl0.9.8 (0.9.8g-15+lenny3) ...
  Setting up libssl-dev (0.9.8g-15+lenny3) ...
  Setting up libpq5 (8.3.7-0lenny1) ...
  Setting up liblocale-gettext-perl (1.05-4) ...
  Setting up man-db (2.5.2-4) ...
  Installing new version of config file /etc/cron.daily/man-db ...
  Installing new version of config file /etc/manpath.config ...
  Installing new version of config file /etc/cron.weekly/man-db ...
  Updating database of manual pages ...
  Setting up tasksel (2.78) ...
  Setting up libgpm2 (1.20.4-3.1) ...
  Setting up elinks-data (0.11.4-3) ...
  Setting up libfsplib0 (0.9-1) ...
  Setting up libperl5.10 (5.10.0-19lenny2) ...
  Setting up perl-modules (5.10.0-19lenny2) ...
  Setting up perl (5.10.0-19lenny2) ...
  Setting up libtimedate-perl (1.1600-9) ...
  Setting up libhtml-parser-perl (3.56-1+b1) ...
  Setting up libdigest-sha1-perl (2.11-2+b1) ...
  Setting up libsocket6-perl (0.20-1) ...
  Setting up libnet-dns-perl (0.63-2) ...
  Setting up spamassassin (3.2.5-2+lenny1) ...
  Installing new version of config file /etc/cron.daily/spamassassin ...
  Installing new version of config file /etc/init.d/spamassassin ...
  SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
  Setting up dpkg-dev (1.14.25) ...
  Setting up libxml-libxml-common-perl (0.13-6+b1) ...
  Setting up libxml-libxml-perl (1.66-1+b1) ...
  Warning: XML::LibXML compiled against libxml2 20632, but runtime libxml2 is older 20627
  update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX::Parser...
  Warning: XML::LibXML compiled against libxml2 20632, but runtime libxml2 is older 20627
  update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX...
  update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
  Setting up libpg-perl (1:2.1.1-4) ...
  Setting up libio-pty-perl (1:1.07-1+b1) ...
  Setting up libdbi-perl (1.605-1) ...
  Setting up libdbd-pg-perl (2.8.7-1) ...
  Setting up libdbd-mysql-perl (4.007-1) ...
  Setting up libberkeleydb-perl (0.34-1+b1) ...
  Setting up libnet-ssleay-perl (1.35-1) ...
  Setting up libcrypt-ssleay-perl (0.57-1+b1) ...
  Setting up libauthen-pam-perl (0.16-1.1+b1) ...
  Setting up debhelper (7.0.15) ...
  Setting up libio-compress-base-perl (2.012-1) ...

  .. install complete.

Now updating spamc ..

  Installing package(s) with command apt-get -y install spamc ..

  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    spamc
  1 upgraded, 0 newly installed, 0 to remove and 321 not upgraded.
  Need to get 72.6kB of archives.
  After this operation, 8192B disk space will be freed.
  Get:1 http://http.us.debian.org stable/main spamc 3.2.5-2+lenny1 [72.6kB]
  Fetched 72.6kB in 2s (35.1kB/s)
  (Reading database ... 73236 files and directories currently installed.)
  Preparing to replace spamc 3.2.3-0.volatile1 (using .../spamc_3.2.5-2+lenny1_i386.deb) ...
  Unpacking replacement spamc ...
  Processing triggers for man-db ...
  Setting up spamc (3.2.5-2+lenny1) ...

  .. install complete.

Successfully installed 65 packages.

<- Return to package list

Any help would be very appreciated.

Chris

Status: 
Closed (fixed)

Comments

Joe's picture
Submitted by Joe on Thu, 10/22/2009 - 17:00 Pro Licensee

I think your problem is not at all related to spamassassin, but that you have multiple Perl versions installed; the one in /usr/local is not the OS-standard Perl version. I'm guessing the /usr/local/perl install is either broken or is some sort of minimal install that is missing a lot of vital core modules.

I'm not sure how to reconfigure Webmin to use the system standard perl rather than the broken one in /usr/local (Webmin decides on Perl version during install, and modifies the perl path on top of all of its files; hundreds of them; but I'm guessing there's a way to tell it to rewrite those shebangs to point to the system Perl, instead). Assigning to Jamie, as he might have some advice on this.

Yes, it sounds like a perl version mis-match issue.

The quick fix is to delete /usr/local/bin/perl and them symlink it to /usr/bin/perl , or whereever the real system Perl is installed. Then run :

/etc/webmin/restart
/etc/usermin/restart
Joe's picture
Submitted by Joe on Thu, 10/22/2009 - 17:13 Pro Licensee

I was going on the assumption that he has some reason for having that broken perl installed in /usr/local (maybe some other software requires it), so deleting it would possibly not be advisable. I would hope he's not just randomly installing weird broken Perl versions into /usr/local for no reason. ;-)

How perl could have become broken I cannot say. We installed this system using the install script and only use applications made available through Virtualmin. Perl was certainly not broken before updating Spamassassin and Spamassassin worked just fine before... it's all a fog to me. But I did notice that Spamassassin installed a lot of perl dependencies, are you sure that isn't the cause?

  • Jamie, is your suggestion for the symlink in the event that an application is using a wrong install?

Chris

Joe's picture
Submitted by Joe on Thu, 10/22/2009 - 18:14 Pro Licensee

So you're saying you don't know where the /usr/local install of Perl came from? We certainly didn't install it; we just use Perl, we don't provide it.

That said, a Perl update can break a running Webmin. Try restarting it, so it picks up the new environment and libraries.

/etc/init.d/webmin restart

But, you should also figure out where the heck that /usr/local Perl came from. We definitely didn't do it, and it seems pretty dangerous to have software installed on your system that you are completely unaware of, and potentially a sign of some sort of security compromise (a non-standard Perl installation seems an unlikely thing for a cracker to do, but one never knows). Not to mention it's software that is being used, but not being maintained, so any security issues that pop up in that install will go unfixed. Anyway, it didn't just appear there at random, and it wasn't from system packages (because those go into /usr/bin and /usr/lib and such), so it was installed by someone for some reason at some point in the past (probably before Webmin was installed, since Webmin decides which version of Perl to use based on what's in the path at time of install).

Looking back through the installation output, the system reported the following at the beginning of the Spamassassin install:

  Reading package lists...
  Building dependency tree...
  The following extra packages will be installed:

(second to last line) linux-libc-dev locales lzma man-db perl perl-base perl-modules tasksel

Later those same packages are listed under "The following packages will be upgraded". So though Spamassassin is obviously not the culprit, the installation required upgrading perl which consequently broke.

Perl, Perl-base, and Perl-modules were all installed as dependencies of Spamassassin. Looking through Everything at Virtualmin Package Updates, I can see that these three packages were installed and are listed as the latest package (Running latest 5.10.0-19lenny2)

The question now is how can I go back?

Chris

Edit - Joe, we just cross posted. In answer to your questions / concerns, please understand, I am not pointing any fingers or looking to blame anybody.

Looking through the installation output, Spamassassin upgraded Perl, at least that is what it appears to me. Does is look like that to you?

Joe's picture
Submitted by Joe on Thu, 10/22/2009 - 18:22 Pro Licensee

Have you restarted Webmin? As I mentioned, a Perl update will break a running Webmin (the Perl libs get ripped out from under him), and a restart is required.

The perl package from Debian is not the one in /usr/local, and I'm still not entirely sure what's going on with that.

But, a perl upgrade is expected to break the running Webmin process, and you will have to restart Webmin after upgrading perl. Perl has been upgraded on your system, so you must restart Webmin.

Thanks Joe,

restarting webmin fixed everything.

I'll be sure to look into why there is a second installation of Perl. My guess is that you are correct, that it is from before webmin was installed.

Chris

Joe's picture
Submitted by Joe on Thu, 10/22/2009 - 18:57 Pro Licensee

Interestingly, Debian/Ubuntu include /usr/local in @INC even if there is no Perl there. That's weird. But, it means you may not actually have a Perl installed there at all, and all my ranting was entirely pointless. ;-)