Testing on bionic, with linux-oem 4.15.0.1093.96 installed and the old
wireguard available, we do indeed try and install a linux-gke kernel to
fill the dependency:

  $ sudo apt-get install wireguard
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    linux-image-5.3.0-1032-gke linux-image-gke-5.3 linux-modules-5.3.0-1032-gke 
wireguard-tools
  Suggested packages:
    fdutils linux-gke-5.3-doc-5.3.0 | linux-gke-5.3-source-5.3.0 
linux-gke-5.3-tools
    linux-headers-5.3.0-1032-gke openresolv | resolvconf
  The following NEW packages will be installed
    linux-image-5.3.0-1032-gke linux-image-gke-5.3 linux-modules-5.3.0-1032-gke 
wireguard
    wireguard-tools
  0 to upgrade, 5 to newly install, 0 to remove and 37 not to upgrade.
  Need to get 22.8 MB of archives.
  After this operation, 76.8 MB of additional disk space will be used.
  Do you want to continue? [Y/n]

With just the updates wireguard packages available we no longer install
the linux-gke and will install wireguard-dkms:

  $ sudo apt-get install wireguard
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    dkms fakeroot libfakeroot wireguard-dkms wireguard-tools
  Suggested packages:
    menu openresolv | resolvconf
  The following NEW packages will be installed
    dkms fakeroot libfakeroot wireguard wireguard-dkms wireguard-tools
  0 to upgrade, 6 to newly install, 0 to remove and 37 not to upgrade.
  Need to get 500 kB of archives.
  After this operation, 2,708 kB of additional disk space will be used.
  Do you want to continue? [Y/n] 

With just the new linux-image-oem packages available we will upgrade
those in preference to installing linux-gke:

  $ sudo apt-get install wireguard
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    linux-headers-oem linux-image-oem linux-oem wireguard-tools
  Suggested packages:
    openresolv | resolvconf
  The following NEW packages will be installed
    wireguard wireguard-tools
  The following packages will be upgraded:
    linux-headers-oem linux-image-oem linux-oem
  3 to upgrade, 2 to newly install, 0 to remove and 37 not to upgrade.
  Need to get 93.3 kB/100 kB of archives.
  After this operation, 284 kB of additional disk space will be used.
  Do you want to continue? [Y/n] 

With both available an explicit installation of wireguard will install
wireguard-dkms:

  $ sudo apt-get install wireguard
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    dkms fakeroot libfakeroot wireguard-dkms wireguard-tools
  Suggested packages:
    menu openresolv | resolvconf
  The following NEW packages will be installed
    dkms fakeroot libfakeroot wireguard wireguard-dkms wireguard-tools
  0 to upgrade, 6 to newly install, 0 to remove and 40 not to upgrade.
  Need to get 500 kB of archives.
  After this operation, 2,708 kB of additional disk space will be used.
  Do you want to continue? [Y/n]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890201

Title:
  Depends on wireguard-modules | wireguard-dkms are inverted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireguard/+bug/1890201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to