solo-io / packer-plugin-arm-image

Packer plugin for ARM images
Apache License 2.0
425 stars 104 forks source link

raspbian_golang.json buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' #135

Open 5t33 opened 2 years ago

5t33 commented 2 years ago

I get the following error:

==> arm-image: E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
==> arm-image: E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'

when I run:

docker build . -t packer-plugin-arm-image-local:04-17-22
docker run \
  --rm \
  --privileged \
  -v /dev:/dev \
  -v ${PWD}:/build:ro \
  -v ${PWD}/packer_cache:/build/packer_cache \
  -v ${PWD}/output-arm-image:/build/output-arm-image \
  -e PACKER_CACHE_DIR=/build/packer_cache \
  packer-plugin-arm-image-local:04-17-22 build samples/raspbian_golang.json
5t33 commented 2 years ago

To be clear, that image is built from the repo's master branch. I see the same issue from the image pulled from latest.

tvieregge commented 2 years ago

It looks like something isn't handling the warning message about buster being depreciated

If you change the iso_url to a bullseye image everything works fine

This one worked for me: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2022-04-07/