Fedora Linux Support Community & Resources Center
  #1  
Old 25th April 2010, 07:40 PM
Nordwin Offline
Registered User
 
Join Date: Mar 2010
Posts: 11
linuxsafari
pseudo-package for latex?

Hey,
first off: Because it is a packging problem, I thought I'd post it here first... please move it to where it belongs if that is not here ;-)

My problem is the following: texlive in Fedora is very old (texlive-2007) and it is a pain to install new packages, because there is no tlmgr. (The unofficial texlive-repo didn't work for me, and I see no point in using it).. So I just installed texlive the manual way, by downloading it from the texlive website.
Well, up to now everything worked well... no the obvious problem arises: how do I tell yum that I have texlive (and latex in particular) installed? Always downloading the rpm and installing it with rpm --nodeps doesn't seem like a smart way.
So I thought, the best way would be to make a pseudo package which acts as if texlive was installed, so that yum doesn't complain about missing dependecies any more...

Is there any way to do that? I read this andthis, but I couldn't find anything that'd help me with my problem... so I thought I might just ask..


Thank you very much!
Reply With Quote
  #2  
Old 25th April 2010, 08:59 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: pseudo-package for latex?

Try this

Code:
su
yumdownloader texlive texlive-latex
rpm -ivh --justdb texlive*rpm
It just updates the database ( it should fool yum ) but doesn't install any thing.

Code:
--justdb                         update the database, but do not modify the
                                   filesystem
You will also need to exclude textlive in /etc/yum.conf to stop it from being updated
Reply With Quote
  #3  
Old 25th April 2010, 09:58 PM
Nordwin Offline
Registered User
 
Join Date: Mar 2010
Posts: 11
linuxsafari
Re: pseudo-package for latex?

wow..... that was simple
but it's working just fine...
I --justdb'd the dependencies of texlive and texlive-latex as well, just in case..
a "rpm -ivh --nodeps --justdb texlive*rpm" would probably have done the trick as well, but I thought this way is "safer"....
and yes, yum is succesfully fooled exactly what I wanted, just a lot simpler than I imagined..

Thanks!


edit: well, yum kind of realized that something is wrong:
Code:
Warning: RPMDB altered outside of yum.
But it's doing it's job flawlessly... without further complaint

Last edited by Nordwin; 25th April 2010 at 10:01 PM.
Reply With Quote
  #4  
Old 21st May 2010, 05:45 PM
BoyWonder410 Offline
Registered User
 
Join Date: Mar 2005
Location: Western Kentucky University
Age: 29
Posts: 161
linuxsafari
Re: pseudo-package for latex?

Thanks for this post, sorry for the bump, but i'm trying to do the same thing, i get the following error:

Code:
[jcress@localhost yum.repos.d]$ sudo yumdownloader texlive texlive-latex
......
[jcress@localhost yum.repos.d]$ sudo rpm -ivh --justdb texlive*rpm
error: Failed dependencies:
	libkpathsea.so.4 is needed by texlive-2007-51.fc13.i686
	texlive-texmf = 2007 is needed by texlive-2007-51.fc13.i686
	texlive-texmf-errata = 2007 is needed by texlive-2007-51.fc13.i686
	texlive-texmf-fonts = 2007 is needed by texlive-2007-51.fc13.i686
	texlive-dvips = 2007-51.fc13 is needed by texlive-latex-2007-51.fc13.i686
	texlive-texmf-errata = 2007 is needed by texlive-latex-2007-51.fc13.i686
	texlive-texmf-latex = 2007 is needed by texlive-latex-2007-51.fc13.i686
	texlive-utils = 2007-51.fc13 is needed by texlive-latex-2007-51.fc13.i686
[jcress@localhost yum.repos.d]$
Reply With Quote
  #5  
Old 24th May 2010, 09:28 PM
Nordwin Offline
Registered User
 
Join Date: Mar 2010
Posts: 11
linuxsafari
Re: pseudo-package for latex?

ah well, I just downloaded all dependencies to the same folder and then installed all of them with "--justdb"
that way nothing will ever bother me because of LaTeX again... which is what I intended.[COLOR="Silver"]
Reply With Quote
  #6  
Old 24th May 2010, 10:38 PM
dd_wizard's Avatar
dd_wizard Offline
Registered User
 
Join Date: Sep 2009
Posts: 1,409
linuxfedorafirefox
Re: pseudo-package for latex?

If you don't mind learning how to build rpms, you could do what I did for PLT Scheme. Download the source rpm for the last koji build, get the new source from PLT, tweak the old spec file from koji, build the new RPM, and install it with "yum --nogpgcheck localinstall ...". That way, if fedora ever builds an update, yum will let you know about it.

dd_wizard
Reply With Quote
  #7  
Old 13th December 2010, 11:55 PM
FrancoArg Offline
Registered User
 
Join Date: Dec 2010
Posts: 2
linuxchrome
Re: pseudo-package for latex?

Hola como andan soy nuevo en fedora recien instale fedora 14 kde en mi notebook y tengo el mismo problema de texlive 2010 ahora estoy instalando via net ( osea online) , estoy instalando como root , como hago para que despues cuando use kile este tenga acceso a la carpeta de texlive , ademas como configuro kile para que use texlive 2010 y no 2007 , saludos
Reply With Quote
  #8  
Old 14th December 2010, 06:59 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: pseudo-package for latex?

Quote:
Originally Posted by FrancoArg View Post
Hola como andan soy nuevo en fedora recien instale fedora 14 kde en mi notebook y tengo el mismo problema de texlive 2010 ahora estoy instalando via net ( osea online) , estoy instalando como root , como hago para que despues cuando use kile este tenga acceso a la carpeta de texlive , ademas como configuro kile para que use texlive 2010 y no 2007 , saludos
Please post in English only.
Reply With Quote
  #9  
Old 14th December 2010, 03:52 PM
FrancoArg Offline
Registered User
 
Join Date: Dec 2010
Posts: 2
linuxchrome
Re: pseudo-package for latex?

i am new to fedora 14 with kde, the problem is that I could not successfully install texlive 2010 and kile.

1. Just installed texlive 2010 from the texlive site
I get that I have to take the following action

Add / usr/local/texlive/2010/texmf/doc/man to MANPATH, if Not dynamically determined.
Add / usr/local/texlive/2010/texmf/doc/info to INFOPATH.

Most importantly, add / usr/local/texlive/2010/bin/i386-linux
to your PATH for current and future sessions.

I have no idea how.

2. How do I get my user is the owner of the folder / usr / local / texlive
for kile to use.

3. How to use configure kile texlive 2010

4 the following lines are for yum not install the old version of texlive (texlive 2007)

Greetings and sorry for my bad English

---------- Post added at 12:52 PM ---------- Previous post was at 08:24 AM ----------

I add one more query, how do I install kile without installing texlive 2007?.
because kpackagekit appears kile but brings texlive 2007.

Greetings and thanks in advance
Reply With Quote
Reply

Tags
latex, pseudopackage

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pseudo hostnames daviddoria Servers & Networking 6 2nd January 2008 09:41 PM
Pseudo terminal? madmadmod Using Fedora 1 18th August 2005 09:52 PM
aterm: can't open pseudo-tty n644dc Using Fedora 1 9th May 2005 06:12 AM
can't open pseudo-tty (wterm) metamp99 Using Fedora 7 19th April 2005 05:48 AM
Maximum Pseudo Terminals ravinder Using Fedora 0 18th April 2005 05:50 AM


Current GMT-time: 04:36 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat