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

Bug#405245: marked as done ("aptitude install texlive" fails w/broken resolution)



Your message dated Tue, 2 Jan 2007 07:46:31 +0100
with message-id <20070102064631.GC19134@gamma.logic.tuwien.ac.at>
and subject line Bug#405245: "aptitude install texlive" fails w/broken resolution
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: texlive
Severity: important

Running aptitude install texlive, (not apt-get) results in errors
that keep one from installing the complete package. I suspect it's a 
problem with feynmf and prosper. Here's the message aptitude gives me:

The following packages have unmet dependencies:
  feynmf: Depends: texlive-font-utils but it is not installable or
                   tetex-bin but it is not installable
          Depends: texlive-extra-utils but it is not installable or
                   tetex-bin but it is not installable
  prosper: Depends: tetex-extra but it is not installable or
                    texlive-pstricks but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
texlive-generic-recommended [2005.dfsg.2-4 (testing)]
texlive-pstricks [2005.dfsg.2-3 (testing)]

Keep the following packages at their current version:
feynmf [Not Installed]

Leave the following dependencies unresolved:
texlive-metapost recommends feynmf
Score is -279

Accept this solution? [Y/n/q/?] 

Since texlive is a large metapackage, it is very useful to be
able to use aptitude with it well; because that way if one
wants to remove the metapackage and all its dependencies, aptitude
can do that.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Hi Joshua!

I am closing this bug as it is not a "bug" but a "feature" of aptitude,
lets put it this way. The point is that aptitude tries to find a smart
solution. "smart" in this case seems to be not really smart, but that's
the way it works. Here is a detailed explanation:

On Die, 02 Jan 2007, Norbert Preining wrote:
> > Leave the following dependencies unresolved:
> > texlive-metapost recommends feynmf
> > Score is -279
> > 
> > Accept this solution? [Y/n/q/?] 
> 
> THis is strange. Can you please tell us the version of feynmf which you
> have as candidate:
> 	apt-cache policy feynmf

Ok, it is not about feynmf, nor about texlive, it is about a bug (?) in
aptitude:

feynmf prefers texlive over tetex
prosper prefers tetex over texlive 

(in the sense of order of the dependencies).

Now prosper asks for 
	tetex-extra | texlive-pstricks
but texlive does not pull in texlive-pstricks automatically. So what
happens is that aptitude considers the solution of installing
texlive-pstricks as less good than the solution to leave fenymf and
prosper uninstalled.

If you select two time `n' aptitude will propose the 'correct' solution:
$ aptitude install texlive
...
The following actions will resolve these dependencies:

Install the following packages:
texlive-generic-recommended [2005.dfsg.2-5 (unstable)]
texlive-pstricks [2005.dfsg.2-4 (unstable)]

Keep the following packages at their current version:
feynmf [Not Installed]

Leave the following dependencies unresolved:
texlive-metapost recommends feynmf
Score is -279

Accept this solution? [Y/n/q/?] n
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
feynmf [Not Installed]
prosper [Not Installed]

Leave the following dependencies unresolved:
texlive-latex-recommended recommends prosper (>=
1.00.4+cvs.2006.10.22-1)
texlive-metapost recommends feynmf
Score is -332

Accept this solution? [Y/n/q/?] n
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
dvi2tty [5.3.1-3 (unstable)]
dviutils [2.19-12 (unstable)]
texlive-extra-utils [2005.dfsg.2-8 (unstable)]
texlive-font-utils [2005.dfsg.2-8 (unstable)]
texlive-generic-recommended [2005.dfsg.2-5 (unstable)]
texlive-pstricks [2005.dfsg.2-4 (unstable)]

Leave the following dependencies unresolved:
texlive-extra-utils recommends lacheck
Score is -564

Accept this solution? [Y/n/q/?] y
...
-------------- end of typescript ----------------------


So selecting two times n and then yes you will have texlive installed as
you wanted.

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
-------------------------------------------------------------------------------
BROATS
A pair of trousers with a career behind them. Broats are most commonly
seen on elderly retired army officers. Originally the brats were part
of their best suit back in the thirties; then in the fifties they were
demounted and used for gardening. Recently pensions not being what
they were, the broats have been called out of retirement and
reinstated as part of the best suit again.
			--- Douglas Adams, The Meaning of Liff

--- End Message ---

Reply to: