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


Groups > linux.debian.kernel > #66509

Bug#953569:

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#953569:
Date 2020-03-11 05:00 +0100
Message-ID <zJ0Hg-653-13@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> <zIRuh-rz-7@gated-at.bofh.it> <zJ0nT-5XO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

On Tue, 2020-03-10 at 23:31 -0400, Daniel Kahn Gillmor wrote:
> Thanks to Ben and Jason for following up here.
> 
> On Wed 2020-03-11 02:52:43 +0000, Ben Hutchings wrote:
> > We definitely can't add a Provides on "real" kernel packages, because
> > this breaks auto-removal of old packages.
> 
> I'm not sure i understand this.  by "real" kernel packages i think you
> mean something like linux-image-5.4.0-4-amd64.
> 
> If linux-image-5.5.0-1-amd64 were installed, with such a Provides:, and
> then linux-image-5.5.0-2-amd64 were installed, also with such a
> Provides:, then why wouldn't autoremoval of linux-image-5.5.0-1-amd64
> still work?  The system would still have the Provides: satisfied.
> 
> Feel free to point me at some piece of Apt or dpkg documentation if i'm
> missing something obvious.

I don't know where/if it's explicitly documented, but it would be with
apt if anywhere.

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.

> > We could possibly add it to the meta-packages, but there would have to
> > be a plan for how we can drop it later (and have the Wireguard
> > user-space just assume the kernel supports it).
> 
> When we can just assume that the kernel supports it, we might just drop
> the "wireguard" package entirely, and supply only the "wireguard-tools"
> package (maybe at that point, we make "wireguard-tools" itself Provide:
> wireguard).

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.

Yes, this is annoyingly complicated.  That's why I need there to be a
plan.

Ben.

> At that point, we certainly wouldn't need the Provides: on
> the kernel.
> 
> > We definitely shouldn't accumulate Provides for every component that
> > was previously packaged out-of-tree.
> 
> I can see how that would be problematic :)
> 
>   --dkg
-- 
Ben Hutchings
Humour is the best antidote to reality.

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