Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

getting rid of tetex [solved]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

getting rid of tetex [solved]

  • Quote

Post by pindar » Sun May 06, 2007 3:31 pm

Since tetex has been abandoned and gentoo texlive isn't moving anywhere, I have purged tetex and installed TeXLive from the iso image on CTAN, and it works wonderfully. My problem is that a number of packages (such as auctex) still try to pull in tetex as a dependency when I update world. How can I prevent that? I tried adding tetex to package.mask, but that always gives errors. Is there a more canonical/elegant solution for getting rif of tetex for good?

Thanks!
Last edited by pindar on Sun May 06, 2007 5:48 pm, edited 1 time in total.
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Sun May 06, 2007 4:27 pm

unmask and emerge texlive
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
jawilson
n00b
n00b
Posts: 64
Joined: Sat Apr 03, 2004 2:41 pm
Location: Madison, WI, USA

  • Quote

Post by jawilson » Sun May 06, 2007 4:40 pm

Hey,
I did the same thing, and I solved it by adding tetex to my package.provided file, under /etc/make.profile, using the full package name. So the entry in package.provided would be app-text/tetex-3.0_p1-r3. This tells portage that you have manually installed a program that it would otherwise pull in as a dependency. Check out man portage for more info.
Last edited by jawilson on Sun May 06, 2007 4:48 pm, edited 1 time in total.
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

Re: getting rid of tetex

  • Quote

Post by wynn » Sun May 06, 2007 4:44 pm

pindar wrote:Since tetex has been abandoned and gentoo texlive isn't moving anywhere, I have purged tetex and installed TeXLive from the iso image on CTAN, and it works wonderfully. My problem is that a number of packages (such as auctex) still try to pull in tetex as a dependency when I update world. How can I prevent that? I tried adding tetex to package.mask, but that always gives errors. Is there a more canonical/elegant solution for getting rif of tetex for good?
Not elegant ... practical? Whenever a package wants to bring in teTeX unmerge the package.

A slightly more elegant procedure, run

Code: Select all

equery depends tetex
which, here, returns

Code: Select all

$ equery depends tetex
[ Searching for packages depending on tetex... ]
app-doc/doxygen-1.4.7 (tetex? virtual/tetex)
app-emacs/auctex-11.83 (virtual/tetex)
app-text/a2ps-4.13c-r5 (tetex? virtual/tetex)
sci-visualization/gnuplot-4.0-r1 (doc? virtual/tetex)
and unmerge them.
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Top
jawilson
n00b
n00b
Posts: 64
Joined: Sat Apr 03, 2004 2:41 pm
Location: Madison, WI, USA

  • Quote

Post by jawilson » Sun May 06, 2007 4:53 pm

Whenever a package wants to bring in teTeX unmerge the package.
In my case, I wanted to install kile, the latex editor, which pulls in tetex as a dependency. However, I already have texlive, and it does not make sense to unmerge the package if it is something that I actually want. I think that package.provided is the way to go here. (I think there IS a version of texlive in portage, but it is the 2005 version, not 2007, but if that is not a problem, you could unmask and emerge that instead).
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sun May 06, 2007 5:00 pm

These instructions are similar to what jawilson said but they combine masking and providing so an upgrade to tetex won't get installed in a future emerge -uDN world.

This has been working fine for me except when I tried to install jadetex. I added the line:

Code: Select all

export PATH="/usr/local/texlive/2007/bin/x86_64-linux:$PATH"
to my /etc/portage/bashrc file which helped move things along but it still errorred out later in the process. Then I realized that TeXLive already provides jadetex.
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

  • Quote

Post by wynn » Sun May 06, 2007 5:46 pm

jawilson wrote:
Whenever a package wants to bring in teTeX unmerge the package.
In my case, I wanted to install kile, the latex editor, which pulls in tetex as a dependency. However, I already have texlive, and it does not make sense to unmerge the package if it is something that I actually want. I think that package.provided is the way to go here. (I think there IS a version of texlive in portage, but it is the 2005 version, not 2007, but if that is not a problem, you could unmask and emerge that instead).
Yes, you're right.

I should have waited to see what the grownups had to say first before piping up :)
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Sun May 06, 2007 5:48 pm

*Slaps forehead* package.provided, that's what I was looking for! Thanks for all the replies! No, I want to keep auctex and vim latexsuite, unmerging them is not an option. And texlive 2005 is not only way too old, it also lacks ppc binaries, so I can't install it. I really hope the texlive ebuild will get going soonish (TeXLive 2007, which does have ppc binaries and many new versions, has been out for three months now) , but TeX doesn't appear to be very important to most gentooers.

Thanks!
Top
Post Reply

8 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic