Package: nano
Version: 2.8.6-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' 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 nano.
  Preparing to unpack .../nano_2.8.6-2_amd64.deb ...
  Unpacking nano (2.8.6-2) ...
  dpkg: error processing archive /var/cache/apt/archives/nano_2.8.6-2_amd64.deb 
(--unpack):
   trying to overwrite '/usr/share/info/nano.info.gz', which is also in package 
nano-tiny 2.8.6-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/nano_2.8.6-2_amd64.deb

This bug is the opposite direction of #869876. Since you obviously moved
a file from nano-tiny to nano, you need corresponding versioned Breaks+Replaces.


cheers,

Andreas

Attachment: nano-tiny=2.8.6-1_nano=2.8.6-2.log.gz
Description: application/gzip

Reply via email to