On Sun 10 Dec 2017 at 16:47:05 -0500, Gene Heskett wrote:

> On Sunday 10 December 2017 15:05:04 Brian wrote:
> 
> > On Sun 10 Dec 2017 at 13:12:09 -0600, David Wright wrote:
> > > On Sun 10 Dec 2017 at 10:42:53 (-0500), Gene Heskett wrote:
> > > > For something that can be such a pita, not installing the docs
> > > > doesn't seem like my error, they should have been part of the
> > > > install. IMO.
> > >
> > > That's ridiculous. I don't want all the docs on all the
> > > installations. I only install docs on the machines that either I'm
> > > going to read it on or one with a big disk.
> >
> > I believe you are expressing what is standard practice. If you want
> > any documentation which is packaged separately from the package
> > itself, you have to request it. "apt-cache show..." or "apt show..."
> > are very useful.
> 
> I expect so, Brian, but one must pipe that output to less as it could be 
> a 100 meg long list. Not impossible, but inconvenient.

  brian@desktop:~$ time apt search "\-doc" > docfile
  real    0m1.793s
  user    0m1.480s
  sys     0m0.168s

100 meg is an overestimate.

  brian@desktop:~$ ls -l docfile
  -rw-r--r-- 1 brian brian 355847 Dec 10 22:35 docfile

  brian@desktop:~$ apt search "\-doc" | grep policy
  policykit-1-doc/stable 0.105-18 all
    client for the open policy framework for the cloud - doc
  python-oslo.policy-doc/stable 1.14.0-2 all
    RBAC policy enforcement library for OpenStack - doc
  selinux-policy-doc/stable 2:2.20161023.1-9 all
    Documentation for the SELinux reference policy

Suggestions for something less inconvenient are welcome.

-- 
Brian.

Reply via email to