Debian / raspi3-image-spec

contains the files to build the https://wiki.debian.org/RaspberryPi3 image
127 stars 32 forks source link

Image created based on stretch gets APT::Default-Release error #19

Closed oxwivi closed 6 years ago

oxwivi commented 6 years ago

Out of curiosity, I basically replaced all instances of buster on raspi3.yaml and build an image. It booted successfully, even the wpa_cli issue of the pre-built image is present.

But trying to apt install results in error:

E: The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources

I thought the error is because of replacing buster on raspi3.yaml, but replacing stretch with buster on /etc/apt/apt.conf.d/08default-release resulted in the same error with stretch swapped out for buster. Replaced it with stable and testing for same results.

oxwivi commented 6 years ago

Never mind, it's because of the removal of /var/lib/apt/lists when creating the image. apt update sets everything right.