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


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

Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts

From Helmut Grohne <helmut@subdivi.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts
Date 2024-01-17 18:40 +0100
Message-ID <HXi3p-3Kbq-9@gated-at.bofh.it> (permalink)
References <HVGCR-2KMn-1@gated-at.bofh.it> <HXh7l-3JCK-9@gated-at.bofh.it> <HVGCR-2KMn-1@gated-at.bofh.it> <HXh7l-3JCK-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Sam,

On Wed, Jan 17, 2024 at 09:33:25AM -0700, Sam Hartman wrote:
> I'd really like to understand why this is desired dpkg behavior.

I fear I have to defer to Guillem on this one. My rough understanding is
that we can minimize the window of time during which the files are
missing. Though given that apt only exercises this feature on mutual
conflicts and otherwise removes the conflicted package early, the
practical consequences of that reasoning may be questionable.

> I appreciate that even if it is not desired behavior, we might not be
> able to get it fixed in ways that matter for this discussion.

This is the main reason for me having skipped the question of whether
that behaviour is desirable.

> However my intuition is that it  will help me at least think about the
> situation.

That is a very sensible approach.

> As an example if the reason that behavior is needed has to do with some
> situation involving essential packages and conflicts, I'd like to
> understand that situation and how common it is.

Practically speaking, it cannot be very common. In the essential set, we
very much avoid Conflicts where possible and the DEP17 work will not
introduce Conflicts in the Priority: required set for mitigating P1
(file loss due to move between packages and from aliased to physical)
problems. All of those problems will use protective diversions that do
not run into the risk at hand. The one Conflicts that I plan to
introduce in essential is gzip -> zutils. Outside, apt prefers resolving
these by removing packages before there is a concurrent unpack
situation.

> It would not be the first time in this discussion that we have
> discovered a new complexity.

Sure thing. Late discovery of new complexities is the biggest risk of
the DEP17 transition.

Helmut

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


Thread

Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Helmut Grohne <helmut@subdivi.de> - 2024-01-13 08:30 +0100
  Bug#1058937: Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Helmut Grohne <helmut@subdivi.de> - 2024-01-17 15:20 +0100
    Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Matthew Vernon <matthewv@chiark.greenend.org.uk> - 2024-02-19 11:00 +0100
      Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Helmut Grohne <helmut@subdivi.de> - 2024-02-19 12:20 +0100
  Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Sam Hartman <hartmans@debian.org> - 2024-01-17 17:40 +0100
    Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Helmut Grohne <helmut@subdivi.de> - 2024-01-17 18:40 +0100
  Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Matthew Vernon <matthewv@chiark.greenend.org.uk> - 2024-02-19 11:00 +0100
    Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Helmut Grohne <helmut@subdivi.de> - 2024-02-19 12:20 +0100
    Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Sam Hartman <hartmans@debian.org> - 2024-02-20 16:30 +0100
      Bug#1060700: Requesting advice regarding the impact of problems caused by aliasing on declared Conflicts Russ Allbery <rra@debian.org> - 2024-02-20 17:20 +0100

csiph-web