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

Failed to install on bookworm 64bit @ zero2W #15

Open
Nabla128k opened this issue Jan 19, 2025 · 4 comments
Open

Failed to install on bookworm 64bit @ zero2W #15

Nabla128k opened this issue Jan 19, 2025 · 4 comments
Assignees

Comments

@Nabla128k
Copy link

Hi, trying to install into latest Pi OS lite bookworm at Zero2W and it fails with:

Cloning https://gitee.com/jdaie/sugar-wifi-config.git to /opt/sugar-wifi-config...
Cloning into '/opt/sugar-wifi-config'...
remote: Enumerating objects: 103, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 103 (delta 6), reused 78 (delta 4), pack-reused 0
Receiving objects: 100% (103/103), 1.86 MiB | 190.00 KiB/s, done.
Resolving deltas: 100% (6/6), done.
Already up to date.
Installing dependencies...
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 77.94s.
Adding startup command to /etc/rc.local...
Add to startup...
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
Well done Pi Star people!
Please restart your raspberry pi and enjoy it!!

There's no /etc/rc.local (because of systemd?)
Thanks

@JdaieLin
Copy link
Member

You are right. The latest Linux have deprecated /etc/rc.local. I might use the systemd method to start the service instead.

@JdaieLin JdaieLin self-assigned this Jan 25, 2025
@xanderhendriks
Copy link

I found that it also didn't work if I called the command sudo bash /opt/sugar-wifi-config/run.sh pisugar /opt/sugar-wifi-config/build/custom_config.json& from the command line. It looks like something in the bluetooth protocol stack has changed.

@JdaieLin
Copy link
Member

I found that it also didn't work if I called the command sudo bash /opt/sugar-wifi-config/run.sh pisugar /opt/sugar-wifi-config/build/custom_config.json& from the command line. It looks like something in the bluetooth protocol stack has changed.

sounds like another issue. Are there any error messages printed when you manually start it using the command?

@JdaieLin
Copy link
Member

Hi, trying to install into latest Pi OS lite bookworm at Zero2W and it fails with:

Cloning https://gitee.com/jdaie/sugar-wifi-config.git to /opt/sugar-wifi-config...
Cloning into '/opt/sugar-wifi-config'...
remote: Enumerating objects: 103, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 103 (delta 6), reused 78 (delta 4), pack-reused 0
Receiving objects: 100% (103/103), 1.86 MiB | 190.00 KiB/s, done.
Resolving deltas: 100% (6/6), done.
Already up to date.
Installing dependencies...
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 77.94s.
Adding startup command to /etc/rc.local...
Add to startup...
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
sed: can't read /etc/rc.local: No such file or directory
Well done Pi Star people!
Please restart your raspberry pi and enjoy it!!

There's no /etc/rc.local (because of systemd?) Thanks

already replace it with systemd in the lastest commit. You can try installing it again.

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

3 participants