Skip to contentSkip to conversation

Wireguard on Ubuntu 18.04.4 (LTS)?

DISCUSSION [email protected] 4 participants 11 messages Jul 20, 2020 – Jul 21, 2020

lore
Share & tools
lore
#0 lore raw

Hello all,
I just tried to set up a new (virtual) machine with Ubuntu 18.04.4 (LTS) and wireguard, but apt install wireguard reports “E: Unable to locate package wireguard”. This is not really what I expect after looking at https://www.wireguard.com/install/.
Any idea?
Thanks, Joachim

#3 lore raw
Quoted 11 lines · On Mon, 20 Jul 2020 17:04:46 +0200 <[email protected]> wrote:

Yes, it is up to date.
Joachim

-----Ursprüngliche Nachricht-----
Von: Jason A. Donenfeld <[email protected]>
Gesendet: Monday, 20 July 2020 16:49
An: Joachim Lindenberg <[email protected]>
Cc: WireGuard mailing list <[email protected]>
Betreff: Re: Wireguard on Ubuntu 18.04.4 (LTS)?

Is your system fully up to date? apt update && apt upgrade?

Seems like it's available only starting from Ubuntu 19.10:
https://packages.ubuntu.com/search?keywords=wireguard&searchon=names&suite=all&section=all

Signature · 2 lines
With respect,
Roman
#5 lore raw
In reply to Roman Mamedov
Quoted 14 lines · Roman Mamedov
Quoted 10 lines · On Mon, 20 Jul 2020 17:04:46 +0200 <[email protected]> wrote:

Yes, it is up to date.
Joachim

-----Ursprüngliche Nachricht-----
Von: Jason A. Donenfeld <[email protected]>
Gesendet: Monday, 20 July 2020 16:49
An: Joachim Lindenberg <[email protected]>
Cc: WireGuard mailing list <[email protected]>
Betreff: Re: Wireguard on Ubuntu 18.04.4 (LTS)?

Quoted 4 lines
Quoted 1 line

Is your system fully up to date? apt update && apt upgrade?

Seems like it's available only starting from Ubuntu 19.10:
https://packages.ubuntu.com/search?keywords=wireguard&searchon=names&suite=all&section=all

All set now:
https://packages.ubuntu.com/bionic-updates/wireguard

#6 lore raw
Quoted 15 lines · Jason A. Donenfeld
Quoted 14 lines · Roman Mamedov
Quoted 10 lines · On Mon, 20 Jul 2020 17:04:46 +0200 <[email protected]> wrote:

Yes, it is up to date.
Joachim

-----Ursprüngliche Nachricht-----
Von: Jason A. Donenfeld <[email protected]>
Gesendet: Monday, 20 July 2020 16:49
An: Joachim Lindenberg <[email protected]>
Cc: WireGuard mailing list <[email protected]>
Betreff: Re: Wireguard on Ubuntu 18.04.4 (LTS)?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Is your system fully up to date? apt update && apt upgrade?

Seems like it's available only starting from Ubuntu 19.10:
https://packages.ubuntu.com/search?keywords=wireguard&searchon=names&suite=all&section=all

All set now:
https://packages.ubuntu.com/bionic-updates/wireguard

Is there any advice as to how to migrate from the WireGuard PPA to the official Ubuntu repo? Will the WireGuard PPA be maintained now that the "official" ubuntu packages have been released?

Best

Jasper

#7 lore raw
Quoted 3 lines · Jasper Knockaert

Is there any advice as to how to migrate from the WireGuard PPA to the official Ubuntu repo? Will the WireGuard PPA be maintained now that the "official" ubuntu packages have been released?

If you're running a Canonical kernel, you can remove the wireguard-dkms package, because wireguard is now provided by the kernels that Canonical provides, which means wireguard will work with secureboot too and such.

You can also just remove the PPA entirely from your system. The versioning scheme means that the packages in Canonical's repos will take precedence over those from the PPA.

The PPA currently supports 16.04 and 14.04. Ubuntu 16.04 will be getting support from Canonical soon, at which point the PPA will then only support 14.04. And seeing as 14.04 is out of service, we may well drop the PPA entirely at this point. But those changes, anyway, are pending an official announcement when/if we choose to do that.

I apologize that this transition is so awkward and poorly communicated. I've had a very difficult time in getting Canonical to follow through in a timely manner with the expectations we had for their WireGuard roll out. My hope was that the integrations to the various flavors would simply happen all together, and then we could make the PPA transition all at once. But unfortunately, it's been this slow agonizing ripping off of a bandaid, which has been very hard to motivate, the latest installment of which from this email thread is that the kernel module hit their kernels before they migrated the userspace packages from -proposed to -updates. Oh well, mistakes happen. The final step will be 16.04 support, which AFAICT is happening more or less as we speak. So despite this being more delayed than we would have liked, I still remain very optimistic that the end result will be nice and work well. We'll see!

#8 lore raw
In reply to [email protected]

Looks like at the moment (July 20, 2020; ignore this email if you're reading this >1 month from now) wireguard is still stuck in -proposed on Bionic.

echo 'deb http://us.archive.ubuntu.com/ubuntu bionic-proposed main restricted universe multiverse' >> /etc/apt/sources.list apt update
apt install wireguard

That's annoying and odd. I'm CCing Canonical's Andy Whitcroft who can fix this inside of Ubuntu.

#9 lore raw

Would be great to have the truth at https://www.wireguard.com/install/.
With the addition of bionic-proposed wireguard installs, but wg-quick fails because of "/usr/bin/wg-quick: line 32: resolvconf: command not found". Looks like a dependency is not set. Which of openresolv or resolvconf is the recommended path?
Thanks, Joachim

-----Ursprüngliche Nachricht-----
Von: Jason A. Donenfeld <[email protected]>
Gesendet: Monday, 20 July 2020 17:22
An: Joachim Lindenberg <[email protected]>
Cc: WireGuard mailing list <[email protected]>; Andy Whitcroft <[email protected]>
Betreff: Re: Wireguard on Ubuntu 18.04.4 (LTS)?

Looks like at the moment (July 20, 2020; ignore this email if you're reading this >1 month from now) wireguard is still stuck in -proposed on Bionic.

echo 'deb http://us.archive.ubuntu.com/ubuntu bionic-proposed main restricted universe multiverse' >> /etc/apt/sources.list apt update apt install wireguard

That's annoying and odd. I'm CCing Canonical's Andy Whitcroft who can fix this inside of Ubuntu.

#10 lore raw
Quoted 1 line · Joachim Lindenberg

Would be great to have the truth at https://www.wireguard.com/install/.

Looks like Andy has already fixed the problem.

Quoted 4 lines

With the addition of bionic-proposed wireguard installs, but wg-quick fails because of "/usr/bin/wg-quick: line 32: resolvconf: command not found". Looks like a dependency is not set.
Which of openresolv or resolvconf is the recommended path?

Both are part of Recommends: for this optional functionality, so the dependency in the package is fine.

Use openresolv.