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

Bug#503462: texlive-extra-utils must Replaces: tetex-bin



On Mon, Oct 27, 2008 at 01:03:37AM +0100, Norbert Preining wrote:
> On Sun, 26 Oct 2008, Bill Allombert wrote:
> > Package: texlive-extra-utils
> > Version: 2007.dfsg.2-3
> > Severity: serious
> > 
> > When upgrading a clean Etch system to Lenny, I get
> > 
> >   Unpacking texlive-extra-utils (from .../texlive-extra-utils_2007.dfsg.2-3_i386.deb) ...
> >   dpkg: error processing /var/cache/apt/archives/texlive-extra-utils_2007.dfsg.2-3_i386.deb (--unpack):
> >    trying to overwrite `/usr/bin/patgen', which is also in package tetex-bin
> >   dpkg-deb: subprocess paste killed by signal (Broken pipe)
> >   Errors were encountered while processing:
> >    /var/cache/apt/archives/texlive-extra-utils_2007.dfsg.2-3_i386.deb
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > tetex-bin in Etch includes /usr/bin/patgen so texlive-extra-utils
> > needs to Replaces: tetex-bin.
> 
> That is *STRANGE*, *really* strange:
> 
> We have
> 	texlive-extra-utils depends on texlive-common (>= 2007)
> and 
> 	texlive-common conflicts with tetex-bin (<< 2007)
> 
> How did it come that you had tetex-bin *installed* and at the same time
> texlive-common which is necessary for texlive-extra-utils?
> 
> Or do I miss something here?

Yes, Replaces are necessary at unpacking time while Conflicts and
Depends need only to be satified at configure time. During an upgrade
unpacking can happen before removing.

Cheers,
Bill.



Reply to: