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


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

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 15:00 +0200
Message-ID <Jqdj3-evu9-9@gated-at.bofh.it> (permalink)
References (1 earlier) <Jq2QF-eoPd-1@gated-at.bofh.it> <Jpqs1-e1Lo-3@gated-at.bofh.it> <Jq8CJ-espK-7@gated-at.bofh.it> <Jpqs1-e1Lo-3@gated-at.bofh.it> <Jq8CJ-espK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi!

On Tue, 2024-09-24 at 09:47:55 +0200, Patrice Duroux wrote:
> 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.

No, this message is always only concerned about multi-arch instances,
of the same package. There is no support for ref-counting for anything
that is not a Multi-Arch:same 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.

The message is only about a conflict that occurs when installing a
multi-arch instance when other instances of the same package are
already unpacked, and the new one does not match the digest for the
other ones.

> 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?

See above, the current instance conflicts with all existing ones (at
the same version). It could also print instead all the existing ones,
but that would make the message longer, and the information for the
current instance is readily available, so I'm not sure what would be
the gain with a reversal of the affected packages?

(I'm now wondering whether I really understand the source of the
confusion for the error message. :)

Thanks,
Guillem

Back to linux.debian.bugs.dist | Previous | Next — Previous 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