Bug#824800: hunspell-es: fails to upgrade from 'jessie' - trying to overwrite /usr/share/hunspell/es_ES.aff
On 2016-05-19 23:52, Mattia Rizzolo wrote: > The question is: shouldn't the update have tried to update both? Do we > actually try support partial upgrades? Even if a "regular" upgrade would upgrade both packages, there is no guarantee on ordering. So I'm trying to exercise worst-case upgrade paths that are valid (i.e. not violating package relationships). I'm not even sure that this falls under "partial" upgrade. If myspell-es would get removed from testing (it has no rdepends), this bug (in huspell-es) would get more exposure. Andreas
Bug#824800: hunspell-es: fails to upgrade from 'jessie' - trying to overwrite /usr/share/hunspell/es_ES.aff
On Thu, May 19, 2016 at 11:35:47PM +0200, Andreas Beckmann wrote: > during a test with piuparts I noticed your package fails to upgrade from > 'jessie'. > It installed fine in 'jessie', then the upgrade to 'stretch' fails > because it tries to overwrite other packages files without declaring a > Breaks+Replaces relation. > > >From the attached log (scroll to the bottom...): > > Selecting previously unselected package hunspell-es. > Preparing to unpack .../hunspell-es_1%3a5.1.3-1_all.deb ... > Unpacking hunspell-es (1:5.1.3-1) ... > dpkg: error processing archive > /var/cache/apt/archives/hunspell-es_1%3a5.1.3-1_all.deb (--unpack): >trying to overwrite '/usr/share/hunspell/es_ES.aff', which is also in > package myspell-es 1.11-9 Guess I can add something here too. That would be a conflicts, though. myspell-es in stretch has a "Conflicts: hunspell-es" that clearly prevents this situation in stretch. The question is: shouldn't the update have tried to update both? Do we actually try support partial upgrades? -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#824800: hunspell-es: fails to upgrade from 'jessie' - trying to overwrite /usr/share/hunspell/es_ES.aff
Package: hunspell-es Version: 1:5.1.3-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package fails to upgrade from 'jessie'. It installed fine in 'jessie', then the upgrade to 'stretch' 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 hunspell-es. Preparing to unpack .../hunspell-es_1%3a5.1.3-1_all.deb ... Unpacking hunspell-es (1:5.1.3-1) ... dpkg: error processing archive /var/cache/apt/archives/hunspell-es_1%3a5.1.3-1_all.deb (--unpack): trying to overwrite '/usr/share/hunspell/es_ES.aff', which is also in package myspell-es 1.11-9 Errors were encountered while processing: /var/cache/apt/archives/hunspell-es_1%3a5.1.3-1_all.deb cheers, Andreas myspell-es=1.11-9_hunspell-es=1%5.1.3-1.log.gz Description: application/gzip