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

Bug#670109: texlive-xetex: removal of texlive-xetex makes files disappear from texlive-math-extra



Package: texlive-xetex
Version: 2011.20120410-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts replaces-without-breaks

Hi,

during a test with piuparts and EDOS tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

The installation sequence to reproduce this problem is

  apt-get install texlive-math-extra
  # (1)
  apt-get install texlive-xetex
  apt-get remove texlive-xetex
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:

  /usr/share/doc/texlive-doc/latex/realscripts/README
  /usr/share/doc/texlive-doc/latex/realscripts/realscripts.pdf
  /usr/share/texlive/texmf-dist/tex/latex/realscripts/realscripts.sty

This is a serious bug violating policy 7.6, see
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
http://www.debian.org/doc/debian-policy/footnotes.html#f53

The texlive-xetex package has the following relationships with texlive-math-extra:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  texlive-math-extra (<= 2011.20120322-1)

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

1m46.5s INFO: Warning: Package purging left files on system:
  /var/lib/texmf/web2c/xetex/    not owned

1m46.5s ERROR: FAIL: After purging files have disappeared:
  /usr/share/doc/texlive-doc/latex/realscripts/README    owned by: texlive-xetex
  /usr/share/doc/texlive-doc/latex/realscripts/realscripts.pdf   owned by: texlive-xetex
  /usr/share/texlive/texmf-dist/tex/latex/realscripts/realscripts.sty    owned by: texlive-xetex

1m46.5s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/texlive-math-extra.list     not owned
  /var/lib/texmf/ls-R    not owned
  /var/lib/texmf/ls-R-TEXLIVEDIST        not owned
  /var/lib/texmf/web2c/fmtutil.cnf       not owned

The modified files are a consequence of the disappeared ones.

cheers,

Andreas

Attachment: texlive-math-extra=2011.20120322-1_texlive-xetex=2011.20120410-1.log.gz
Description: GNU Zip compressed data


Reply to: