I ran this command the other day to find packages that use files in /usr/share/doc in their postinsts. When dpkg gets directory exclude support these will presumably all break. They could break today if the admin removed /usr/share/doc in the middle of a dpkg run. I filed bugs on adduser, apt-listbugs, dpkg, libqt3c102-mt, sysvinit, xmcd, and viewcvs.
$ grep /usr/share/doc /var/lib/dpkg/info/*.postinst \ |grep -v install-docs |grep -v /usr/doc | less It filters out some things but you have to read it and look for lines that are really accessing /usr/share/doc/. One thing I notcied, and did not file bugs on is a lot of packages do something like this: ln -sf groff-base /usr/share/doc/groff Of course this fails if you have no /usr/share/doc and dpkg has excludes support! I have to wonder why these things are done programmatically in the postinst, instead of just dropping the appropriate link into the data.tar.gz, but I hesitate to file bugs on there as there are quite a few and it doesn't break yet, or really voiolate a tight reading of policy. -- see shy jo
pgpVaOHKnPR6P.pgp
Description: PGP signature