Skip to content
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

"Error installing prerequisite software" (key is stored in legacy trusted.gpg keyring) #72

Open
MarcoPo10 opened this issue May 17, 2024 · 4 comments

Comments

@MarcoPo10
Copy link

I've been trying to get this running on a Pi Zero 2W, getting this same error during the setup.py step every time. I've flashed every version of Raspberry Pi OS Lite (bookworm) from March 2024 going back to December 2023 with the same results. Since the default username and password have been removed from the OS since early 2022 I set up the image with username "pi" and password "raspberry" for the install. I don't think that's causing the issue here. I also checked the URL included in the error as well as opening the /etc/apt/trusted.gpg file. The URL was a dead-end and the gpg file was scrambled.

Error:
Running: Install Prequisite Software
Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done

W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
/bin/sh: 1: Syntax error: Unterminated quoted string
Error installing prerequisite software.
Script Exiting due to failure in 'Install Prequisite Software' setup step.

Screenshot 2024-05-17 at 4 30 13 PM

Screenshot 2024-05-17 at 4 41 07 PM

@lukee12zakk
Copy link

i have the same problem exept a bit different
image

@JTricky
Copy link

JTricky commented Jun 3, 2024

I'm getting the same error as @lukee12zakk except mine is erroring out after reading the package lists of Hit : 4

@itzmattu
Copy link

itzmattu commented Jun 9, 2024

Same error as the OP. I'm on a Raspberry Pi 2B, fresh install but setup a user/pass. Instructions mention script relies on no password for sudo, but I assume it would just popup a sudo pw prompt.

@itzmattu
Copy link

itzmattu commented Jun 9, 2024

I went through the script and fixed what was going wrong with this error.

Fixing setup.py improper handling of process output

Be advised that this still resulted in a 403 Forbidden error when trying to reach the web server. I simply deleted the symlink created at /var/www and copied the contents of $HOME/RWSOL/www to /var/www instead, and then it worked great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants