So I first tired your solution and had this output
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package r8168-dkms
Again it still connnects but is very slow and sometimes the wifi logo has a ? in it.
the other solution from the link does not work, I tried the first command and it comes you with "abort"