Skip to content

Error in Linux Script? #71

Description

@cigdangle

Bazzite 44.20260820

When running the linux script:
curl -fsSL https://raw.githubusercontent.com/Abdess/retrobios/main/install.sh | sh

...the following appears:

% Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  53845 100  53845   0      0 583.8k      0                              0
RetroBIOS

Detecting platform...
  Found ES-DE (BIOS files go to each emulator, not to ES-DE itself)
  Found Emudeck at /home/cigdangle/Emulation/bios
  Found Retroarch at /home/cigdangle/Emulation/bios

Fetching file index for emudeck...
  619 files (3.2 GB)

Checking existing files...
Traceback (most recent call last):
  File "/tmp/tmp.HeWOhCGIml/install.py", line 684, in _destination_path
    candidate.relative_to(resolved_root)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/pathlib/__init__.py", line 490, in relative_to
    raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")
ValueError: '/var/home/cigdangle/.local/share/shadPS4/sys_modules/libSceLibcInternal.sprx' is not in the subpath of '/var/home/cigdangle/Emulation/bios'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/tmp.HeWOhCGIml/install.py", line 1450, in <module>
    main()
    ~~~~^^
  File "/tmp/tmp.HeWOhCGIml/install.py", line 1388, in main
    to_download, up_to_date, mismatched = check_local(
                                          ~~~~~~~~~~~^
        files, bios_path, jobs=args.jobs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/tmp/tmp.HeWOhCGIml/install.py", line 949, in check_local
    dest = _destination_path(bios_path, f["dest"])
  File "/tmp/tmp.HeWOhCGIml/install.py", line 686, in _destination_path
    raise ValueError(f"destination escapes BIOS directory: {value!r}") from exc
ValueError: destination escapes BIOS directory: 'shadps4/sys_modules/libSceLibcInternal.sprx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions