[Pkg-chromium-maint] Bug#877970: chromium-common, chromium-shell: security update in stable invalidated Breaks+Replaces for package split in testing/sid

Andreas Beckmann anbe at debian.org
Sun Oct 8 07:36:25 UTC 2017


Package: chromium-common,chromium-shell
Version: 61.0.3163.100-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

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

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

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

  Selecting previously unselected package chromium-common.
  Preparing to unpack .../chromium-common_61.0.3163.100-2_amd64.deb ...
  Unpacking chromium-common (61.0.3163.100-2) ...
  dpkg: error processing archive /var/cache/apt/archives/chromium-common_61.0.3163.100-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/chromium/natives_blob.bin', which is also in package chromium 61.0.3163.100-1~deb9u1

  Selecting previously unselected package chromium-shell.
  Preparing to unpack .../8-chromium-shell_61.0.3163.100-2_amd64.deb ...
  Unpacking chromium-shell (61.0.3163.100-2) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-ZM2SS4/8-chromium-shell_61.0.3163.100-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/chromium/content_shell.pak', which is also in package chromium 61.0.3163.100-1~deb9u1

Since I expect chromium to frequently get new upstream releases into stable,
I'm afraid you'll have to use

    Breaks+Replaces: chromium (<< ${binary:Version})

for the buster release cycle to ensure upgrades from stretch continue to work.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chromium=61.0.3163.100-1~deb9u1_chromium-common=61.0.3163.100-2.log.gz
Type: application/gzip
Size: 31027 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20171008/8bd18771/attachment-0001.bin>


More information about the Pkg-chromium-maint mailing list