I tried to install the version of xplico for Ubuntu 16.04 in Ubuntu 21.10 with sudo bash -c 'echo "deb http://repo.xplico.org/ $(lsb_release -s -c) main" >> /etc/apt/sources.list' && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 791C25CE && sudo apt update && sudo apt install xplico
and then I got a `post-removal script subprocess returned error exit status 127 error.
After a failed xplico install now I'm left with this error message and I can't install or remove other applications because xplico has to be removed first:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
xplico
0 upgraded, 0 newly installed, 1 to remove and 52 not upgraded.
1 not fully installed or removed.
After this operation, 86.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 213087 files and directories currently installed.)
Removing xplico (1.2.2) ...
/var/lib/dpkg/info/xplico.postrm: 23: /etc/apache2: Permission denied
dpkg: error processing package xplico (--remove):
installed xplico package post-removal script subprocess returned error exit status 127
dpkg: too many errors, stopping
Errors were encountered while processing:
xplico
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
what should I do?