Fedora/CentOS error: wireguard-dkms-1:0.0.20180420-1.fc28.noarch: erase failed

Joe Doss joe at solidadmin.com
Tue May 15 16:49:32 CEST 2018

On 05/15/2018 08:21 AM, Germano Massullo wrote:
> I had the same problem, and I followed your guide till
>> # rpm -e wireguard-dkms-0.0.20180420-1.fc28.noarch
> Then I wanted to use 0.0.20180513-1.fc28 snapshot, so I runned
> # dkms autoinstall
> but I got errors
> Error! Could not locate dkms.conf file.
> File: /var/lib/dkms/wireguard/0.0.20180218/source/dkms.conf does not exist.

I never use dkms autoinstall but I just used it and I cannot reproduce 
the problem. It looks based on /var/lib/dkms/wireguard/0.0.20180218/ it 
is looking for a snapshot from Feb. It could be that you are having 
different problems here. Maybe your system had issues back in Feb where 
it thought it removed the RPM but didn't?

Since I don't see the 0.0.20180218 RPM installed you most likely can 
manually remove /var/lib/dkms/wireguard/0.0.20180218/ and this error 
should go away.


Joe Doss
joe at solidadmin.com

More information about the WireGuard mailing list