[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#395270: requires mktexlsr from tetex-bin package



Hi all!

On Don, 26 Okt 2006, Norbert Preining wrote:
> On Mit, 25 Okt 2006, Soeren Sonnenburg wrote:
> > Version: 2005.dfsg.2-2
> > Severity: grave
> > 
> > else the package is uninstallable as it calls mktexlsr in .postinst
> 
> Umpf, yes. Why the **** is tetex-bin depending on tetex-base and not the
> other way round ....
> 
> Anyway, I guess I have to change all the alternative dependencies of
> texlive to tetex-bin instead of tetex-base.
> 
> Is this ok???? teTeX Gurus please speak up?
> 
> Currently you could install:
> 	texlive-pictures
> 	tetex-base
> without tetex-bin. Umpf.

Currently tpm2deb.pl has the following code:
                # various texlive packages optionally depend on tetex:
                # so we have to replace
                #       texlive-base    ->      texlive-base | tetex-base
                #       texlive-latex-base ->   texlive-latex-base | tetex-base
                if (!unversioned_tetex_conflict(@AllConflicts)) {
                        my @newdep = ();
                        foreach $d (@AllDepends) {
                                if ($d =~ m/^texlive-base$/) { 
                                        $o = "texlive-base | tetex-base"; 
                                } elsif ($d =~ m/^texlive-latex-base$/) {
                                        $o = "texlive-latex-base | tetex-base";
                                } else {
                                        $o = $d;
                                }
                                push @newdep, $o;
                        }
                        @AllDepends = @newdep;
                }

I guess that should be the following:

Replacing
	texlive-base
with
	texlive-base | tetex-bin

and replacing 
	texlive-latex-base
with
	texlive-latex-base | tetex-bin

Do you agree?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
POLBATHIC (adj.)
Gifted with ability to manipulate taps using only the feet.
			--- Douglas Adams, The Meaning of Liff



Reply to: