Package: pgadmin4-apache2
Version: 2.1-2.pgdg90+1
Severity: important
Dear Maintainer,
* What led up to the situation?
Purging pgadmin4-apache2 without manual modifications fails
because a directory that wasn't added during install is missing
* What exactly did you do (or not do) that was effective (or
ineffective)?
apt purge pgadmin4-apache2
and to make sure buggy first install due to missing sudo (s.
other bug report) wasn't the culprit:
apt install --reinstall pgadmin4-apache2; apt purge
pgadmin4-apache2
* What was the outcome of this action?
The package removal fails:
Purging configuration files for pgadmin4-apache2 (2.1-2.pgdg90+1)
...
rmdir: failed to remove '/var/lib/pgadmin/storage': No such file
or directory
dpkg: error processing package pgadmin4-apache2 (--purge):
subprocess installed post-removal script returned error exit
status 1
* What outcome did you expect instead?
An error free purge of the unmodified installation
-- System Information:
Debian Release: 9.4
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pgadmin4-apache2 depends on:
ii apache2 2.4.25-3+deb9u4
ii debconf [debconf-2.0] 1.5.61
ii libapache2-mod-wsgi-py3 [httpd-wsgi] 4.5.11-1
ii pgadmin4-common 2.1-2.pgdg90+1
pgadmin4-apache2 recommends no packages.
pgadmin4-apache2 suggests no packages.