I am trying to extend a python
docker image by installing some apt packages. However, I'm running into problems related to missing manual pages. Man pages don't seem to be getting installed (even with man-db
installed).
If I run the following:
docker run -it python:3.9-slim@sha256:2c018e29a8eada75e855d78641adda978a2c0a035fd928e281e1240144e8a337 /bin/bash
apt-get update
apt-get install -y man-db
apt-get install -y zzuf
dpkg
claims that it has installed some man pages (at least -L
links them)
> dpkg -L zzuf | grep man1
/usr/share/man/man1
/usr/share/man/man1/zzat.1.gz
/usr/share/man/man1/zzuf.1.gz
But they don't seem to actually be installed (and /usr/share/man
is empty)
> ls /usr/share/man
Why is this happening and how do I get manual pages to be installed?
Feedback
How to install man pages on an ubuntu docker image? is addressing a problem with the same cause: dpkg
can be configured to not install files matching certain packages.