• Bug#1068582: python3-mercantile: dpkg fails upgrading from mercantile 1

    From Tomas Janousek@21:1/5 to All on Sun Apr 7 16:00:01 2024
    Package: python3-mercantile
    Version: 1.2.1-1
    Severity: normal

    The new "python3-mercantile" package contains files conflicting with the
    old "mercantile" package but the package metadata doesn't specify this,
    so upgrading from the old package fails:

    Unpacking python3-mercantile (1.2.1-1) over (1.1.5-1) ...
    dpkg: error processing archive /tmp/apt-dpkg-install-fL3mNH/44-python3-mercantile_1.2.1-1_all.deb (--unpack):
    trying to overwrite '/usr/bin/mercantile', which is also in package mercantile 1.1.5-1

    See https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces.

    -- System Information:
    Debian Release: trixie/sid
    APT prefers stable-security
    APT policy: (990, 'stable-security'), (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_USER
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages python3-mercantile depends on:
    ii python3 3.11.6-1
    ii python3-attr 23.2.0-2
    ii python3-certifi 2023.11.17-1
    ii python3-chardet 5.2.0+dfsg-1
    ii python3-click 8.1.7-1
    ii python3-coverage 7.2.7+dfsg1-1+b1
    ii python3-docopt 0.6.2-6
    ii python3-hypothesis 6.98.4-1
    ii python3-idna 3.6-2
    ii python3-iniconfig 1.1.1-2
    ii python3-packaging 23.2-1
    ii python3-pluggy 1.4.0-1
    ii python3-py 1.11.0-2
    ii python3-pydocstyle 6.3.0-1.1
    ii python3-pyparsing 3.1.1-1
    ii python3-requests 2.31.0+dfsg-1
    ii python3-snowballstemmer 2.2.0-4
    ii python3-sortedcontainers 2.4.0-2
    ii python3-toml 0.10.2-1
    ii python3-typing-extensions 4.10.0-1
    ii python3-urllib3 1.26.18-2
    ii python3-zipp 1.0.0-6

    python3-mercantile recommends no packages.

    python3-mercantile suggests no packages.

    -- no debconf information

    --
    Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/

    <!DOCTYPE html>

    <html lang="" xml:lang="" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta charset="utf-8"/>
    <meta content="pandoc" name="generator"/>
    <meta content="width=device-width, initial-scale=1.0, user-scalable=yes" name="viewport"/>
    <title>-</title>

    </head>
    <body>
    <p style="padding: 0 0.5em">Package: python3-mercantile<br/>
    Version: 1.2.1-1<br/>
    Severity: normal</p>
    <p style="padding: 0 0.5em">The new "python3-mercantile" package contains files conflicting with
    the old "mercantile" package but the package metadata doesn't specify
    this, so upgrading from the old package fails:</p>
    <pre style="line-height: 125%; padding: 0 1em"><code style="white-space: pre-wrap">Unpacking python3-mercantile (1.2.1-1) over (1.1.5-1) ...
    dpkg: error processing archive /tmp/apt-dpkg-install-fL3mNH/44-python3-mercantile_1.2.1-1_all.deb (--unpack):
    trying to overwrite &#39;/usr/bin/mercantile&#39;, which is also in package mercantile 1.1.5-1 </code></pre>
    <p style="padding: 0 0.5em">See <a class="uri" href="https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces">https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-
    replacing-packages-replaces</a>.</p>
    <p style="padding: 0 0.5em">-- System Information:<br/>
    Debian Release: trixie/sid<br/>
    APT prefers stable-security<br/>
    APT policy: (990, 'stable-security'), (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')<br/>
    Architecture: amd64 (x86_64)<br/>
    Foreign Architectures: i386</p>
    <p style="padding: 0 0.5em">Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)<br/>
    Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_USER<br/>
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE
    not set<br/>
    Shell: /bin/sh linked to /usr/bin/dash<br/>
    Init: systemd (via /run/systemd/system)<br/>
    LSM: AppArmor: enabled</p>
    <p style="padding: 0 0.5em">Versions of packages python3-mercantile depends on:<br/>
    ii python3 3.11.6-1<br/>
    ii python3-attr 23.2.0-2<br/>
    ii python3-certifi 2023.11.17-1<br/>
    ii python3-chardet 5.2.0+dfsg-1<br/>
    ii python3-click 8.1.7-1<br/>
    ii python3-coverage 7.2.7+dfsg1-1+b1<br/>
    ii python3-docopt 0.6.2-6<br/>
    ii python3-hypothesis 6.98.4-1<br/>
    ii python3-idna 3.6-2<br/>
    ii python3-iniconfig 1.1.1-2<br/>
    ii python3-packaging 23.2-1<br/>
    ii python3-pluggy 1.4.0-1<br/>
    ii python3-py 1.11.0-2<br/>
    ii python3-pydocstyle 6.3.0-1.1<br/>
    ii python3-pyparsing 3.1.1-1<br/>
    ii python3-requests 2.31.0+dfsg-1<br/>
    ii python3-snowballstemmer 2.2.0-4<br/>
    ii python3-sortedcontainers 2.4.0-2<br/>
    ii python3-toml 0.10.2-1<br/>
    ii python3-typing-extensions 4.10.0-1<br/>
    ii python3-urllib3 1.26.18-2<br/>
    ii python3-zipp 1.0.0-6</p>
    <p style="padding: 0 0.5em">python3-mercantile recommends no packages.</p>
    <p style="padding: 0 0.5em">python3-mercantile suggests no packages.</p>
    <p style="padding: 0 0.5em">-- no debconf information</p>
    <div class="signature" style="color: #999; font-family: monospace; white-space: pre; margin: 1em 0 0 0; font-size: 80%"><span class="leader">-- </span><br/>
    <pre style="line-height: 125%; padding: 0 1em"><code style="white-space: pre-wrap">Tomáš &quot;liskin&quot; (&quot;Pivník&quot;) Janoušek, https://lisk.in/
    </code></pre>
    </div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)