RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.52k stars 1.58k forks source link

E: Unable to locate package raspi-firmware... #733

Closed sdomadoo closed 7 months ago

sdomadoo commented 7 months ago

Hello everyone,

I have a problem when I try to build my RPI image, I get an error telling me that it can't find some packages ( raspi-firmware, linux-image-rpi-v6, linux-image-rpi-v7...) all the 01-packages file which is in /stage0/02-firmware ).

/pi-gen/stage0/02-firmware/01-packages Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package raspi-firmware E: Unable to locate package linux-image-rpi-v6 E: Unable to locate package linux-image-rpi-v7 E: Unable to locate package linux-image-rpi-v7l E: Unable to locate package linux-image-rpi-v8 E: Unable to locate package linux-headers-rpi-v6 E: Unable to locate package linux-headers-rpi-v7 E: Unable to locate package linux-headers-rpi-v7l

I think it's the WORK-DIR that's not moving the files correctly, so I'd like to know where it's putting them. Has anyone ever had this problem ?

Thanks in advance !

XECDesign commented 7 months ago

It sounds like you might be trying to build a bullseye image from the wrong branch?

sdomadoo commented 7 months ago

Indeed, the branch was not good and everything is back to normal.

Thanks a lot!