Procedure for Updating Snapshot

Eddie stunnel at attglobal.net
Sun May 13 22:21:32 CEST 2018


What is the correct procedure for updating WG with a new snapshot.

I'm currently running CentOS 7.4 and previously had installed the 
20180420 snapshot.  Today, I tried to update with the new 20180513 one, 
and it appears to be failing.  The command I used was:  yum update 
--disablerepo=* --enablerepo=jdoss-wireguard wireguard*

This resulted in the following messages:

Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
   Updating   : 
1:wireguard-dkms-0.0.20180513-1.el7.centos.noarch            1/4
warning: %post(wireguard-dkms-1:0.0.20180513-1.el7.centos.noarch) 
scriptlet failed, exit status 10
Non-fatal POSTIN scriptlet failure in rpm package 
1:wireguard-dkms-0.0.20180513-1.el7.centos.noarch
   Updating   : 
1:wireguard-tools-0.0.20180513-1.el7.centos.x86_64           2/4
   Cleanup    : 
1:wireguard-tools-0.0.20180420-1.el7.centos.x86_64           3/4
   Cleanup    : 
1:wireguard-dkms-0.0.20180420-1.el7.centos.noarch            4/4
   Verifying  : 
1:wireguard-dkms-0.0.20180513-1.el7.centos.noarch            1/4
   Verifying  : 
1:wireguard-tools-0.0.20180513-1.el7.centos.x86_64           2/4
   Verifying  : 
1:wireguard-tools-0.0.20180420-1.el7.centos.x86_64           3/4
   Verifying  : 
1:wireguard-dkms-0.0.20180420-1.el7.centos.noarch            4/4

Updated:
   wireguard-dkms.noarch 1:0.0.20180513-1.el7.centos
   wireguard-tools.x86_64 1:0.0.20180513-1.el7.centos

Complete!


However, the extra/wireguard.ko module was not built.

I then realised that I had not stopped the running instance, and so ran:

systemctl stop wg-quick at wg0
yum reinstall --disablerepo=* --enablerepo=jdoss-wireguard wireguard*

This resulted in exactly the same errors and again the 
extra/wireguard.ko module was not built.

What am I doing wrong here.

Cheers.



More information about the WireGuard mailing list