Closed gsingh93 closed 1 year ago
By default, we build image with debos
's Docker image, which is based on Debian. However, Ubuntu since Jammy uses zstd
compression for their deb packages, which is unsupported by Debian's dpkg
, giving you the error. If you build for Ubuntu Focal you can build with container, but its days are numbered.
You have to build Ubuntu image with -n|--native-build
flag as mentioned in the help text, which will uses Ubuntu's dpkg
.
I know Ubuntu isn't fully supported at the moment, and the usage string hints that building directly on the host instead of a container is a workaround for building Ubuntu:
But I wanted to confirm whether this error is the known issue with building Ubuntu or if it's something else:
And if this is the known issue with building Ubuntu, can someone shed some light on why this is happening?
I'm building on an Ubuntu 23.04 host with this command:
./rbuild rock-pi-4b jammy cli