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