-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
Pi 3B Bullseye: Anthias update hangs at "TASK [system : Remove libc6-dev]" #1962
Comments
@traeu, I'll look into this issue closely. Is your device still operational even after you halt the update. |
@traeu I tried reproducing the issue, tweaked things so that I can install an older version of Anthias (48e427b to be specific). The installation went fine. Then I ran If it wouldn't be a hassle on your part, you can backup the data first, then re-install Anthias. |
hello @nicomiguelino, thank you for your quick response! Is there a way how I can make a fresh Anthias installation and remove an existing installation, without reinstalling the whole Raspberry Pi OS? What would be the best way to modify the main.yml locally before executing the installer script? Can I somehow pause the installer script after it downloaded all files, then modify it, and then resume the install-script? Thanks for your help! |
@traeu I have only tried the following once yesterday:
Anthias/ansible/roles/system/tasks/main.yml Lines 180 to 191 in 5bb4123
I hope this helps. |
Today I choose the easiest solution and wiped all SD cards, re-installed Raspberry Pi OS (legacy/bullseye 64bit lite) and made fresh installs of Anthias. As expected, everything works perfectly. I guess I can close this issue now, it was clearly some problem on my side, even if I will never know why exactly it failed... Thanks again for your quick help and your work on this amazing software! Edit: I also tried to comment out the removal and installation of libc6-dev in main.yml. |
Hey @traeu what file did you edit to comment out the libc6-dev lines? |
@kroam, you can comment out the following lines inside Anthias/ansible/roles/system/tasks/main.yml Lines 180 to 191 in 5bb4123
|
@kroam later, I found out by accident what the cause of my problem was. I used the option "force_turbo=1" in config.txt, because only with this I could get 4K output to work on my Raspi 3B. But this unofficial hack seems to come with unexpected downsides. Thats why after reinstalling (and using stock config.txt at first) the problem was gone and installation was successful. Later, after I tested 4K again and noticed that the problem reappeared, I found out that this turbo-setting was causing the installation process to hang at this remove libc6-dev. |
@traeu, does removing |
@nicomiguelino yes for me this worked. As soon as I commented out this line in the config file (and rebooted of course), the installation process did not hang anymore at this step of removing libc6-dev. |
On my Raspberry PI Zero 2 i don't use the "force_turbo=1" in config.txt. its a stock Raspberry Pi OS 64bit Bookworm |
Maybe a dumb question but when i git clone anthias to my pi and change the main.yml to comment out the lines for removing and installing libc6-dev, then run the /bin/install.sh file, the installer still hangs at remove libc6-dev. |
@kroam, no, it's not a dumb question. Glad you asked.
I hope it helps. If not, please let me know. |
Overview of the Issue
I use multiple Anthias-installations. Normally, I don't update them regularly when everything works.
Recently, I tried to update two of my screens with latest anthias, but I experience problems.
My Pis run on Raspberry Pi OS Bullseye, all apt updates are installed.
I tried to start the update-process by running the install-script again, but the script freezes at "TASK [system : Remove libc6-dev]". While it freezes, I noticed that the system is lagging in general, for example, another ssh-session responds only delayed while the install-script runs in another ssh-session.
A bit strange:
Last thursday, I only got this problem on one of my Pis, not on both. Both run bullseye, both had all apt updates made. But one would run through this libc6-dev task quickly, while the other one hangs at it.
I thought, I will try my luck again on monday. Now today, I try to run the install-scripts on both Pis again, and now on both Pis the install-script freezes at this libc6 remove task.
Reproduction Steps
Environment
The text was updated successfully, but these errors were encountered: