severity 391377 important
thanks

Hi,  I think this is related to the bug I reported, but it is an even
worse issue.

# apt-cache policy auctex
auctex:
  Installed: 11.55-1
  Candidate: 11.83-2.1
  Version table:
     11.83-2.1 0
        500 http://localhost unstable/main Packages
     11.83-2 0
        500 http://localhost unstable/main Packages
 *** 11.55-1 0
        100 /var/lib/dpkg/status

So this is an NMU that I prepared in a local apt repository.  With this
version, auctex declares

Replaces: preview-latex
Provides: preview-latex
Conflicts: emacspeak (<= 17.0-1), preview-latex

apt-get dist-upgrade from sarge to sid does the right thing:  upgrade
auctex and remove preview-latex.  However, aptitude does not get this
simple thing right:

The following packages have unmet dependencies:
  auctex: Conflicts: preview-latex but 0.9.1-4 is to be installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
bzip2 [1.0.3-6 (unstable)]

Keep the following packages at their current version:
auctex [11.55-1 (now)]
initscripts [2.86.ds1-1 (now)]

Leave the following dependencies unresolved:
tetex-bin recommends libxml-parser-perl
Score is -319

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

The simple practical solution to this particular problem will be to
remove preview-latex from the archive as soon as auctex has reached
testing.  But I think something's seriously wrong with aptitude's
decisions: It should not ignore the Conflicts/Replaces/Provides just
because there's a newer version of preview-latex available.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to