[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718166: a2disconf fails on purge when conf already gone



Package: apache2
Version: 2.4.6-2
Severity: important

Hi,

My package phpmyadmin uses the apache2-maintscript-helper as documented on
the Wiki. On purge, I get "subprocess installed post-removal script
returned error exit status 1". When running with set -x, it seems to be
a2disconf that exits in error:

apache2_invoke postrm: Purging state for phpmyadmin
+ [ -x /usr/bin/logger ]
+ local LOGGER=/usr/bin/logger -p daemon.info -t phpmyadmin 
+ /usr/bin/logger -p daemon.info -t phpmyadmin apache2_invoke postrm: Purging state for phpmyadmin
+ a2disconf -p -f -q phpmyadmin
dpkg: error processing phpmyadmin (--purge):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 phpmyadmin

# a2disconf -p -f phpmyadmin
ERROR: Conf phpmyadmin does not exist!

It seems logical to me that it would exit 0 when disabling a conf that
has already disappeared, especially when it's invoked with the "force"
option.


cheers,
Thijs

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-bin   2.4.6-2
ii  apache2-data  2.4.6-2
ii  lsb-base      4.1+Debian12
ii  mime-support  3.54
ii  perl          5.14.2-21
ii  procps        1:3.3.8-2

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  apache2-utils                                    2.4.6-2
pn  www-browser                                      <none>

Versions of packages apache2-bin depends on:
ii  libapr1                  1.4.8-1
ii  libaprutil1              1.5.2-1
ii  libaprutil1-dbd-sqlite3  1.5.2-1
ii  libaprutil1-ldap         1.5.2-1
ii  libc6                    2.17-7
ii  libcap2                  1:2.22-1.2
ii  libldap-2.4-2            2.4.31-1+nmu2
ii  liblua5.1-0              5.1.5-4
ii  libpcre3                 1:8.31-2
ii  libssl1.0.0              1.0.1e-3
ii  libxml2                  2.9.1+dfsg1-2
ii  perl                     5.14.2-21
ii  zlib1g                   1:1.2.8.dfsg-1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
pn  www-browser                                      <none>

Versions of packages apache2 is related to:
ii  apache2      2.4.6-2
ii  apache2-bin  2.4.6-2

-- Configuration Files:
/etc/apache2/ports.conf changed [not included]
/etc/apache2/sites-available/000-default.conf [Errno 2] No such file or directory: u'/etc/apache2/sites-available/000-default.conf'
/etc/apache2/sites-available/default-ssl.conf [Errno 2] No such file or directory: u'/etc/apache2/sites-available/default-ssl.conf'

-- no debconf information


Reply to: