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


Groups > linux.debian.kernel > #66747

Provides: wireguard-modules and transition plan

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Provides: wireguard-modules and transition plan
Date 2020-04-13 17:10 +0200
Message-ID <zV8SJ-8ho-9@gated-at.bofh.it> (permalink)
References (2 earlier) <zIRuh-rz-7@gated-at.bofh.it> <zIZLb-5qH-1@gated-at.bofh.it> <zJ0nT-5XO-1@gated-at.bofh.it> <zJ0Hg-653-13@gated-at.bofh.it> <zJ1MZ-6Xm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 11 Mar 2020 01:05:49 -0400 Daniel Kahn Gillmor <dkg@debian.org> wrote:
> On Wed 2020-03-11 03:50:00 +0000, Ben Hutchings wrote:
> > If some of the packages providing a virtual package are explicitly
> > installed, and some auto-installed, it could reasonably auto-remove the
> > latter group (though I don't think it does).  But if all of them are
> > auto-installed, which will be the case for kernel packages, it can't
> > tell which should be kept and which removed.
> 
> hm, right, i can see how that would be a problem.  thanks for the
> explanation.
> 
> > But nothing will auto-remove the wireguard package.  So you would have
> > to keep it as a transitional package for one release cycle, even when
> > it depends on just wireguard-tools.
> 
> I don't think it would be a problem to have a transitional package for
> one release cycle.  do you?

No, that's not a problem.

> > Yes, this is annoyingly complicated.  That's why I need there to be a
> > plan.
> 
> I'm open to any suggestions that you think would work better than what
> we've talked about so far.  Let me know what you prefer.

I would have preferred you to do the work, but OK.  I think this plan
works:

1. We add "Provides: wireguard-modules" to the kernel meta-packages
   (MR 232).
2. You make the wireguard meta-package depend on wireguard-modules |
   wireguard-dkms (or the other way around).
3. Wait for bullseye release.  Now you can assume the kernel has been
   upgraded.
4. You turn the wireguard meta-package into a transitional package
   depending only on wireguard-tools.
5. Wait for bookworm release.  Now we can assume the meta-package has
   been upgraded.
6. We drop "Provides: wireguard-modules".

(We could also replace the Provides with a versioned Breaks after step
4, but that doesn't allow us to get to the end state any earlier.)

Ben.

-- 
Ben Hutchings
73.46% of all statistics are made up.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#953569: linux: please cherry-pick wireguard patches from 5.6 Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2020-03-10 19:10 +0100
  Processed: linux: please cherry-pick wireguard patches from 5.6 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-03-10 19:10 +0100
  Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-11 00:20 +0100
    Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-11 04:00 +0100
      Bug#953569:  Daniel Kahn Gillmor <dkg@debian.org> - 2020-03-11 04:40 +0100
        Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-11 05:00 +0100
          Bug#953569:  Daniel Kahn Gillmor <dkg@debian.org> - 2020-03-11 06:10 +0100
            Provides: wireguard-modules and transition plan Ben Hutchings <ben@decadent.org.uk> - 2020-04-13 17:10 +0200
              Re: Provides: wireguard-modules and transition plan "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-04-13 21:40 +0200
      Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-11 05:30 +0100
        Bug#953569:  Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2020-03-11 06:10 +0100
        Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-21 04:30 +0100
          Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-21 05:30 +0100
            Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-21 05:40 +0100
              Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-21 07:10 +0100
                Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-28 06:20 +0100
                Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-28 10:40 +0100
      Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-12 02:10 +0100
        Bug#953569:  Ben Hutchings <ben@decadent.org.uk> - 2020-03-12 02:40 +0100
      Bug#953569:  "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-03-21 04:10 +0100
  Bug#953569: marked as done (linux: please cherry-pick wireguard  patches from 5.6) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-03-30 10:20 +0200

csiph-web