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

Bug#229725: tetex-base: Missing conflicts



Helge Kreutzmann <kreutzm@itp.uni-hannover.de> wrote:

> Package: tetex-base
> Version: 1.0.2+20011202-2
> Severity: normal
>
> Upgrading tetex-base failed:
>  versuche »/usr/share/texmf/dvips/config« zu überschreiben, welches
>  auch in Paket arabtex ist
>
> (english: trying to overwrite "/usr/share/texmf/dvips/config" which is
> also in paket arabtex)
>
> Removing arabtex by hand allowed me to install tetex-base.
>
> I don't have a woody changeroot at hand right now, but the easiest way
> to check this would be to creat a woody changeroot, install
> tetex+arabtex and upgrade to unstable. If that works, than simply
> close this bug (sorry for being unable to test that right now myself).

I've done it, it reproduces the bug. It is the same as #145403, which
has been fixed. However, the problem is that when tetex is upgraded and
arabtex is still at the buggy version, the error message comes again. 

I am not sure what we should do.  The submitter's suggestion, a
Conflicts: arabtex <=3.10-5, would be one way. However, policy says:

,----
| A Conflicts entry should almost never have an "earlier than" version
| clause. This would prevent dpkg from upgrading or installing the
| package which declared such a conflict until the upgrade or removal of
| the conflicted-with package had been completed.
`----

Thus, this seems to replace one installation error ("trying to
overwrite...") with an other. Or will there just be a "the following
packages have been kept back: tetex-base", and arabtex is upgraded, so
that tetex-base can be installed just by saying "apt-get upgrade" again? 

A Pre-Depends is also not encouraged by the policy. However it seems
this might give a smoother upgrade, and:

,----
| Pre-Depends should be used sparingly, preferably only by packages
| whose premature upgrade or installation would hamper the ability of
| the system to continue with any upgrade that might be in progress.
`----

This is exactly what we are facing.


I'm Cc:-ing the arabtex maintainer, perhaps he has some comments.

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: