Remote-Wake-Sleep-On-LAN-Server icon indicating copy to clipboard operation
Remote-Wake-Sleep-On-LAN-Server copied to clipboard

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

Open MarcoPo10 opened this issue 1 year ago • 4 comments

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

MarcoPo10 avatar May 17 '24 20:05 MarcoPo10

i have the same problem exept a bit different image

lukee12zakk avatar May 23 '24 14:05 lukee12zakk

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

JTricky avatar Jun 03 '24 02:06 JTricky

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 avatar Jun 09 '24 01:06 itzmattu

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.

itzmattu avatar Jun 09 '24 07:06 itzmattu