-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.slimify-excludes break groff functionality #87
Comments
Hah, nice catch! I guess someone should probably update https://wiki.ubuntu.com/ReducingDiskFootprint#Drop_unnecessary_files too (which is where we got it from). Are there things in |
Looking at https://packages.debian.org/buster/amd64/groff-base/filelist and https://packages.debian.org/buster/amd64/groff/filelist, I see a lot of things under We exclude things like locales, so some amount of breakage is somewhat intended with this image, but I guess it probably depends a lot on how common it is to have "groff" installed. On my desktop system here, I've only got |
Eh, that Ubuntu wiki hasn't been modified since 2012-10-11. The specific error I ran into was $ cat sample.1 | groff
groff: can't find 'DESC' file
groff: fatal error: invalid device 'ps' The In short, excluding A quick I'd remove the |
The slim variants (at least buster-slim) break
groff
by excluding all files below/usr/share/groff/
in/etc/dpkg/dpkg.cfg.d/docker
. A bit of digging led me to.slimify-excludes
as the source for this.I ran into the breakage when trying to convert manual pages for a project to HTML. All the
groff
macros are installed below/usr/share/groff/
. Not installing them via thepath-exclude
completely breaksgroff
functionality. Even something likegroff -man < inputfile
works 😮FTR, for a long time I also believed the content of this directory was not needed 🤦♂️
The text was updated successfully, but these errors were encountered: