-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release-info-change on a raspbian repository causes build failure #143
Comments
Why is the releaseinfo changeing there? |
Something about upstream release name changes to debian. Without that flag the build fails on the first apt update. |
What base image? I want to open an issue to https://github.com/RPi-Distro/pi-gen/issues/ |
I used this: https://github.com/OctoPrint/OctoPi-UpToDate/releases/tag/0.18.0.op1.6.1 with a custom module to install the custom stuff. |
@shueja-personal That if [ "${BASE_DISTRO}" == "ubuntu" ]; then So you are not supposed to reach it at all. You are setting Make sure to set
Then that line should not run at all. I tested here with the base image you provided, and it does not even execute that line. It runs:
Then continues. |
Whatever you are using for the last stable octopi 0.18 image, 32bit. The same error has popped up with the OctoDash install scripts, where people running the script are getting the error as well. Hope that helps. As an FYI the CustoPiZer scripts were updated and that allowed them to run again without choking on the error. |
You are correct, and another PR was sent after that corrected both apt-get commands in that file. |
@jneilliii If not I could just modify it and put a "workaround for issue #143" comment and move on, I would just like to attempt to figure out what is going on before I do that. |
Well, you could reproduce the error by flashing octopi 0.18 and try to install OctoDash with the command line below. Since CustoPiZer has already got the workaround applied not sure if you can attempt that one anymore.
|
I think I've seen some people mention that |
I noticed you had done this before here but that is no longer active, assuming that pi-gen updated their base image? |
@jneilliii That was a workaround when Rapi foundation started upgrading packages to buster, which was done i a way where there were mixed packages, its written in the comment. Unlike the situation here, where that code is inside an if statement, only supposed to run in Ubuntu images. Not in Raspberrypi OS. They might have accidentally pushed something from bullseye which they might also be working on, but I don't know that for sure. |
I think you missed the reply where I mentioned the patch to CustoPiZer was updated again outside of that if statement. |
@jneilliii I did miss it, that corresponds to this line in CustomPiOS: Now that I know what line is cuasing it I could reproduce:
Here is a talk on the rpi forms: Also opened an issue here: |
Hey, installing klipper for the first time and got this issue where the error is: ``` E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' ``` I had this also on CustomPiOS, and this is the current workaround |Related: guysoft/CustomPiOS#143 RPi-Distro/pi-gen#546
OctoPrint/CustoPiZer#1
This issue popped up last night on the CustoPiZer repository as I was trying to get that build method to work. When I switched to CustomPiOS (using latest OctoPi release as my base image) and added a module that does nothing except this script:
I get a very similar error message to what is linked in that issue. @jneilliii found the error and fixed it in CustoPiZer (jneilliii/CustoPiZer@1155256), and the analogous issue here is by my searching located in
CustomPiOS/src/modules/base/start_chroot_script
Line 23 in fc0cc4d
I would PR it myself, but I'm not familiar enough with the wonders of docker to be able to properly test that it would fix the issue.
The text was updated successfully, but these errors were encountered: