Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162080

Re: removing TexLive Docs packages

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: removing TexLive Docs packages
Date 2015-12-24 03:20 +0100
Message-ID <qJ3Fv-Na-15@gated-at.bofh.it> (permalink)
References <qILpf-68N-1@gated-at.bofh.it> <qIZse-6sP-21@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2015-12-23 at 16:48, Doug wrote:

> On 12/23/2015 01:45 AM, Sivaram Neelakantan wrote:
> 
>> I installed TexLive recently and during one of the upgrades, the
>> entire texdoc package got installed too.  that is humoungous and
>> I'd like to remove the doc packages alone and also stop future
>> installs of the same type whenever I Upgrade TexLive.
>> 
>> Could someone please suggest a way?  I'm on debian test release, if
>> that is of any help.
> 
> If the .doc packages are all in one directory, then it's easy: when
> you're in that directory, issue: rm -fr *.doc or if they are called
> .txt, then use that-- whatever suffix the files use.

This is not a way to remove a package. It is a way to delete files which
were installed by a package (and won't work correctly even for that in
this case, since this package's files not only use multiple file
extensions but are spread throughout a fairly sizable directory tree),
but is not recommended in pretty much any case.

It will also not prevent the package's files from getting reinstalled
later on, so it doesn't really address the question which was asked.


The correct approach would be to remove the appropriate texlive-lang-*
package (e.g., texlive-lang-english) which contains the documentation,
using e.g. 'apt-get remove texlive-lang-english', and then blacklist the
package from being installed using the method suggested by Osamu Aoki.

(There is no 'texlive-doc' package in current testing as far as I can
see, and the 'texlive-doc-en' package appears to be a transitional dummy
package; it appears to be superseded by texlive-lang-english, so I infer
that that is the documentation package in question. Note that because of
this naming difference, the removal command suggested by Udyant Wig
probably wouldn't get the job done, at least not by itself.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

removing TexLive Docs packages Sivaram Neelakantan <nsivaram.net@gmail.com> - 2015-12-23 07:50 +0100
  Re: removing TexLive Docs packages Udyant Wig <udyantw@gmail.com> - 2015-12-23 16:00 +0100
    Re: removing TexLive Docs packages The Wanderer <wanderer@fastmail.fm> - 2015-12-23 16:40 +0100
      Re: removing TexLive Docs packages Osamu Aoki <osamu@debian.org> - 2015-12-23 17:20 +0100
      Re: removing TexLive Docs packages Osamu Aoki <osamu@debian.org> - 2015-12-23 17:20 +0100
      Re: removing TexLive Docs packages Sivaram Neelakantan <nsivaram.net@gmail.com> - 2015-12-24 13:50 +0100
        OT: signatures (was Re: removing TexLive Docs packages) The Wanderer <wanderer@fastmail.fm> - 2015-12-24 16:00 +0100
          Re: OT: signatures (was Re: removing TexLive Docs packages) Anthony Mapes <anthonym7009@gmail.com> - 2015-12-24 16:40 +0100
            Re: OT: signatures (was Re: removing TexLive Docs packages) Adam Wilson <moxalt@riseup.net> - 2015-12-26 08:40 +0100
            Re: OT: signatures (was Re: removing TexLive Docs packages) Chris Bannister <cbannister@slingshot.co.nz> - 2015-12-27 01:00 +0100
            Digital signatures Teemu Likonen <tlikonen@iki.fi> - 2015-12-27 09:10 +0100
              Re: Digital signatures Anthony Mapes <anthonym7009@gmail.com> - 2015-12-27 15:10 +0100
                Re: Digital signatures Teemu Likonen <tlikonen@iki.fi> - 2015-12-27 16:10 +0100
          Re: OT: signatures (was Re: removing TexLive Docs packages) Sivaram Neelakantan <nsivaram.net@gmail.com> - 2015-12-25 07:40 +0100
    Re: removing TexLive Docs packages Sivaram Neelakantan <nsivaram.net@gmail.com> - 2015-12-24 13:40 +0100
  Re: removing TexLive Docs packages Doug <dmcgarrett@optonline.net> - 2015-12-23 22:50 +0100
    Re: removing TexLive Docs packages The Wanderer <wanderer@fastmail.fm> - 2015-12-24 03:20 +0100
      Re: removing TexLive Docs packages Udyant Wig <udyantw@gmail.com> - 2015-12-24 05:20 +0100

csiph-web