christianhaitian / arkos

Another rockchip Operating System
MIT License
1.55k stars 85 forks source link

PortMaster doesn't launch #1157

Closed lauren7ino closed 2 months ago

lauren7ino commented 2 months ago

I already tested this procedure twice:

Install the latest IMG file into an SDCard, boot and OTA update. PortMaster doesn't launch. It appears some files are missing.

ark@rg353m:/roms/tools$ ./portmaster.sh p-cores: 0,1,2,3 (@1992.0000mhz) cmd: taskset -c 0,1,2,3

extracting new pylibs. Traceback (most recent call last): File "./pugwash", line 53, in with zipfile.ZipFile(PYLIB_ZIP, 'r') as zf: File "/usr/lib/python3.7/zipfile.py", line 1225, in init self._RealGetContents() File "/usr/lib/python3.7/zipfile.py", line 1292, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file

Original post: https://github.com/christianhaitian/arkos/issues/1148#issuecomment-2299697056

christianhaitian commented 2 months ago

Are you using a separate sd card for your roms?

lauren7ino commented 2 months ago

Yes.

I suspect that if I install the IMG, and run PortMaster before the OTA updates, it will launch later, but at the moment I can't test this hypothesis.

christianhaitian commented 2 months ago

If you're using a separate sd card for your roms, why is portmaster running from /roms/tools and not /roms2/tools?

lauren7ino commented 2 months ago

In this test I probably didn’t activate the ROMS2 SDCard. I will check later when I get back home.

lauren7ino commented 2 months ago

You were right, it was the PortMaster on ROMS2 that was broken. I replaced it with the PortMaster from ROMS and now it works again. You can close this issue now. I still have no idea what was the original cause of the problem though.