Skip to content

[Bug] Dependencies: an error has occured #822

@silacs

Description

@silacs

Steps to reproduce/复现步骤

  1. run the run.sh script using git bash, or ubuntu on wsl, the logs are from ubuntu on wsl as git bash says basically nothing except the dependencies error

Expected behaviour/预期行为

after running run.sh it should prompt me to select the WSA architecture

Actual behaviour/实际行为

it says Dependencies: an error has occurred, exit at the end and exits the script

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

96451a2

Linux distribution info/Linux 发行版信息

Ubuntu 24.04.1 LTS on Windows 10 x86_64
WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.2605

Windows version/Windows 版本

10.0.26100.2605

Build Parameters/构建参数

INFO: Architecture: x64
INFO: Release Type: retail
INFO: Magisk Version: stable
INFO: Root Solution: magisk
INFO: Compress Format: none
INFO: Release Name: Retail

Version requirement/版本要求

  • I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本

Logs/日志

Details
Checking and ensuring dependencies
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20240203).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Creating python3 virtual env
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.12-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: /mnt/e/Programs/MagiskOnWSALocal/python3-env/bin/python3

Failed to upgrade python3 virtual env, clear and recreate
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.12-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: /mnt/e/Programs/MagiskOnWSALocal/python3-env/bin/python3

ERROR: Failed to create python3 virtual env
Dependencies: an error has occurred, exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions