[PKG-Openstack-devel] Bug#844448: keystone: postrm maintainer script should test if a2dissite is available

Vaclav Ovsik vaclav.ovsik at gmail.com
Tue Nov 15 20:16:49 UTC 2016


Source: keystone
Version: 2:10.0.0-2
Severity: wishlist

Dear Maintainer,
while removing keystone & apache2 together the error output exists:

  ...
  Removing keystone (2:10.0.0-2) ...
  ...
  Removing apache2 (2.4.23-7) ...
  Removing libapache2-mod-wsgi (4.5.7-1) ...
  Removing apache2-bin (2.4.23-7) ...
  ...
  Purging configuration files for keystone (2:10.0.0-2) ...
  /var/lib/dpkg/info/keystone.postrm: 16: /var/lib/dpkg/info/keystone.postrm: a2dissite: not found
  /var/lib/dpkg/info/keystone.postrm: 16: /var/lib/dpkg/info/keystone.postrm: a2dissite: not found
  ...

for example package jpoker_2.0.1-2_all.deb uses code:

  if [ "$1" = "remove" ] ; then
      if [ -x "$(which a2dissite)" ] ; then
          a2dissite jpoker || true
      fi
  fi

Thanks
-- 
Zito



More information about the Openstack-devel mailing list