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'?
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
Also, the installed package providing the current file that is
conflicting might not be related
to that package (multiarch or not). I mean that it could be another
unrelated package.
I wasn't sure if it was a hint message from dpkg that determined the
current proprietary
package of the file (and so it should be another arch) or if it was a
generic message for
all cases.
So maybe if dpkg can't determine at that time which already installed
package is conflicting
for the file to provide better guidance, the message should be very
simple and avoid any
additional sentences. No?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 37:22:57 |
Calls: | 10,392 |
Calls today: | 3 |
Files: | 14,064 |
Messages: | 6,417,161 |