Package: dpkg
Version: 1.18.23
Severity: minor

Dear Maintainers,

It is documented in man dpkg that dpkg may reinclude and install
some directories in some --path-exclude= --path-include= combinations.

       --path-exclude=glob-pattern
       --path-include=glob-pattern
...
              The  glob   patterns   use   the   same
              wildcards  used  in the shell, were ‘*’
              matches  any  sequence  of  characters,
              including  the  empty  string  and also
              ‘/’.    For   example,   «/usr/*/READ*»
              matches
              «/usr/share/doc/package/README».     As
              usual, ‘?’ matches any single character
              (again, including ‘/’).  And ‘[’ starts
              a  character class, which can contain a
              list   of   characters,   ranges    and
              complementations.   See   glob(7)   for
              detailed  information  about  globbing.
              Note:  the current implementation might
              re-include   more    directories    and
              symlinks than needed, to be on the safe
              side   and   avoid   possible    unpack
              failures; future work might fix this.
...

This bug tracks the current issue and the potential future work. :-)

Cheers,
Balint

-- 
Balint Reczey
Debian & Ubuntu Developer

Reply via email to