<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"  
	xmlns:dc="http://purl.org/dc/elements/1.1/"  
	>  
<channel>
	<title>Comments on: Kile and TeX Live 2008 on Ubuntu Linux</title>
	<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/</link>
	<description>Typography with TeX and LaTeX</description>
	<pubDate>Fri, 30 Jul 2010 13:18:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Christoph Bier</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-710</link>
		<dc:creator>Christoph Bier</dc:creator> 
		<pubDate>Thu, 18 Feb 2010 13:56:39 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-710</guid>
		<description>Hi Stefan,

unfortunately further problems occured. I filed a bug report: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/521932

Christoph</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>unfortunately further problems occured. I filed a bug report: <a href="https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/521932" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/521932</a></p>
<p>Christoph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Kottwitz</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-704</link>
		<dc:creator>Stefan Kottwitz</dc:creator> 
		<pubDate>Mon, 15 Feb 2010 19:24:31 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-704</guid>
		<description>Hi Christoph,

thank you for sharing this information!

Stefan</description>
		<content:encoded><![CDATA[<p>Hi Christoph,</p>
<p>thank you for sharing this information!</p>
<p>Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Bier</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-703</link>
		<dc:creator>Christoph Bier</dc:creator> 
		<pubDate>Sun, 14 Feb 2010 22:31:06 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-703</guid>
		<description>I got an answer on the Ubuntu mailing list by sktsee:

\begin{quote}
Not real familiar with equivs, but it looks to me as if you are running into this bit from the Debian Policy Manual http://www.debian.org/doc/debian-policy/ch-relationships.html

From Section 7.5 Virtual packages - Provides
...
"If a relationship field has a version number attached then only real packages will be considered to see whether the relationship is satisfied (or the prohibition violated, for a conflict or breakage) - it is assumed that a real package which provides the virtual package is not of the "right" version. So, a Provides field may not contain version numbers, and the version number of the concrete package which provides a particular virtual package will not be looked at when considering a dependency on or conflict with the virtual package name. "

One Lyx's dependencies is lyx-common, which has this dependeny:
$ apt-cache show lyx-common &#124;grep Depend
Depends: dpkg (&#62;= 1.14.18), tex-common (&#62;= 1.18), python, python-support 
(&#62;= 0.90.0)

lyx-common specifically depends on a version of tex-common &#62;=1.18. According to the policy stated above, when dpkg sorts out the dependencies, it's going to prefer a "real" package over a virtual one if a dependency lists a specific version number. 

I guess one way to solve this problem would be to create and install a dummy tex-common package. I assume that's possible to do with the equivs program, though I'm unsure on the specific steps to accomplish it.
\end{quote}

sktsee is right. Building a tex-common dummy with the following control file solved the problem:

Section: tex
Package: tex-common
Version: 1.18
Provides: tex-common
Description: tex-common dummy package
  This package provides dpkg with the information that tex-common &#62;= 1.18 is installed.</description>
		<content:encoded><![CDATA[<p>I got an answer on the Ubuntu mailing list by sktsee:</p>
<p>\begin{quote}<br />
Not real familiar with equivs, but it looks to me as if you are running into this bit from the Debian Policy Manual <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html" rel="nofollow">http://www.debian.org/doc/debian-policy/ch-relationships.html</a></p>
<p>From Section 7.5 Virtual packages - Provides<br />
&#8230;<br />
&#8220;If a relationship field has a version number attached then only real packages will be considered to see whether the relationship is satisfied (or the prohibition violated, for a conflict or breakage) - it is assumed that a real package which provides the virtual package is not of the &#8220;right&#8221; version. So, a Provides field may not contain version numbers, and the version number of the concrete package which provides a particular virtual package will not be looked at when considering a dependency on or conflict with the virtual package name. &#8221;</p>
<p>One Lyx&#8217;s dependencies is lyx-common, which has this dependeny:<br />
$ apt-cache show lyx-common |grep Depend<br />
Depends: dpkg (&gt;= 1.14.18), tex-common (&gt;= 1.18), python, python-support<br />
(&gt;= 0.90.0)</p>
<p>lyx-common specifically depends on a version of tex-common &gt;=1.18. According to the policy stated above, when dpkg sorts out the dependencies, it&#8217;s going to prefer a &#8220;real&#8221; package over a virtual one if a dependency lists a specific version number. </p>
<p>I guess one way to solve this problem would be to create and install a dummy tex-common package. I assume that&#8217;s possible to do with the equivs program, though I&#8217;m unsure on the specific steps to accomplish it.<br />
\end{quote}</p>
<p>sktsee is right. Building a tex-common dummy with the following control file solved the problem:</p>
<p>Section: tex<br />
Package: tex-common<br />
Version: 1.18<br />
Provides: tex-common<br />
Description: tex-common dummy package<br />
  This package provides dpkg with the information that tex-common &gt;= 1.18 is installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Bier</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-701</link>
		<dc:creator>Christoph Bier</dc:creator> 
		<pubDate>Sun, 14 Feb 2010 16:08:32 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-701</guid>
		<description>Has anybody succeeded in getting rid of tex-common? I tried to build a texlive-dummy in order to install LyX with the following packages in texlive.ctl (on Karmic): 

dvipdfmx, dvipng, lacheck, latex-beamer, latex-xcolor, pgf, preview-latex-style, psutils, tex-common, texlive-base, texlive-base-bin, texlive-base-bin-doc, texlive-common, texlive-doc-base, texlive-extra-utils, texlive-fonts-recommended, texlive-fonts-recommended-doc, texlive-generic-extra, texlive-generic-recommended, texlive-humanities, texlive-humanities-doc, texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc, texlive-latex-recommended, texlive-latex-recommended-doc, texlive-pictures, texlive-pictures-doc, texlive-pstricks, texlive-pstricks-doc, tipa

But if I want to install LyX APT still wants to install tex-common.

Best
Christoph</description>
		<content:encoded><![CDATA[<p>Has anybody succeeded in getting rid of tex-common? I tried to build a texlive-dummy in order to install LyX with the following packages in texlive.ctl (on Karmic): </p>
<p>dvipdfmx, dvipng, lacheck, latex-beamer, latex-xcolor, pgf, preview-latex-style, psutils, tex-common, texlive-base, texlive-base-bin, texlive-base-bin-doc, texlive-common, texlive-doc-base, texlive-extra-utils, texlive-fonts-recommended, texlive-fonts-recommended-doc, texlive-generic-extra, texlive-generic-recommended, texlive-humanities, texlive-humanities-doc, texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc, texlive-latex-recommended, texlive-latex-recommended-doc, texlive-pictures, texlive-pictures-doc, texlive-pstricks, texlive-pstricks-doc, tipa</p>
<p>But if I want to install LyX APT still wants to install tex-common.</p>
<p>Best<br />
Christoph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Kottwitz</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-668</link>
		<dc:creator>Stefan Kottwitz</dc:creator> 
		<pubDate>Sun, 06 Dec 2009 19:41:59 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-668</guid>
		<description>There are just too few people working on porting TeX Live 2009 to Debian and Ubuntu. If more programmer and tester would contribute the situation could be different. The simple explanation is that this work lasts on very few shoulders.</description>
		<content:encoded><![CDATA[<p>There are just too few people working on porting TeX Live 2009 to Debian and Ubuntu. If more programmer and tester would contribute the situation could be different. The simple explanation is that this work lasts on very few shoulders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venik212</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-667</link>
		<dc:creator>venik212</dc:creator> 
		<pubDate>Sun, 06 Dec 2009 16:43:42 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-667</guid>
		<description>Why in 2009 we are still stuck with texlive2007 is a mystery.  Why is all this stuff needed, instead of uploading the texlive 2009 packaes to the repositories?</description>
		<content:encoded><![CDATA[<p>Why in 2009 we are still stuck with texlive2007 is a mystery.  Why is all this stuff needed, instead of uploading the texlive 2009 packaes to the repositories?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin S.</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-595</link>
		<dc:creator>Martin S.</dc:creator> 
		<pubDate>Wed, 14 Oct 2009 11:32:51 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-595</guid>
		<description>Hi,
thanks for this posting - exactly what I was looking for.
Here my extended config file:

Section: tex
Package: texlive-dummy
Provides: texlive-latex-base, asymptote,
  asymptote-doc, context, dblatex, dvipdfmx, dvipng, feynmf, guile-1.8, lacheck, 
  latex-beamer, latex-xcolor, latex2html, libsigsegv0, lilypond, lilypond-data, 
  lilypond-doc, lmodern, luatex, pgf, preview-latex-style, prosper, ps2eps, 
  tex4ht, tex4ht-common, texlive, texlive-base, texlive-base-bin, 
  texlive-base-bin-doc, texlive-common, texlive-doc-base, texlive-extra-utils, 
  texlive-font-utils, texlive-fonts-recommended, texlive-fonts-recommended-doc, 
  texlive-generic-extra, texlive-generic-recommended, texlive-humanities, 
  texlive-humanities-doc, texlive-lang-cyrillic, texlive-latex-base, 
  texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc, 
  texlive-latex-recommended, texlive-latex-recommended-doc, texlive-math-extra, 
  texlive-metapost, texlive-metapost-doc, texlive-pictures, 
  texlive-pictures-doc, texlive-pstricks, texlive-pstricks-doc, texlive-xetex, 
  tipa
Description: texlive dummy package
 This package provides dpkg with the information that
 there is the package texlive-latex-base installed.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
thanks for this posting - exactly what I was looking for.<br />
Here my extended config file:</p>
<p>Section: tex<br />
Package: texlive-dummy<br />
Provides: texlive-latex-base, asymptote,<br />
  asymptote-doc, context, dblatex, dvipdfmx, dvipng, feynmf, guile-1.8, lacheck,<br />
  latex-beamer, latex-xcolor, latex2html, libsigsegv0, lilypond, lilypond-data,<br />
  lilypond-doc, lmodern, luatex, pgf, preview-latex-style, prosper, ps2eps,<br />
  tex4ht, tex4ht-common, texlive, texlive-base, texlive-base-bin,<br />
  texlive-base-bin-doc, texlive-common, texlive-doc-base, texlive-extra-utils,<br />
  texlive-font-utils, texlive-fonts-recommended, texlive-fonts-recommended-doc,<br />
  texlive-generic-extra, texlive-generic-recommended, texlive-humanities,<br />
  texlive-humanities-doc, texlive-lang-cyrillic, texlive-latex-base,<br />
  texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc,<br />
  texlive-latex-recommended, texlive-latex-recommended-doc, texlive-math-extra,<br />
  texlive-metapost, texlive-metapost-doc, texlive-pictures,<br />
  texlive-pictures-doc, texlive-pstricks, texlive-pstricks-doc, texlive-xetex,<br />
  tipa<br />
Description: texlive dummy package<br />
 This package provides dpkg with the information that<br />
 there is the package texlive-latex-base installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Kottwitz</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-462</link>
		<dc:creator>Stefan Kottwitz</dc:creator> 
		<pubDate>Sat, 04 Jul 2009 16:17:48 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-462</guid>
		<description>Hi Phil,

thank you for your contribution! I've just read your comment after that test and submission of my ctl file and the output.
It seems your way doesn't require the apt-get option --no-install-recommends.

Stefan</description>
		<content:encoded><![CDATA[<p>Hi Phil,</p>
<p>thank you for your contribution! I&#8217;ve just read your comment after that test and submission of my ctl file and the output.<br />
It seems your way doesn&#8217;t require the apt-get option &#8211;no-install-recommends.</p>
<p>Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Kottwitz</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-461</link>
		<dc:creator>Stefan Kottwitz</dc:creator> 
		<pubDate>Sat, 04 Jul 2009 16:07:12 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-461</guid>
		<description>Hi Panos,

on Jaunty there are indeed more dependencies for Kile. I've made a new Jaunty installation today and checked it. Kile depends on texlive-base-bin, texlive-latex-base and recommends texlive-metapost, texlive-xetex and more. They are depending on even more packages. Your solution is complete, but less packages would be sufficient.

For instance you could install Kile without recommended packages and select really needed dependencies.

I've tested this control file for equivs:
&lt;code&gt;
Section: tex
Package: texlive-dummy
Provides: tex-common, texlive-common, texlive-latex-base, texlive-metapost, texlive-xetex, texlive-base-bin, texlive-base-bin-doc
Description: texlive dummy package
 This package provides dpkg with the 
 information that there are certain tex
 packages installed.
&lt;/code&gt;
After processing with equivs and dpkg I've called apt-get this way:
&lt;pre lang="LaTeX"&gt;
sudo apt-get --no-install-recommends install kile
&lt;/pre&gt;
The end of the output was:
&lt;code&gt;
The following NEW packages will be installed:
  kde-icons-oxygen kdebase-runtime kdebase-runtime-bin-kde4
  kdebase-runtime-data kdebase-runtime-data-common kdelibs-bin kdelibs5
  kdelibs5-data kile konsole libaudio2 libclucene0ldbl libexiv2-5
  libmodplug0c2 libmpcdec3 libphonon4 libqt4-dbus libqt4-designer
  libqt4-network libqt4-qt3support libqt4-script libqt4-sql libqt4-svg
  libqt4-xml libqtcore4 libqtgui4 libraptor1 librasqal1 librdf0 libsoprano4
  libstreamanalyzer0 libstreams0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1
  libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x
  phonon-backend-xine soprano-daemon
0 upgraded, 42 newly installed, 0 to remove and 151 not upgraded.
Need to get 47.1MB of archives.
After this operation, 154MB of additional disk space will be used.
Do you want to continue [Y/n]?
&lt;/code&gt;
As you can see texlive packages would not be installed. Also imagemagick is not needed.

Stefan</description>
		<content:encoded><![CDATA[<p>Hi Panos,</p>
<p>on Jaunty there are indeed more dependencies for Kile. I&#8217;ve made a new Jaunty installation today and checked it. Kile depends on texlive-base-bin, texlive-latex-base and recommends texlive-metapost, texlive-xetex and more. They are depending on even more packages. Your solution is complete, but less packages would be sufficient.</p>
<p>For instance you could install Kile without recommended packages and select really needed dependencies.</p>
<p>I&#8217;ve tested this control file for equivs:<br />
<code><br />
Section: tex<br />
Package: texlive-dummy<br />
Provides: tex-common, texlive-common, texlive-latex-base, texlive-metapost, texlive-xetex, texlive-base-bin, texlive-base-bin-doc<br />
Description: texlive dummy package<br />
 This package provides dpkg with the<br />
 information that there are certain tex<br />
 packages installed.<br />
</code><br />
After processing with equivs and dpkg I&#8217;ve called apt-get this way:</p>

<div class="wp_syntax"><div class="code"><pre class="latex">sudo apt-get --no-install-recommends install kile</pre></div></div>

<p>The end of the output was:<br />
<code><br />
The following NEW packages will be installed:<br />
  kde-icons-oxygen kdebase-runtime kdebase-runtime-bin-kde4<br />
  kdebase-runtime-data kdebase-runtime-data-common kdelibs-bin kdelibs5<br />
  kdelibs5-data kile konsole libaudio2 libclucene0ldbl libexiv2-5<br />
  libmodplug0c2 libmpcdec3 libphonon4 libqt4-dbus libqt4-designer<br />
  libqt4-network libqt4-qt3support libqt4-script libqt4-sql libqt4-svg<br />
  libqt4-xml libqtcore4 libqtgui4 libraptor1 librasqal1 librdf0 libsoprano4<br />
  libstreamanalyzer0 libstreams0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1<br />
  libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x<br />
  phonon-backend-xine soprano-daemon<br />
0 upgraded, 42 newly installed, 0 to remove and 151 not upgraded.<br />
Need to get 47.1MB of archives.<br />
After this operation, 154MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code><br />
As you can see texlive packages would not be installed. Also imagemagick is not needed.</p>
<p>Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-458</link>
		<dc:creator>Phil</dc:creator> 
		<pubDate>Sat, 04 Jul 2009 14:32:25 +0000</pubDate>
		<guid>http://texblog.net/latex-archive/linux/kile-texlive-2008-equivs/#comment-458</guid>
		<description>My texlive.ctl looks like this:

Section: tex
Package: texlive-dummy
Provides: texlive-base-bin, texlive-latex-base, asymptote, context, dblatex, dvipdfmx, dvipng, ghostscript, jabref, latex2html, lilypond, tex4ht, texlive-metapost, texlive-xetex, ktexmaker2
Description: texlive dummy package
 This package provides dpkg with the information that
 there is the package texlive-latex-base installed.</description>
		<content:encoded><![CDATA[<p>My texlive.ctl looks like this:</p>
<p>Section: tex<br />
Package: texlive-dummy<br />
Provides: texlive-base-bin, texlive-latex-base, asymptote, context, dblatex, dvipdfmx, dvipng, ghostscript, jabref, latex2html, lilypond, tex4ht, texlive-metapost, texlive-xetex, ktexmaker2<br />
Description: texlive dummy package<br />
 This package provides dpkg with the information that<br />
 there is the package texlive-latex-base installed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
