Bug#671716: texlive-latex-base: fails to upgrade from squeeze - trying to overwrite /usr/share/man/man1/mptopdf.1.gz

2012-05-06 Thread Frank Küster
Andreas Beckmann  wrote:

> Package: texlive-latex-base
> Version: 2011.20120424-1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package fails to upgrade from
> 'squeeze'.
> It installed fine in 'squeeze', then the upgrade to 'wheezy' fails
> because it tries to overwrite other packages files without declaring a
> replaces relation.
[...]
>   Unpacking replacement texlive-latex-base ...
>   dpkg: error processing 
> /var/cache/apt/archives/texlive-latex-base_2011.20120424-1_all.deb (--unpack):
>trying to overwrite '/usr/share/man/man1/mptopdf.1.gz', which is also in 
> package context 2009.11.26-2

We need

Replaces: context (<< 2011)
Breaks: context (<< 2011)

I've committed that; maybe <= would be better, but I don't know what to
exactly put there and if it's worth it.

Regards, Frank

-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#671716: texlive-latex-base: fails to upgrade from squeeze - trying to overwrite /usr/share/man/man1/mptopdf.1.gz

2012-05-06 Thread Andreas Beckmann
Package: texlive-latex-base
Version: 2011.20120424-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'squeeze'.
It installed fine in 'squeeze', then the upgrade to 'wheezy' fails
because it tries to overwrite other packages files without declaring a
replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

>From the attached log (scroll to the bottom...):

  Unpacking replacement texlive-latex-base ...
  dpkg: error processing 
/var/cache/apt/archives/texlive-latex-base_2011.20120424-1_all.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/mptopdf.1.gz', which is also in 
package context 2009.11.26-2


cheers,

Andreas


texlive-full_2011.20120424-1.log.gz
Description: GNU Zip compressed data