-
Notifications
You must be signed in to change notification settings - Fork 63
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
apt-get upgrade hang #99
Comments
awesome info, thanks will review what did you do on the os before running my script? if anything. |
steps:
i updated the title as i was initially going to mentioned that according to the google machine that apt upgrade (instead of apt-get upgrade) suppresses similar prompts from other modules , but after re-imaging the same pi and running apt upgrade before the script i was also presented the prompt. so i think for this specific prompt/module that is not the case |
thanks for the clarity . i redirect the output to a file so that is why you didnt see the prompt |
so, there is a way to handle this error, by me changing the parms to apt-get upgrade
BUT you may STILL miss a required config file update.. altho the new file is also saved..
what do you think about this.. if you didn't change the affected config file, it will be upgraded..
the info MAY be in the log.. I haven't been able to reproduce this yet |
I'm a little unclear on the "changes" that happen to the file that trigger this prompt. As I said from my perspective this is a fresh install with only three things turned on in the imager see here for info about advanced imager options
At first glance these shouldn't do anything related to window management by labwc. The only one that might, is disable oversscan but I do not recall enabling this option (can verify this evening after work) My only guess is that the image generated by the imager is using a modified file and the real fix is updating that image I found a raspberry pi forum post talking about this and it implies it's a known issue? link That said until the image is updated to not trigger this prompt I agree with your approach, update if possible if not skip |
yeh, SO much fun... |
i ran this script on a fresh install of raspberry pi os. and it seems to hang shortly after running.
looking at the script and the resulting log it would seem that
apt-get upgrade
is called before the real "setup" starts. This action triggers an attempt to upgrade labwc ( recently added to rasberry os as of 10-28-24 ) before upgrading the module, a prompt is surfaced to the user regarding a new configuration and asks if they wish to use it or not (default is no). This prompt either fails to respect the assume yes flag, or because the default is no, ignores it (dont know which).The end result is that the script never completes and if you look at the install.log, the final entry will be the prompt.
this hypothetically would only impact fresh images that have not been apt upgraded yet. in fact as a work around i just ctrl-c'd the script and ran apt upgrade manually and then after it completed ran the script again (which now no longer raises the prompt). its also possible that the prompt times out eventually and i was just too impatient, but i waited at the prompt from my manual
apt upgrade
for about 5min with it not proceeding so i dont think there is a time out.prompt in questions
The text was updated successfully, but these errors were encountered: