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

Bug#799845: myspell-en-gb, hunspell-en-gb: *another* file conflict



Package: hunspell-en-gb
Version: 1:5.0.1+dfsg-3
Severity: serious
Justification: Policy 7.4

Today, my dist-upgrade broke:


The following NEW packages will be installed:
  hunspell-en-gb
[…]
The following packages will be upgraded:
  libwayland-egl1-mesa:i386 libwayland-egl1-mesa libxml2-utils locales-all multiarch-support myspell-en-gb
[…]
Selecting previously unselected package hunspell-en-gb.
Preparing to unpack .../hunspell-en-gb_1%3a5.0.1+dfsg-3_all.deb ...
Unpacking hunspell-en-gb (1:5.0.1+dfsg-3) ...
dpkg: error processing archive /var/cache/apt/archives/hunspell-en-gb_1%3a5.0.1+dfsg-3_all.deb (--unpack):
 trying to overwrite '/usr/share/hunspell/en_GB.aff', which is also in package myspell-en-gb 1:3.3.0-4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
[…]
Preparing to unpack .../myspell-en-gb_1%3a5.0.1+dfsg-3_all.deb ...
Unpacking myspell-en-gb (1:5.0.1+dfsg-3) over (1:3.3.0-4) ...
[…]
Errors were encountered while processing:
 /var/cache/apt/archives/hunspell-en-gb_1%3a5.0.1+dfsg-3_all.deb


Now I have no idea why I would wish to have hunspell *or* myspell
(i.e. I don’t know why I’d want to choose one, the other, or both),
but it’s clear that the upgrade process can install packages in an
arbitrary order unless clearly defined by package relationships.

In this case, hunspell-en-gb (1:5.0.1+dfsg-3) overwrites files
from myspell-en-gb (1:3.3.0-4) and thus must declare a versioned
Conflicts on it (or a Replaces, but that has other issues).

Trying to install hunspell-en-gb (1:5.0.1+dfsg-3) once the upgrade
to myspell-en-gb (1:5.0.1+dfsg-3) is finished works, so hunspell-en-gb
is the one which requires a versioned conflict.

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages myspell-en-gb depends on:
pn  hunspell-en-gb  <none>

myspell-en-gb recommends no packages.

myspell-en-gb suggests no packages.

-- no debconf information


Reply to: