On Thu 2024-01-18 17:17, Alexandru Mihail wrote:
>Can you replicate the problem by running apt purge mini-httpd && apt >install 
>mini-httpd ? (docker)

# docker run -ti --rm debian:testing-slim bash -c "apt-get update && apt-get 
purge mini-httpd && apt-get install -y mini-httpd
[...]
Package 'mini-httpd' is not installed, so not removed
[...]
Setting up mini-httpd (1.30-6) ...
cp: cannot stat '/usr/share/doc/mini-httpd/examples/index.html': No such file 
or directory
dpkg: error processing package mini-httpd (--configure):
 installed mini-httpd package post-installation script subprocess returned 
error exit status 1
Setting up libgdbm6:amd64 (1.23-5) ...
Setting up libaprutil1:amd64 (1.6.3-1+b1) ...
Setting up apache2-utils (2.4.58-1+b1) ...
Processing triggers for libc-bin (2.37-13) ...
Errors were encountered while processing:
 mini-httpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


>Can you replicate in a non-docker environment (testing or sid) if you have 
>access to one ?

no, but I can use another base image

# docker run -ti --rm debian:testing bash -c "apt-get update && apt-get install 
-y mini-httpd"

this works. The error seems only to happen on debian:testing-slim but not on 
debian:testing

Reply via email to