Package: apache2-common
Version: 2.0.50-2
Severity: normal

This line in apache2-common.postinst breaks upgrades:

    #auto enable mod_userdir, otherwise things will B-R-EAK
    a2enmod userdir

If userdir is already enabled, this returns nonzero and the upgrade is
aborted (this is on a system where I had already manually enabled
userdir by putting a usermod.load symlink in /etc/apache2/mods-enabled).
After the upgrade, I no longer get this behaviour...

I suggest using

    a2enmod userdir || true

to ensure failure does not abort postinst.


Regards,
Roger


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages apache2-common depends on:
ii  debconf                     1.4.29       Debian configuration management sy
ii  debianutils                 2.8.3        Miscellaneous utilities specific t
pn  libapr0                                  Not found.
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.30-1     OpenLDAP libraries
ii  libmagic1                   4.09-1       File type determination library us
ii  libssl0.9.7                 0.9.7d-3     SSL shared libraries
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7d-3     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-8        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- no debconf information


Reply via email to