View Issue Details

IDProjectCategoryView StatusLast Update
0001049channel: elrepo/el7kmod-wireguardpublic2020-11-03 10:49
Reporterpapegaaij Assigned Topperry  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionno change required 
Summary0001049: kmod-wireguard won't install on CentOS 7.8 due to kernel version mismatch
DescriptionThe kmod-wireguard module cannot be installed on CentOS 7.8 because the kernel version it requires (>= 3.10.0-1160.el7) does not yet exists in the CentOS repositories. The current CentOS 7 kernel version is 3.10.0-1127.el7. This not only breaks installation of the package on new machines, it also breaks updating existing installations.
Steps To Reproduce# yum -y install kmod-wireguard wireguard-tools
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
 * base: mirror.hostnet.nl
 * elrepo: ftp.nluug.nl
 * epel: mirror.hostnet.nl
 * extras: mirrors.xtom.nl
 * updates: mirror.nforce.com
Resolving Dependencies
--> Running transaction check
---> Package kmod-wireguard.x86_64 9:1.0.20200908-2.el7_9.elrepo will be installed
--> Processing Dependency: kernel(ipv6_stub) = 0x6ae9cfc1 for package: 9:kmod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64
--> Processing Dependency: kernel >= 3.10.0-1160.el7 for package: 9:kmod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64
---> Package wireguard-tools.x86_64 0:1.0.20200827-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 9:kmod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64 (elrepo)
           Requires: kernel(ipv6_stub) = 0x6ae9cfc1
           Installed: kernel-3.10.0-1127.19.1.el7.x86_64 (@CentOS7-Updates)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-3.10.0-1127.el7.x86_64 (base)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-3.10.0-1127.18.2.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0x43dbc3d2
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel(ipv6_stub) = 0xe6fad8e6
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0xe6fad8e6
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0xe6fad8e6
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0xe6fad8e6
           Available: kernel-debug-3.10.0-1127.18.2.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0xe6fad8e6
           Available: kernel-debug-3.10.0-1127.19.1.el7.x86_64 (updates)
               kernel(ipv6_stub) = 0xe6fad8e6
Error: Package: 9:kmod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64 (elrepo)
           Requires: kernel >= 3.10.0-1160.el7
           Installed: kernel-3.10.0-1127.19.1.el7.x86_64 (@CentOS7-Updates)
               kernel = 3.10.0-1127.19.1.el7
           Available: kernel-3.10.0-1127.el7.x86_64 (base)
               kernel = 3.10.0-1127.el7
           Available: kernel-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel = 3.10.0-1127.8.2.el7
           Available: kernel-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel = 3.10.0-1127.10.1.el7
           Available: kernel-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel = 3.10.0-1127.13.1.el7
           Available: kernel-3.10.0-1127.18.2.el7.x86_64 (updates)
               kernel = 3.10.0-1127.18.2.el7
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel = 3.10.0-1127.el7
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel = 3.10.0-1127.8.2.el7
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel = 3.10.0-1127.10.1.el7
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel = 3.10.0-1127.13.1.el7
           Available: kernel-debug-3.10.0-1127.18.2.el7.x86_64 (updates)
               kernel = 3.10.0-1127.18.2.el7
           Available: kernel-debug-3.10.0-1127.19.1.el7.x86_64 (updates)
               kernel = 3.10.0-1127.19.1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
TagsNo tags attached.
Reported upstream

Activities

pperry

2020-11-03 10:48

administrator   ~0007276

This is not a bug, but a support issue and would be better suited to the mailing list.

Kernel-3.10.0-1160.el7 (the el7.9 release kernel) is available from the CR repository for CentOS. Please seek support from CentOS channels (mailing lists, IRC)

Currently, there are two versions of the latest wireguard release available in the elrepo repository, built for el7.8 and el7.9 releases:

kmod-wireguard-1.0.20200908-1.el7_8.elrepo.x86_64.rpm <-- for el7.8
kmod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64.rpm <-- for el7.9

As you have seen, you will not be able to install mod-wireguard-1.0.20200908-2.el7_9.elrepo.x86_64.rpm until you have updated your kernel to the el7.9 release.

If you do not want to manage this stuff manually, you can install yum-plugin-elrepo which will manage things for you by masking any kmod packages from yum for which prerequisite kernels are not yet available to you (yum).

Issue History

Date Modified Username Field Change
2020-11-03 08:26 papegaaij New Issue
2020-11-03 08:26 papegaaij Status new => assigned
2020-11-03 08:26 papegaaij Assigned To => pperry
2020-11-03 10:48 pperry Note Added: 0007276
2020-11-03 10:49 pperry Severity block => feature
2020-11-03 10:49 pperry Status assigned => resolved
2020-11-03 10:49 pperry Resolution open => no change required