Bug#661471: gnome-themes-standard: removal of gnome-themes-standard makes files disappear from gnome-accessibility-themes

Andreas Beckmann debian at abeckmann.de
Mon Feb 27 13:06:29 UTC 2012


Package: gnome-themes-standard
Version: 
Severity: serious
User: debian-qa at 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 gnome-accessibility-themes
  # (1)
  apt-get install gnome-themes-standard
  apt-get remove gnome-themes-standard
  # (2)

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

  /usr/share/icons/HighContrast/index.theme
  /usr/share/icons/HighContrastInverse/index.theme
  /usr/share/themes/HighContrast/gtk-2.0/gtkrc
  /usr/share/themes/HighContrast/index.theme
  /usr/share/themes/HighContrastInverse/gtk-2.0/gtkrc
  /usr/share/themes/HighContrastInverse/index.theme
  /usr/share/themes/LowContrast/gtk-2.0/gtkrc
  /usr/share/themes/LowContrast/index.theme

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 gnome-themes-standard package has the following relationships with gnome-accessibility-themes:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  gnome-accessibility-themes (<< 3.0)

gnome-accessibility-themes is only available as 2.30.2-1 in squeeze, wheezy, and sid.

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

0m40.0s ERROR: FAIL: After purging files have disappeared:
  /usr/share/icons/HighContrast/index.theme      owned by: gnome-themes-standard
  /usr/share/icons/HighContrastInverse/index.theme       owned by: gnome-themes-standard
  /usr/share/themes/HighContrast/gtk-2.0/gtkrc   owned by: gnome-themes-standard
  /usr/share/themes/HighContrast/index.theme     owned by: gnome-themes-standard
  /usr/share/themes/HighContrastInverse/gtk-2.0/gtkrc    owned by: gnome-themes-standard
  /usr/share/themes/HighContrastInverse/index.theme      owned by: gnome-themes-standard
  /usr/share/themes/LowContrast/gtk-2.0/gtkrc    owned by: gnome-themes-standard
  /usr/share/themes/LowContrast/index.theme      owned by: gnome-themes-standard

0m40.0s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/gnome-accessibility-themes.list     not owned


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: REPL_gnome-accessibility-themes_gnome-themes-standard.log.gz
Type: application/x-gzip
Size: 9713 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120227/388850a9/attachment.bin>


More information about the pkg-gnome-maintainers mailing list