Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214077

Bug#1082558: dpkg: confusing warning message

From Guillem Jover <guillem@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.dpkg
Subject Bug#1082558: dpkg: confusing warning message
Date 2024-09-24 03:50 +0200
Message-ID <Jq2QF-eoPd-1@gated-at.bofh.it> (permalink)
References <Jpqs1-e1Lo-3@gated-at.bofh.it> <Jpqs1-e1Lo-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi!

On Sun, 2024-09-22 at 10:42:03 +0200, Patrice Duroux wrote:
> Source: dpkg
> Version:1.22.11
> Severity: wishlist

> On a biarch system (amd64,i386) and using --force options (note that I am
> aware of the taken risk ;-)), dpkg shows:
> 
> $ dpkg --force-all -i libllvm19_1%3a19.1.0-3_i386.deb
> (Reading database ... 722987 files and directories currently installed.)
> Preparing to unpack libllvm19_1%3a19.1.0-3_i386.deb ...
> Unpacking libllvm19:i386 (1:19.1.0-3) over (1:19.1.0-3) ...
> dpkg: warning: overriding problem because --force enabled:
> dpkg: warning: trying to overwrite shared
> '/usr/lib/llvm-19/lib/libLLVM.so.19.1', which is different from other
> instances of package libllvm19:i386
> 
> I think that the given message is confusing while including the arch,
> here (:i386) which is the one of this package itself and not the
> possible other instances.
> Shouldn't it be better to have: 'which is different from other
> instances of package libllvm19'?

I think removing the arch qualifier would make it lose relevant
information, but I think I see what you mean. Would something like the
following string make it more clear?

  dpkg: warning: trying to overwrite shared '<pathname>' from
    multi-arch package <package>,
    which is different from currently unpacked instance <package>:<arch>

Even though that repeats the package name, perhaps an alternative
with less repetition could be:

  dpkg: warning: trying to overwrite shared '<pathname>' from
    multi-arch package <package>,
    which is different from currently unpacked <arch> instance

Or thereabouts? (Both being way way longer though.)

Thanks,
Guillem

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1082558: dpkg: confusing warning message Patrice Duroux <patrice.duroux@gmail.com> - 2024-09-22 10:50 +0200
  Bug#1082558: dpkg: confusing warning message Guillem Jover <guillem@debian.org> - 2024-09-24 03:50 +0200
    Bug#1082558: dpkg: confusing warning message Patrice Duroux <patrice.duroux@gmail.com> - 2024-09-24 10:00 +0200
      Bug#1082558: dpkg: confusing warning message Guillem Jover <guillem@debian.org> - 2024-09-24 15:00 +0200

csiph-web