tags 956245 + patch
thanks

On Wed, 8 Apr 2020, Thorsten Glaser wrote:

> /etc/kernel/header_postinst.d/dkms:
> Error! You must be root to use this command.

This is caused by line 3178 of /usr/sbin/dkms:
    ((UID == 0)) && return

I am root, but $UID is 1000. Changing the line to…
    [[ $(id -u) = 0 ]] && return
… makes it succeed.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

Reply via email to