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

If this happened during Zorin 18 installation, try the following