Quoting Johannes Schauer (2019-11-17 21:03:19) > Quoting Jonas Smedegaard (2019-11-17 19:17:26) > > mmdebstrap depends on perl-doc, and is among a very few packages > > doing that. I suspect it is unneded. > > > > mmdebstrap added a dependency on perl-doc in December 2018 > > (git commit ffc7faa, seemingly not mentioned in changelog). > > > > Git commit message hints at the reason being "for pod2usage" but I > > fail to understand what is needed there, as the only thing I can > > find related to pod2usage in perl-doc is its html documentation, > > otherwise it is provided in package perl: > > > > jonas@auryn:~$ apt-file search pod2usage > > perl: /usr/bin/pod2usage > > perl: /usr/share/man/man1/pod2usage.1.gz > > perl-doc-html: /usr/share/doc/perl-doc-html/pod2usage.html > > > > > > Please consider dropping that dependency. > > try out the following: > > $ mmdebstrap --help > > That's the documentation for mmdebstrap. > > Then fore-remove perl-doc: > > $ dpkg --force-all -r perl-doc > > If you then try running "mmdebstrap --help" again you will see the > source code instead of the documentation. > > If you know how to make this work without perl-doc, please don't > hesitate to tell.
Ah, indeed - I wasn't aware of that (and wonder if other tools in Debian suffer from same issue). I suggest look at the package rename - from a quick experimentation it seems to show source only for its more exotic --man option and not its --help option. Even if keeping code as-is, I'd argue that it makes more sense to relax to only recommend perl-doc: Core functionality is unaffected and nothing explodes, it just "looks weird". - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature