Error building Armbian/Olimex image - Unable to locate package armbian-firmware

Started by novalkar, January 21, 2020, 04:40:56 am

Previous topic - Next topic

novalkar

I was trying to generate the Armbian image (buster release) from your repository https://github.com/OLIMEX/build for the olimex-a20 board, but while the build process was running, the debootstrap process ended up crashing with the following output

[ o.k. ] Installing packages for [ Armbian ]

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package armbian-firmware

In the end, the build script was able to generate an image, but it was missing most of the basic tools. I first noticed the problem because toilet package didn't run and it didn't show the fancy olimex message on the terminal, it also crashes the armbian-add-overlay tool, so I can't easily add my overlays.

Searching deeper I was able to find out that the failure was produced on this line:

https://github.com/OLIMEX/build/blob/olimex/lib/debootstrap.sh#L225-L229

and found that the missing packages where listed here:

https://github.com/OLIMEX/build/blob/olimex/lib/configuration.sh#L136

I was able to install those packages manually on the board afterwards without problems.

I don't know why it wasn't able to install those packages since it could install other packages before those, and I was able to install some other packages afterward through the customize-image script (I was able to reproduce this on a clean build too). I would still like to generate a clean image, but I haven't been able to do this since last Friday, is this a known issue? or it is just me?