Here's the error:
```
$ sudo apt install linux-image-amd64
Installing:
linux-image-amd64
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 15
3 not fully installed or removed.
Download size: 0 B / 1,684 B
Space needed: 16.4 kB / 499 GB available
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package linux-image-amd64.
(Reading database… 634674 files and directories currently installed.)
Preparing to unpack …/linux-image-amd64_7.2.6-1_amd64.deb…
Unpacking linux-image-amd64 (7.2.6-1)…
Setting up linux-headers-7.2.6+deb14-amd64 (7.2.6-1)…
/etc/kernel/header_postinst.d/dkms:
Sign command: /lib/modules/7.2.6+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module nvidia-current/550.163.01 for kernel 7.2.6+deb14-amd64 (x86_64)
Building module(s)........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j12 modules KERNEL_UNAME=7.2.6+deb14-amd64
Error! Bad return status for module build on kernel: 7.2.6+deb14-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/550.163.01/build/make.log for more information.
Autoinstall on 7.2.6+deb14-amd64 failed for module(s) nvidia-current(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: error processing package linux-headers-7.2.6+deb14-amd64 (--configure):
old linux-headers-7.2.6+deb14-amd64 package postinst maintainer script subprocess failed with exit status 1
Setting up linux-image-7.2.6+deb14-amd64 (7.2.6-1)…
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/7.2.6+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module nvidia-current/550.163.01 for kernel 7.2.6+deb14-amd64 (x86_64)
Building module(s)....
Progress: [ 36%] [████.....(bad exit status: 2) ]
Failed command:
env NV_VERBOSE=1 make -j12 modules KERNEL_UNAME=7.2.6+deb14-amd64
Error! Bad return status for module build on kernel: 7.2.6+deb14-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/550.163.01/build/make.log for more information.
Autoinstall on 7.2.6+deb14-amd64 failed for module(s) nvidia-current(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-7.2.6+deb14-amd64 (--configure):
old linux-image-7.2.6+deb14-amd64 package postinst maintainer script subprocess failed with exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-7.2.6+deb14-amd64 (= 7.2.6-1); however:
Package linux-headers-7.2.6+deb14-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-7.2.6+deb14-amd64 (= 7.2.6-1); however:
Package linux-image-7.2.6+deb14-amd64 is not configured yet.
dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-7.2.6+deb14-amd64
linux-image-7.2.6+deb14-amd64
linux-headers-amd64
linux-image-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)
```
Here's the output of `inxi -b`:
``
System:
Host: hippogriff Kernel: 7.1.13+deb14-amd64 arch: x86_64 bits: 64
Desktop: i3 v: 4.25.1 Distro: Debian GNU/Linux forky/sid
Machine:
Type: Laptop System: LENOVO product: 20Y3003XUS v: ThinkPad P1 Gen 4i
serial: <superuser required>
Mobo: LENOVO model: 20Y3003XUS v: SDK0T76457 WIN
serial: <superuser required> Firmware: UEFI vendor: LENOVO
v: N40ET38W (1.20 ) date: 10/06/2022
Battery:
ID-1: BAT0 charge: 75 Wh (100%) condition: 75/90.1 Wh (83.2%)
CPU:
Info: 6-core Intel Xeon W-11855M [MT MCP] speed (MHz): avg: 2500
min/max: 800/4800:4900
Graphics:
Device-1: Intel Tiger Lake-H GT1 [UHD Graphics] driver: i915 v: kernel
Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] driver: nvidia v: 550.163.01
Device-3: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
type: USB
Display: unspecified server: X.Org v: 21.1.24 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
resolution: 1: 3840x1080~60Hz 2: 2560x1600~60Hz
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 26.0.4-1
renderer: Mesa Intel UHD Graphics (TGL GT1)
Info: Tools: api: eglinfo,glxinfo gpu: nvidia-settings,nvidia-smi
x11: xdriinfo, xdpyinfo, xprop, xrandr
Network:
Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
Drives:
Local Storage: total: 1.86 TiB used: 363.45 GiB (19.1%)
Info:
Memory: total: 64 GiB available: 62.51 GiB used: 12.8 GiB (20.5%)
Processes: 404 Uptime: 21m Shell: Bash inxi: 3.3.41
```
I've had issues with the build failing in the past (that seemed to be
transient/unimportant---`nvidia-smi` showed that things were still
working), but normally the package was in a configured state.
Thanks!
Michael
-------------------- End of forwarded message --------------------