I installed latest zorin os 18 (fully clean install )
Choose update along side os and installed it in my pc
After booting I did a software update about 600mb
Then I find my nvidia driver didn't installed
So I tried to install the driver then it shows Error "E: Sub-process /usr/bin/dpkg returned an error code (1)”
So what should I do now
Just want to know if this was kernel issue like 470 driver didn't work on 6.14 so should I change it to 6.8
If it was fixable in 6.14 so what should I do ? ( I btw I tried purge , fix broken install , secure boot disabled install dkms command , using uefi, wayland)
If need to change the Kernel whats the right way to do it ?
Building initial module for 6.14.0-36-generic
Error! Bad return status for module build on kernel: 6.14.0-36-generic (x86_64)
Consult /var/lib/dkms/nvidia/470.256.02/build/make.log for more information.
dpkg: error processing package nvidia-dkms-470 (--configure):
installed nvidia-dkms-470 package post-installation script subprocess returned error exit status 10
Setting up libxcb-sync1:i386 (1.15-1ubuntu2) ...
dpkg: dependency problems prevent configuration of nvidia-driver-470:
nvidia-driver-470 depends on nvidia-dkms-470 (<= 470.256.02-1); however:
Package nvidia-dkms-470 is not configured yet.
nvidia-driver-470 depends on nvidia-dkms-470 (>= 470.256.02); however:
Package nvidia-dkms-470 is not configured yet.
dpkg: error processing package nvidia-driver-470 (--configure):
dependency problems - leaving unconfigured
Setting up libnvidia-encode-470:amd64 (470.256.02-0ubuntu0.24.04.1) ...
Setting up pkg-config:amd64 (1.8.1-2build1) ...
Setting up libicu74:i386 (74.2-1ubuntu3.1) ...
Setting up libxcb-randr0:i386 (1.15-1ubuntu2) ...
Setting up nvidia-settings (510.47.03-0ubuntu4) ...
Setting up libx11-6:i386 (2:1.8.7-1build1) ...
Setting up libxml2:i386 (2.9.14+dfsg-1.3ubuntu3.6) ...
Setting up libxcb-dri3-0:i386 (1.15-1ubuntu2) ...
Setting up libx11-xcb1:i386 (2:1.8.7-1build1) ...
Setting up libxext6:i386 (2:1.3.4-1build2) ...
Setting up libxxf86vm1:i386 (1:1.1.4-1build4) ...
Setting up libllvm20:i386 (1:20.1.2-0ubuntu1~24.04.2) ...
Setting up libnvidia-gl-470:i386 (470.256.02-0ubuntu0.24.04.1) ...
Setting up libnvidia-decode-470:i386 (470.256.02-0ubuntu0.24.04.1) ...
Setting up mesa-vulkan-drivers:i386 (25.0.7-0ubuntu0.24.04.2) ...
Setting up mesa-libgallium:i386 (25.0.7-0ubuntu0.24.04.2) ...
Setting up libgbm1:i386 (25.0.7-0ubuntu0.24.04.2) ...
Setting up libgl1-mesa-dri:i386 (25.0.7-0ubuntu0.24.04.2) ...
Setting up libnvidia-encode-470:i386 (470.256.02-0ubuntu0.24.04.1) ...
Setting up libglx-mesa0:i386 (25.0.7-0ubuntu0.24.04.2) ...
Setting up libglx0:i386 (1.7.0-1build1) ...
Setting up libgl1:i386 (1.7.0-1build1) ...
Setting up libnvidia-ifr1-470:i386 (470.256.02-0ubuntu0.24.04.1) ...
Setting up libnvidia-fbc1-470:i386 (470.256.02-0ubuntu0.24.04.1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-36-generic
Errors were encountered while processing:
nvidia-dkms-470
nvidia-driver-470
E: Sub-process /usr/bin/dpkg returned an error code (1)
Other users reported about problems with the nvidia 470 driver on Zorin 18 and were not able to install them. They installed kernel 6.8. (6.8.12) and then it worked.
You can decide if you want to switch to Zorin 17 with kernel 6.8 - there you won't have problems with this nvidia driver and Zorin 17 will be supported for two years, or install kernel 6.8 on Zorin 18.
"Ubuntu is not going to officially support Nvidia 470 driver with new HWE kernels" [6.14] [6.11]
Only on kernel 6.8 the nvidia 470 driver wil be officially supported until end of life of ubuntu 24.04.
Thanks Sir for the information.
One thing
My pc works normally in zorin os 18 with 6.8 kernel.
Should I continue 6.8 with zorin 18 if there's no issues in system update?
Or, revert back to zorin 17.3 ?
You can use Synaptic Package Manager or terminal to lock in the 6.8 kernel, or more simply, just set 6.8 as your default kernel to prevent issues with system updates.