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

Bug#557117: texlive-base need conflict with old luatex



found 557117 2009-2
stop

On 21.11.09 Norbert Preining (preining@logic.at) wrote:
> On Sa, 21 Nov 2009, Hilmar Preusse wrote:

Hi,

> > > Reported already, fixed already by adding replace <= 0.40.6 and 
> > > depends >= 0.44.0
> > > 
> > Not sure, if we need a versioned depend and replace at the same time.
> > If the TL package depends on luatex > x.y a luatex package of version
> > x.y-1 will kicked out by itself.
> 
> I am not 100% sure. It might happen that the one is unpacked before
> the other is unpacked, which will create a failure.
> 
> initial state:
> 	- luatex old, texlive-base old installed
> 	- both are upgraded, apt-get is happy because of depends satisfied
> 	- both are unpacked, but first the texlive-base and tries
> 	  to overwrite the old files that are still there
> ??
> 
With the new texlive-base the problem still occurs:

(Reading database ... 93754 files and directories currently installed.)
Preparing to replace texlive-base 2007.dfsg.2-4 (using .../texlive-base_2009-2_all.deb) ...
Unpacking replacement texlive-base ...
dpkg: error processing
/var/cache/apt/archives/texlive-base_2009-2_all.deb (--unpack):
 trying to overwrite '/usr/bin/dviluatex', which is also in package
/ luatex 0:0.40.6-1+b1
Processing triggers for menu ...
Processing triggers for install-info ...
Errors were encountered while processing:
 /var/cache/apt/archives/texlive-base_2009-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I guess we need a "conflict" here, instead of a replace.

H.
-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.
  http://www.hilmar-preusse.de.vu/



Reply to: