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

Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports



Package: linux-image-4.11.0-1-amd64-dbg
Version: 4.11.6-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + linux-image-amd64-dbg

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch-backports'.
It installed fine in 'stretch-backports', 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 linux-image-4.11.0-1-amd64-dbg.
  Preparing to unpack .../linux-image-4.11.0-1-amd64-dbg_4.11.6-1_amd64.deb ...
  Unpacking linux-image-4.11.0-1-amd64-dbg (4.11.6-1) ...
  dpkg: error processing archive /var/cache/apt/archives/linux-image-4.11.0-1-amd64-dbg_4.11.6-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/debug/.build-id/25/99e5c063eeb45c3b0068e66a8251a66f313afa.debug', which is also in package linux-image-4.11.0-0.bpo.1-amd64-dbg 4.11.6-1~bpo9+1
  Preparing to unpack .../linux-image-amd64-dbg_4.11+82_amd64.deb ...
  Unpacking linux-image-amd64-dbg (4.11+82) over (4.11+82~bpo9+1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/linux-image-4.11.0-1-amd64-dbg_4.11.6-1_amd64.deb


cheers,

Andreas

Attachment: linux-image-amd64-dbg_4.11+82.log.gz
Description: application/gzip


Reply to: