E: Sub-process /usr/bin/dpkg returned an error code (1)

I've been trying to install Zorin OS 18 ISO for the past 4h...
What I've tried so far:

  • Checked sha256
  • BIOS options (disable fast boot and secure boot)
  • Checked/unchecked third-party software
  • Checked/unchecked LVM encryption
  • Re-downloading the ISO

I can use it in live mode fine, but it is impossible to install.

Hardware:

  • AMD Ryzen 5 5600X
  • NVIDIA 3060ti
  • 16GB RAM
  • 500GB NVMe SSD

This is what I can see in the logs:

$ journalctl -g "error"
Nov 28 22:59:02 zorin kernel: RAS: Correctable Errors collector initialized.
Nov 28 22:59:03 zorin console-setup.sh[13941]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Nov 28 22:59:03 zorin console-setup.sh[13944]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Nov 28 22:59:03 zorin console-setup.sh[13948]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Nov 28 22:59:03 zorin console-setup.sh[13955]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Nov 28 22:59:03 zorin console-setup.sh[13963]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Nov 28 22:59:05 zorin snapd[14080]: helpers.go:190: error trying to compare the snap system key: system-key missing on disk
Nov 28 22:59:12 zorin pipewire[14511]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
Nov 28 22:59:12 zorin wireplumber[14513]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Nov 28 23:00:05 zorin xdg-desktop-por[14875]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
Nov 28 23:00:30 zorin xdg-desktop-por[14875]: Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
Nov 28 23:02:23 zorin xdg-desktop-por[17722]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
Nov 28 23:02:48 zorin xdg-desktop-por[17722]: Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
Nov 28 23:04:58 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 31 prio class 0
Nov 28 23:05:29 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 0
Nov 28 23:06:00 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 0
Nov 28 23:06:30 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 17 prio class 0
Nov 28 23:07:03 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 31 prio class 0
Nov 28 23:40:38 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 0
Nov 28 23:41:30 zorin ubiquity[29772]: py_compile.py: error: the following arguments are required: filenames
Nov 28 23:41:30 zorin ubiquity[29774]: py_compile.py: error: the following arguments are required: filenames
Nov 28 23:43:21 zorin ubiquity[38067]: dpkg: error processing package linux-modules-nvidia-580-6.14.0-36-generic (--configure):
Nov 28 23:43:21 zorin ubiquity[38067]: installed linux-modules-nvidia-580-6.14.0-36-generic package post-installation script subprocess returned error exit status 1
Nov 28 23:43:21 zorin ubiquity[38067]: dpkg: error processing package linux-modules-nvidia-580-generic-hwe-24.04 (--configure):
Nov 28 23:43:26 zorin ubiquity[38067]: dpkg: error processing package nvidia-dkms-580 (--configure):
Nov 28 23:43:26 zorin ubiquity[38067]: installed nvidia-dkms-580 package post-installation script subprocess returned error exit status 1
Nov 28 23:43:26 zorin ubiquity[38067]: dpkg: error processing package nvidia-driver-580 (--configure):
Nov 28 23:43:34 zorin ubiquity[38067]: /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Nov 28 23:43:34 zorin ubiquity[38067]: dpkg: error processing package linux-image-6.14.0-36-generic (--configure):
Nov 28 23:43:34 zorin ubiquity[38067]: installed linux-image-6.14.0-36-generic package post-installation script subprocess returned error exit status 1
Nov 28 23:43:34 zorin ubiquity[38067]: Errors were encountered while processing:
Nov 28 23:43:35 zorin ubiquity[38067]: E: Sub-process /usr/bin/dpkg returned an error code (1)
Nov 28 23:44:06 zorin ubiquity[29767]: dpkg: error processing package linux-modules-nvidia-580-6.14.0-36-generic (--configure):
Nov 28 23:44:06 zorin ubiquity[29767]: installed linux-modules-nvidia-580-6.14.0-36-generic package post-installation script subprocess returned error exit status 1
Nov 28 23:44:06 zorin ubiquity[29767]: dpkg: error processing package linux-modules-nvidia-580-generic-hwe-24.04 (--configure):
Nov 28 23:45:44 zorin kernel: I/O error, dev sdb, sector 1372 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 0
Nov 28 23:45:48 zorin ubiquity[29767]: Errors were encountered while processing:
Nov 28 23:45:48 zorin plugininstall.py[29768]: apt_pkg.Error: E:Sub-process /usr/bin/dpkg returned an error code (1)

Try it with an offline install. Don't connect to internet and don't install updates, graphics and other drivers and third party software during installation. You can do this afterwards.

When Zorin is installed update your system and then go to Software&Updates > Additional drivers to select and install the nvidia driver and other drivers if there are offered ones.

1 Like