Originally Posted by
suto-norbert
Thank you for that. I've been looking through the instructions. Please forgive my obvious ignorance here; I'm not entirely sure that I've correctly understood them.
Here is the process that I believe I should follow. Please let me know what needs to change.
- Download the entire folder from this sbin into a new folder somewhere in my home.
- Make the .sh files executable.
- Run mok-setup.sh as sudo, answering the prompts.
- Follow the instructions for manual signing.
I'm testing this in a VM before running it live. My live machine is 22.04, but the VM is 24.04.
At step 3, I get an error: mok-setup.sh complains that I don't have fwts installed. But, when I try to install it, it fails. Here's the full text:
Code:
$ sudo apt install fwtsReading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-6.8.0-40 linux-headers-6.8.0-40-generic linux-image-6.8.0-40-generic linux-modules-6.8.0-40-generic linux-modules-extra-6.8.0-40-generic linux-tools-6.8.0-40 linux-tools-6.8.0-40-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
fwts-efi-runtime-dkms libfdt1 libfwts1 libfwtsacpica1 libfwtsiasl1
The following NEW packages will be installed:
fwts fwts-efi-runtime-dkms libfdt1 libfwts1 libfwtsacpica1 libfwtsiasl1
0 upgraded, 6 newly installed, 0 to remove and 9 not upgraded.
Need to get 1,250 kB of archives.
After this operation, 3,887 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 libfwtsiasl1 amd64 24.01.00-0ubuntu4 [393 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 libfwtsacpica1 amd64 24.01.00-0ubuntu4 [304 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 libfdt1 amd64 1.7.0-2build1 [20.1 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 libfwts1 amd64 24.01.00-0ubuntu4 [130 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 fwts-efi-runtime-dkms amd64 24.01.00-0ubuntu4 [24.2 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 fwts amd64 24.01.00-0ubuntu4 [378 kB]
Fetched 1,250 kB in 4s (316 kB/s)
Selecting previously unselected package libfwtsiasl1.
(Reading database ... 222143 files and directories currently installed.)
Preparing to unpack .../0-libfwtsiasl1_24.01.00-0ubuntu4_amd64.deb ...
Unpacking libfwtsiasl1 (24.01.00-0ubuntu4) ...
Selecting previously unselected package libfwtsacpica1.
Preparing to unpack .../1-libfwtsacpica1_24.01.00-0ubuntu4_amd64.deb ...
Unpacking libfwtsacpica1 (24.01.00-0ubuntu4) ...
Selecting previously unselected package libfdt1:amd64.
Preparing to unpack .../2-libfdt1_1.7.0-2build1_amd64.deb ...
Unpacking libfdt1:amd64 (1.7.0-2build1) ...
Selecting previously unselected package libfwts1.
Preparing to unpack .../3-libfwts1_24.01.00-0ubuntu4_amd64.deb ...
Unpacking libfwts1 (24.01.00-0ubuntu4) ...
Selecting previously unselected package fwts-efi-runtime-dkms.
Preparing to unpack .../4-fwts-efi-runtime-dkms_24.01.00-0ubuntu4_amd64.deb ...
Unpacking fwts-efi-runtime-dkms (24.01.00-0ubuntu4) ...
Selecting previously unselected package fwts.
Preparing to unpack .../5-fwts_24.01.00-0ubuntu4_amd64.deb ...
Unpacking fwts (24.01.00-0ubuntu4) ...
Setting up libfwtsiasl1 (24.01.00-0ubuntu4) ...
Setting up libfwtsacpica1 (24.01.00-0ubuntu4) ...
Setting up libfdt1:amd64 (1.7.0-2build1) ...
Setting up fwts-efi-runtime-dkms (24.01.00-0ubuntu4) ...
Loading new fwts-efi-runtime-dkms-24.01.00 DKMS files...
Error! No write access to DKMS tree at /var/lib/dkms
dpkg: error processing package fwts-efi-runtime-dkms (--configure):
installed fwts-efi-runtime-dkms package post-installation script subprocess returned error exit status 1
Setting up libfwts1 (24.01.00-0ubuntu4) ...
dpkg: dependency problems prevent configuration of fwts:
fwts depends on fwts-efi-runtime-dkms (= 24.01.00-0ubuntu4); however:
Package fwts-efi-runtime-dkms is not configured yet.
dpkg: error processing package fwts (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Errors were encountered while processing:
fwts-efi-runtime-dkms
fwts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Do you know how I can fix this, please?