From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: dave@natulte.net Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 12116eea for ; Mon, 20 Feb 2017 23:52:56 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 9f4086f5 for ; Mon, 20 Feb 2017 23:52:56 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id t8so70582884vke.3 for ; Mon, 20 Feb 2017 15:53:42 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <87efywha2u.fsf@alice.fifthhorseman.net> References: <874lzzqai9.fsf@alice.fifthhorseman.net> <87o9y4n555.fsf@alice.fifthhorseman.net> <87efywha2u.fsf@alice.fifthhorseman.net> From: David Anderson Date: Mon, 20 Feb 2017 15:53:21 -0800 Message-ID: Subject: Re: (Unofficial) wireguard packages for Debian Stretch (testing) To: Daniel Kahn Gillmor Content-Type: multipart/alternative; boundary=001a11440db81becc20548fef91d Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --001a11440db81becc20548fef91d Content-Type: text/plain; charset=UTF-8 On Fri, Feb 17, 2017 at 11:49 AM, Daniel Kahn Gillmor wrote: > On Thu 2017-02-16 22:14:11 -0500, David Anderson wrote: > > The transcript below still shows one additional package being pulled from > > sid/main, the dkms package. I find this strange: wireguard-dkms depends > on > > dkms >=2.1.0.0, stretch has dkms 2.3-2, and sid has dkms 2.3-3. Despite > the > > negative priority for unstable, apt picks 2.3-3 from sid, even though the > > dependency could be satisfied out of stretch. What am I missing? > > That is indeed weird. what does "apt-cache policy dkms" show you? > # apt-cache policy dkms dkms: Installed: (none) Candidate: 2.3-2 Version table: 2.3-3 -1 -10 http://ftp.us.debian.org/debian sid/main amd64 Packages 100 /var/lib/dpkg/status 2.3-2 500 500 http://ftp.us.debian.org/debian stretch/main amd64 Packages what if you "apt install dkms" on its own first, which version do you > get? > # apt install -d dkms Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fakeroot gcc libfakeroot linux-headers-amd64 Suggested packages: python3-apport menu gcc-multilib autoconf automake libtool flex bison gdb gcc-doc The following NEW packages will be installed: dkms fakeroot gcc libfakeroot linux-headers-amd64 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 217 kB of archives. After this operation, 717 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.us.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-1 [5,184 B] Get:2 http://ftp.us.debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB] Get:3 http://ftp.us.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:4 http://ftp.us.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] Get:5 http://ftp.us.debian.org/debian stretch/main amd64 linux-headers-amd64 amd64 4.9+78 [5,744 B] Fetched 217 kB in 0s (328 kB/s) Download complete and in download only mode Looks like installing just dkms correctly selects from Stretch, whereas installing as a dependency of wireguard-dkms pulls in the sid version. - Dave > > --dkg > --001a11440db81becc20548fef91d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On F= ri, Feb 17, 2017 at 11:49 AM, Daniel Kahn Gillmor <dkg@fifthhorseman.n= et> wrote:
On Thu 2017-02-16 22:14:11 -0500, David Anderson = wrote:
> The transcript below still shows one additional package being pulled f= rom
> sid/main, the dkms package. I find this strange: wireguard-dkms depend= s on
> dkms >=3D2.1.0.0, stretch has dkms 2.3-2, and sid has dkms 2.3-3. D= espite the
> negative priority for unstable, apt picks 2.3-3 from sid, even though = the
> dependency could be satisfied out of stretch. What am I missing?

That is indeed weird.=C2=A0 what does "apt-cache policy dkms&qu= ot; show you?

# apt-cache policy d= kms
dkms:
=C2=A0 Installed: (none)
=C2=A0 Can= didate: 2.3-2
=C2=A0 Version table:
=C2=A0 =C2=A0 =C2= =A02.3-3 -1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -10 http://ftp.us.debian.org/debian sid/main amd64 P= ackages
=C2=A0 =C2=A0 =C2=A0 =C2=A0 100 /var/lib/dpkg/status
=C2=A0 =C2=A0 =C2=A02.3-2 500
=C2=A0 =C2=A0 =C2=A0 =C2=A0 5= 00 http://ftp.us.debian.org/deb= ian stretch/main amd64 Packages


what if you "apt i= nstall dkms" on its own first, which version do you
get?

# apt install -d dkms
Reading package lists... Done
Building dependency tree =C2=A0 = =C2=A0 =C2=A0=C2=A0
Reading state information... Done
T= he following additional packages will be installed:
=C2=A0 fakero= ot gcc libfakeroot linux-headers-amd64
Suggested packages:
<= div>=C2=A0 python3-apport menu gcc-multilib autoconf automake libtool flex = bison gdb gcc-doc
The following NEW packages will be installed:
=C2=A0 dkms fakeroot gcc libfakeroot linux-headers-amd64
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
N= eed to get 217 kB of archives.
After this operation, 717 kB of ad= ditional disk space will be used.
Do you want to continue? [Y/n]= =C2=A0
Get:1 http://f= tp.us.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-1 [5,184 B= ]
Get:2 http://ftp.us= .debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB]
Get:3 http://ftp.us.debian.or= g/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB]
<= div>Get:4 http://ftp.us.debian.= org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB]
Get:5 http://ftp.us.debian.o= rg/debian stretch/main amd64 linux-headers-amd64 amd64 4.9+78 [5,744 B]=
Fetched 217 kB in 0s (328 kB/s) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0
Download complete and in download only mode

Looks like installing just dkms correctly selects from= Stretch, whereas installing as a dependency of wireguard-dkms pulls in the= sid version.

- Dave

=C2= =A0

=C2=A0 =C2=A0 =C2=A0 =C2=A0 --dkg

--001a11440db81becc20548fef91d--