Comment 3 for bug 1963835

Revision history for this message
Robie Basak (racb) wrote :

I just hit this. The problem is in /etc/kernel/prerm.d/dkms:

Lines 16 and 17:

   name=`echo "$line" | awk '{print $1}' | sed 's/,$//'` | cut -d'/' -f1
   vers=`echo "$line" | awk '{print $1}' | sed 's/,$//'` | cut -d'/' -f2

In my case, $line is:

v4l2loopback/0.12.5, 5.13.0-30-generic, x86_64: installed

And so it's clear to me that those parsing lines are incorrect and the backticks should be at the end.

Looking upstream, I then found:

https://github.com/dell/dkms/commit/64a882a32fdf126ef20e6b6403b5cb158dad21f4

So this just needs cherry-picking.