[GH-ISSUE #83] Doesn't work on WSL2 #28

Closed
opened 2026-10-29 14:18:34 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Tijani127 on GitHub (Jul 29, 2026).
Original GitHub issue: https://github.com/kvcache-ai/AgentENV/issues/83

Affected component

Build / installation

AgentENV version

  • Version or commit: latest
  • Local modifications: none

Host environment

  • OS: Windows 10(WSL2)
  • Kernel (uname -a): Linux 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
  • Architecture: x86_64
  • Bare metal, VM, or cloud: VM
  • ublk support: no
  • CPU: intel i5 core
  • Memory: 8GB
  • Storage/filesystem: /dev/sdd 1007G 9.5G 947G 1% /

Operation and configuration

tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba
sh
[sudo: authenticate] Password: **        
Downloading aenv CLI ...
Downloading aenv-server-linux-x86_64.tar.gz ...
Running dependency setup ...
Get:1 https://download.docker.com/linux/ubuntu resolute InRelease [32.5 kB]
Get:2 https://download.docker.com/linux/ubuntu resolute/stable amd64 Packages [21.4 kB]   
Hit:3 http://archive.ubuntu.com/ubuntu resolute InRelease                                                                     
Get:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
Get:5 http://security.ubuntu.com/ubuntu resolute-security InRelease [137 kB]
Get:6 http://archive.ubuntu.com/ubuntu resolute-backports InRelease [136 kB]
Get:7 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages [341 kB]
Get:8 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [402 kB]
Get:9 http://archive.ubuntu.com/ubuntu resolute-updates/main Translation-en [103 kB]
Get:10 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Components [62.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [223 kB]
Get:12 http://security.ubuntu.com/ubuntu resolute-security/main Translation-en [86.8 kB]
Get:13 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Components [32.8 kB]   
Get:14 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Packages [150 kB]
Get:15 http://archive.ubuntu.com/ubuntu resolute-updates/universe Translation-en [72.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Components [153 kB]      
Get:17 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [298 kB]
Get:18 http://security.ubuntu.com/ubuntu resolute-security/universe Translation-en [48.3 kB]
Get:19 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Components [43.1 kB]
Get:20 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages [288 kB]        
Get:21 http://archive.ubuntu.com/ubuntu resolute-updates/restricted Translation-en [57.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse amd64 Packages [10.6 kB]
Get:23 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse Translation-en [2840 B]
Get:24 http://archive.ubuntu.com/ubuntu resolute-backports/universe amd64 Packages [640 B]
Get:25 http://archive.ubuntu.com/ubuntu resolute-backports/universe Translation-en [300 B]
Get:26 http://security.ubuntu.com/ubuntu resolute-security/restricted Translation-en [55.5 kB]
Get:27 http://security.ubuntu.com/ubuntu resolute-security/multiverse amd64 Packages [9020 B]
Get:28 http://security.ubuntu.com/ubuntu resolute-security/multiverse Translation-en [2660 B]
Fetched 2908 kB in 3s (997 kB/s)  
Reading package lists... Done
2026-07-29T23:02:34.198883Z  INFO agentenv::setup::packages: installing missing runtime packages packages=["libaio1t64", "umoc
i", "zstd"]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Done
The following NEW packages will be installed:
  libaio1t64 umoci zstd
0 upgraded, 3 newly installed, 0 to remove and 63 not upgraded.
Need to get 2832 kB of archives.
After this operation, 8458 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu resolute/main amd64 libaio1t64 amd64 0.3.113-8build1 [7356 B]
Get:2 http://archive.ubuntu.com/ubuntu resolute/universe amd64 umoci amd64 0.4.7+ds-4 [2153 kB]
Get:3 http://archive.ubuntu.com/ubuntu resolute/main amd64 zstd amd64 1.5.7+dfsg-3 [672 kB]
Fetched 2832 kB in 2s (1859 kB/s)
Selecting previously unselected package libaio1t64:amd64.
(Reading database ... 39391 files and directories currently installed.)
Preparing to unpack .../libaio1t64_0.3.113-8build1_amd64.deb ...
Unpacking libaio1t64:amd64 (0.3.113-8build1) ...
Selecting previously unselected package umoci.
Preparing to unpack .../umoci_0.4.7+ds-4_amd64.deb ...
Unpacking umoci (0.4.7+ds-4) ...
Selecting previously unselected package zstd.
Preparing to unpack .../zstd_1.5.7+dfsg-3_amd64.deb ...
Unpacking zstd (1.5.7+dfsg-3) ...
Setting up umoci (0.4.7+ds-4) ...
Setting up libaio1t64:amd64 (0.3.113-8build1) ...
Setting up zstd (1.5.7+dfsg-3) ...
Processing triggers for man-db (2.13.1-1build1) ...
Processing triggers for libc-bin (2.43-2ubuntu2) ...
2026-07-29T23:02:41.855610Z  INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps
2026-07-29T23:02:41.895790Z  INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow
nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb
d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb
Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2
186.ubuntu1.26.04.x86_64.deb
tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba
sh
Downloading aenv CLI ...
Downloading aenv-server-linux-x86_64.tar.gz ...
Running dependency setup ...
2026-07-29T23:03:16.086067Z  INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps
2026-07-29T23:03:16.096790Z  INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow
nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb
d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb
Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2
186.ubuntu1.26.04.x86_64.deb
tijani12@DESKTOP-NCL3HTC:~$ aenv
AENV CLI

Usage: aenv <COMMAND>

Commands:
  auth      Save server URL and API key
  pull      Build a template from a base image. Waits for the build to complete by default; exits non-zero on failure. Use -d 
to return immediately
  build     Build a template from a local Dockerfile
  start     Start a sandbox and attach an interactive shell
  exec      Run a command in a sandbox
  connect   Attach an interactive shell to a running sandbox
  pause     Pause a running sandbox
  resume    Resume a paused sandbox
  list      List sandboxes
  delete    Kill a sandbox
  timeout   Set the sandbox expiration (seconds from now)
  snapshot  Snapshot operations
  template  Template operations
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version
tijani12@DESKTOP-NCL3HTC:~$ sudo systemctl start aenv
Failed to start aenv.service: Unit aenv.service not found.
tijani12@DESKTOP-NCL3HTC:~$ uname -a
Linux DESKTOP-NCL3HTC 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 x86_64 GNU/Linux
tijani12@DESKTOP-NCL3HTC:~$ uname
Linux
tijani12@DESKTOP-NCL3HTC:~$ uname -h
Print certain system information.
With no OPTION, same as -s.

Usage: uname [OPTION]...

Options:
  -a, --all               Behave as though all of the options -mnrsvo were specified.
  -s, --kernel-name       print the kernel name.
  -n, --nodename          print the nodename (the nodename may be a name that the system is known by to a communications      
                          network).
  -r, --kernel-release    print the operating system release.
  -v, --kernel-version    print the operating system version.
  -m, --machine           print the machine hardware name.
  -o, --operating-system  print the operating system name.
  -h, --help              Print help
  -V, --version           Print version
tijani12@DESKTOP-NCL3HTC:~$ uname -s
Linux
tijani12@DESKTOP-NCL3HTC:~$ uname -r
6.18.33.2-microsoft-standard-WSL2
tijani12@DESKTOP-NCL3HTC:~$ uname -m
x86_64
tijani12@DESKTOP-NCL3HTC:~$ uname -o
GNU/Linux
tijani12@DESKTOP-NCL3HTC:~$ uname -v
#1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026
tijani12@DESKTOP-NCL3HTC:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
none            1.9G     0  1.9G   0% /usr/lib/modules/6.18.33.2-microsoft-standard-WSL2
none            1.9G  4.0K  1.9G   1% /mnt/wsl
drivers         238G  238G  359M 100% /usr/lib/wsl/drivers
/dev/sdd       1007G  9.5G  947G   1% /
none            1.9G   32K  1.9G   1% /mnt/wslg
none            1.9G     0  1.9G   0% /usr/lib/wsl/lib
rootfs          1.9G  2.8M  1.9G   1% /init
none            1.9G  1.1M  1.9G   1% /run
none            1.9G     0  1.9G   0% /run/lock
none            1.9G     0  1.9G   0% /run/shm
none            1.9G   80K  1.9G   1% /mnt/wslg/versions.txt
none            1.9G   80K  1.9G   1% /mnt/wslg/doc
C:\             238G  238G  359M 100% /mnt/c
none            1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs           1.9G     0  1.9G   0% /tmp
none            1.0M     0  1.0M   0% /run/credentials/systemd-resolved.service
tmpfs           386M   12K  386M   1% /run/user/1000
none            1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
tmpfs           386M   12K  386M   1% /run/user/0
tijani12@DESKTOP-NCL3HTC:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
tijani12@DESKTOP-NCL3HTC:~$ # 1. Force create the installer's target cache path
do mkdir -p /var/lib/aenv/deps/overlaybd/downloads/

# 2. Download the highly compatible Ubuntu 24.04 package directly into that path, renamitijani12@DESKTOP-NCL3HTC:~$ sudo mkdir
 -p /var/lib/aenv/deps/overlaybd/downloads/
 bypass the 404
sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb \
"https://github.com"

# 2. Download the highly compatible Ubuntu 24.04 package directly into that path, renaming it to bypass the 404
sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb \
"https://github.com"
tijani12@DESKTOP-NCL3HTC:~$ mktemp
/tmp/tmp.TCNDbbBqsu
tijani12@DESKTOP-NCL3HTC:~$ sudo mkdir -p /var/lib/aenv/deps/overlaybd/downloads/
tijani12@DESKTOP-NCL3HTC:~$ 
tijani12@DESKTOP-NCL3HTC:~$ sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.2
6.04.x86_64.deb \
> "https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.24.04.x86_64.de
b"
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 15.74M 100 15.74M   0      0  5.60M      0   00:02   00:02          6.00M
tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba
sh
Downloading aenv CLI ...
Downloading aenv-server-linux-x86_64.tar.gz ...
Running dependency setup ...
2026-07-29T23:09:24.782667Z  INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps
2026-07-29T23:09:24.801940Z  INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow
nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb
d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb
Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2
186.ubuntu1.26.04.x86_64.deb
tijani12@DESKTOP-NCL3HTC:~$ sudo systemcl start aenv
sudo: 'systemcl': command not found
tijani12@DESKTOP-NCL3HTC:~$ sudo systemctl start aenv
Failed to start aenv.service: Unit aenv.service not found.
tijani12@DESKTOP-NCL3HTC:~$ sudo dpkg -i /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.0
4.x86_64.deb
dpkg: error: cannot access archive '/var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x
86_64.deb': No such file or directory
tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/docker-setup.sh | su
do bash
Loading ublk_drv kernel module ...
  ublk_drv not found; installing linux-modules-extra-6.18.33.2-microsoft-standard-WSL2 ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-modules-extra-6.18.33.2-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-modules-extra-6.18.33.2-microsoft-standard-WSL2'
E: Couldn't find any package by regex 'linux-modules-extra-6.18.33.2-microsoft-standard-WSL2'
tijani12@DESKTOP-NCL3HTC:~$ aenv auth
NV server URL [http://localhost:8000]: http://127.0.0.1:8000
# API key: dummyAENV server URL [http://localhost:8000]: API key: 

tijani12@DESKTOP-NCL3HTC:~$ aenv auth
AENV server URL [http://localhost:8000]:   
API key: 
Credentials saved.
tijani12@DESKTOP-NCL3HTC:~$ aenv pull ubuntu:22.04 --name ubuntu
Error: HTTP 419: <div class="flex flex-col items-center justify-center h-full">

Steps to reproduce

Install AgentENV with WSL2 on windows. it will not work.

Expected behavior

I expected it to work.

Actual behavior

Didn't work.

Logs and diagnostics

already did that.

Reproduction frequency

Always

Regression information

  • Last known good:
  • First known bad:

Additional context

nope

Pre-submission checklist

  • I searched existing open and closed issues and did not find a duplicate.
  • I provided a minimal reproduction or explained why one cannot be provided.
  • I removed credentials, tokens, private image references, and other sensitive information.
  • This is not a security vulnerability.
Originally created by @Tijani127 on GitHub (Jul 29, 2026). Original GitHub issue: https://github.com/kvcache-ai/AgentENV/issues/83 ### Affected component Build / installation ### AgentENV version - Version or commit: latest - Local modifications: none ### Host environment - OS: Windows 10(WSL2) - Kernel (`uname -a`): Linux 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux - Architecture: x86_64 - Bare metal, VM, or cloud: VM - ublk support: no - CPU: intel i5 core - Memory: 8GB - Storage/filesystem: /dev/sdd 1007G 9.5G 947G 1% / ### Operation and configuration ```shell tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba sh [sudo: authenticate] Password: ** Downloading aenv CLI ... Downloading aenv-server-linux-x86_64.tar.gz ... Running dependency setup ... Get:1 https://download.docker.com/linux/ubuntu resolute InRelease [32.5 kB] Get:2 https://download.docker.com/linux/ubuntu resolute/stable amd64 Packages [21.4 kB] Hit:3 http://archive.ubuntu.com/ubuntu resolute InRelease Get:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB] Get:5 http://security.ubuntu.com/ubuntu resolute-security InRelease [137 kB] Get:6 http://archive.ubuntu.com/ubuntu resolute-backports InRelease [136 kB] Get:7 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages [341 kB] Get:8 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [402 kB] Get:9 http://archive.ubuntu.com/ubuntu resolute-updates/main Translation-en [103 kB] Get:10 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Components [62.0 kB] Get:11 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [223 kB] Get:12 http://security.ubuntu.com/ubuntu resolute-security/main Translation-en [86.8 kB] Get:13 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Components [32.8 kB] Get:14 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Packages [150 kB] Get:15 http://archive.ubuntu.com/ubuntu resolute-updates/universe Translation-en [72.7 kB] Get:16 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Components [153 kB] Get:17 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [298 kB] Get:18 http://security.ubuntu.com/ubuntu resolute-security/universe Translation-en [48.3 kB] Get:19 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Components [43.1 kB] Get:20 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages [288 kB] Get:21 http://archive.ubuntu.com/ubuntu resolute-updates/restricted Translation-en [57.3 kB] Get:22 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse amd64 Packages [10.6 kB] Get:23 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse Translation-en [2840 B] Get:24 http://archive.ubuntu.com/ubuntu resolute-backports/universe amd64 Packages [640 B] Get:25 http://archive.ubuntu.com/ubuntu resolute-backports/universe Translation-en [300 B] Get:26 http://security.ubuntu.com/ubuntu resolute-security/restricted Translation-en [55.5 kB] Get:27 http://security.ubuntu.com/ubuntu resolute-security/multiverse amd64 Packages [9020 B] Get:28 http://security.ubuntu.com/ubuntu resolute-security/multiverse Translation-en [2660 B] Fetched 2908 kB in 3s (997 kB/s) Reading package lists... Done 2026-07-29T23:02:34.198883Z INFO agentenv::setup::packages: installing missing runtime packages packages=["libaio1t64", "umoc i", "zstd"] Reading package lists... Done Building dependency tree... Done Reading state information... Done Solving dependencies... Done The following NEW packages will be installed: libaio1t64 umoci zstd 0 upgraded, 3 newly installed, 0 to remove and 63 not upgraded. Need to get 2832 kB of archives. After this operation, 8458 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu resolute/main amd64 libaio1t64 amd64 0.3.113-8build1 [7356 B] Get:2 http://archive.ubuntu.com/ubuntu resolute/universe amd64 umoci amd64 0.4.7+ds-4 [2153 kB] Get:3 http://archive.ubuntu.com/ubuntu resolute/main amd64 zstd amd64 1.5.7+dfsg-3 [672 kB] Fetched 2832 kB in 2s (1859 kB/s) Selecting previously unselected package libaio1t64:amd64. (Reading database ... 39391 files and directories currently installed.) Preparing to unpack .../libaio1t64_0.3.113-8build1_amd64.deb ... Unpacking libaio1t64:amd64 (0.3.113-8build1) ... Selecting previously unselected package umoci. Preparing to unpack .../umoci_0.4.7+ds-4_amd64.deb ... Unpacking umoci (0.4.7+ds-4) ... Selecting previously unselected package zstd. Preparing to unpack .../zstd_1.5.7+dfsg-3_amd64.deb ... Unpacking zstd (1.5.7+dfsg-3) ... Setting up umoci (0.4.7+ds-4) ... Setting up libaio1t64:amd64 (0.3.113-8build1) ... Setting up zstd (1.5.7+dfsg-3) ... Processing triggers for man-db (2.13.1-1build1) ... Processing triggers for libc-bin (2.43-2ubuntu2) ... 2026-07-29T23:02:41.855610Z INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps 2026-07-29T23:02:41.895790Z INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2 186.ubuntu1.26.04.x86_64.deb tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba sh Downloading aenv CLI ... Downloading aenv-server-linux-x86_64.tar.gz ... Running dependency setup ... 2026-07-29T23:03:16.086067Z INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps 2026-07-29T23:03:16.096790Z INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2 186.ubuntu1.26.04.x86_64.deb tijani12@DESKTOP-NCL3HTC:~$ aenv AENV CLI Usage: aenv <COMMAND> Commands: auth Save server URL and API key pull Build a template from a base image. Waits for the build to complete by default; exits non-zero on failure. Use -d to return immediately build Build a template from a local Dockerfile start Start a sandbox and attach an interactive shell exec Run a command in a sandbox connect Attach an interactive shell to a running sandbox pause Pause a running sandbox resume Resume a paused sandbox list List sandboxes delete Kill a sandbox timeout Set the sandbox expiration (seconds from now) snapshot Snapshot operations template Template operations help Print this message or the help of the given subcommand(s) Options: -h, --help Print help -V, --version Print version tijani12@DESKTOP-NCL3HTC:~$ sudo systemctl start aenv Failed to start aenv.service: Unit aenv.service not found. tijani12@DESKTOP-NCL3HTC:~$ uname -a Linux DESKTOP-NCL3HTC 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 x86_64 GNU/Linux tijani12@DESKTOP-NCL3HTC:~$ uname Linux tijani12@DESKTOP-NCL3HTC:~$ uname -h Print certain system information. With no OPTION, same as -s. Usage: uname [OPTION]... Options: -a, --all Behave as though all of the options -mnrsvo were specified. -s, --kernel-name print the kernel name. -n, --nodename print the nodename (the nodename may be a name that the system is known by to a communications network). -r, --kernel-release print the operating system release. -v, --kernel-version print the operating system version. -m, --machine print the machine hardware name. -o, --operating-system print the operating system name. -h, --help Print help -V, --version Print version tijani12@DESKTOP-NCL3HTC:~$ uname -s Linux tijani12@DESKTOP-NCL3HTC:~$ uname -r 6.18.33.2-microsoft-standard-WSL2 tijani12@DESKTOP-NCL3HTC:~$ uname -m x86_64 tijani12@DESKTOP-NCL3HTC:~$ uname -o GNU/Linux tijani12@DESKTOP-NCL3HTC:~$ uname -v #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 tijani12@DESKTOP-NCL3HTC:~$ df -h Filesystem Size Used Avail Use% Mounted on none 1.9G 0 1.9G 0% /usr/lib/modules/6.18.33.2-microsoft-standard-WSL2 none 1.9G 4.0K 1.9G 1% /mnt/wsl drivers 238G 238G 359M 100% /usr/lib/wsl/drivers /dev/sdd 1007G 9.5G 947G 1% / none 1.9G 32K 1.9G 1% /mnt/wslg none 1.9G 0 1.9G 0% /usr/lib/wsl/lib rootfs 1.9G 2.8M 1.9G 1% /init none 1.9G 1.1M 1.9G 1% /run none 1.9G 0 1.9G 0% /run/lock none 1.9G 0 1.9G 0% /run/shm none 1.9G 80K 1.9G 1% /mnt/wslg/versions.txt none 1.9G 80K 1.9G 1% /mnt/wslg/doc C:\ 238G 238G 359M 100% /mnt/c none 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs 1.9G 0 1.9G 0% /tmp none 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service tmpfs 386M 12K 386M 1% /run/user/1000 none 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service tmpfs 386M 12K 386M 1% /run/user/0 tijani12@DESKTOP-NCL3HTC:~$ cat /etc/os-release PRETTY_NAME="Ubuntu 26.04 LTS" NAME="Ubuntu" VERSION_ID="26.04" VERSION="26.04 (Resolute Raccoon)" VERSION_CODENAME=resolute ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=resolute LOGO=ubuntu-logo tijani12@DESKTOP-NCL3HTC:~$ # 1. Force create the installer's target cache path do mkdir -p /var/lib/aenv/deps/overlaybd/downloads/ # 2. Download the highly compatible Ubuntu 24.04 package directly into that path, renamitijani12@DESKTOP-NCL3HTC:~$ sudo mkdir -p /var/lib/aenv/deps/overlaybd/downloads/ bypass the 404 sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb \ "https://github.com" # 2. Download the highly compatible Ubuntu 24.04 package directly into that path, renaming it to bypass the 404 sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb \ "https://github.com" tijani12@DESKTOP-NCL3HTC:~$ mktemp /tmp/tmp.TCNDbbBqsu tijani12@DESKTOP-NCL3HTC:~$ sudo mkdir -p /var/lib/aenv/deps/overlaybd/downloads/ tijani12@DESKTOP-NCL3HTC:~$ tijani12@DESKTOP-NCL3HTC:~$ sudo curl -L -o /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.2 6.04.x86_64.deb \ > "https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.24.04.x86_64.de b" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 15.74M 100 15.74M 0 0 5.60M 0 00:02 00:02 6.00M tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/install.sh | sudo ba sh Downloading aenv CLI ... Downloading aenv-server-linux-x86_64.tar.gz ... Running dependency setup ... 2026-07-29T23:09:24.782667Z INFO agentenv::setup: ensuring dependencies path=/var/lib/aenv/deps 2026-07-29T23:09:24.801940Z INFO agentenv::setup::deps: downloading url="https://github.com/containerd/overlaybd/releases/dow nload/v1.0.18/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb" dest=/var/lib/aenv/deps/overlaybd/downloads/overlayb d-1.0.18-20260710.cee2186.ubuntu1.26.04.x86_64.deb Error: HTTP 404 Not Found for https://github.com/containerd/overlaybd/releases/download/v1.0.18/overlaybd-1.0.18-20260710.cee2 186.ubuntu1.26.04.x86_64.deb tijani12@DESKTOP-NCL3HTC:~$ sudo systemcl start aenv sudo: 'systemcl': command not found tijani12@DESKTOP-NCL3HTC:~$ sudo systemctl start aenv Failed to start aenv.service: Unit aenv.service not found. tijani12@DESKTOP-NCL3HTC:~$ sudo dpkg -i /var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.0 4.x86_64.deb dpkg: error: cannot access archive '/var/lib/aenv/deps/overlaybd/downloads/overlaybd-1.0.18-20260710.cee2186.ubuntu1.26.04.x 86_64.deb': No such file or directory tijani12@DESKTOP-NCL3HTC:~$ curl -fsSL https://raw.githubusercontent.com/kvcache-ai/AgentENV/main/scripts/docker-setup.sh | su do bash Loading ublk_drv kernel module ... ublk_drv not found; installing linux-modules-extra-6.18.33.2-microsoft-standard-WSL2 ... Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package linux-modules-extra-6.18.33.2-microsoft-standard-WSL2 E: Couldn't find any package by glob 'linux-modules-extra-6.18.33.2-microsoft-standard-WSL2' E: Couldn't find any package by regex 'linux-modules-extra-6.18.33.2-microsoft-standard-WSL2' tijani12@DESKTOP-NCL3HTC:~$ aenv auth NV server URL [http://localhost:8000]: http://127.0.0.1:8000 # API key: dummyAENV server URL [http://localhost:8000]: API key: tijani12@DESKTOP-NCL3HTC:~$ aenv auth AENV server URL [http://localhost:8000]: API key: Credentials saved. tijani12@DESKTOP-NCL3HTC:~$ aenv pull ubuntu:22.04 --name ubuntu Error: HTTP 419: <div class="flex flex-col items-center justify-center h-full"> ``` ### Steps to reproduce Install AgentENV with WSL2 on windows. it will not work. ### Expected behavior I expected it to work. ### Actual behavior Didn't work. ### Logs and diagnostics ```text already did that. ``` ### Reproduction frequency Always ### Regression information - Last known good: - First known bad: ### Additional context nope ### Pre-submission checklist - [x] I searched existing open and closed issues and did not find a duplicate. - [x] I provided a minimal reproduction or explained why one cannot be provided. - [x] I removed credentials, tokens, private image references, and other sensitive information. - [x] This is not a security vulnerability.
bsakaguchi 2026-10-29 14:18:34 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@yingdi-shan commented on GitHub (Jul 30, 2026):

The WSL2 kernel does not support ublk (see microsoft/WSL#41054). AgentENV is designed for server environments, so WSL2 support is not currently planned.

<!-- gh-comment-id:5132906549 --> @yingdi-shan commented on GitHub (Jul 30, 2026): The WSL2 kernel does not support ublk (see [microsoft/WSL#41054](https://github.com/microsoft/wsl/issues/41054)). AgentENV is designed for server environments, so WSL2 support is not currently planned.
Author
Owner

@emersonbusson commented on GitHub (Aug 17, 2026):

Quick update for anyone landing here looking to run AgentENV on WSL2:

We have validated a config-only patch enabling CONFIG_BLK_DEV_UBLK=m against the official WSL2 kernel (linux-msft-wsl-6.18.y). It compiles cleanly for both x86_64 and arm64 with 0 new warnings, passes Sparse C=2, and was tested in QEMU with /dev/ublk-control initializing properly.

The full validation packet and kernel branch are available:

If you need ublk on WSL2 today for overlaybd / AgentENV ahead of the stock kernel release, you can use that branch to build or load ublk_drv.ko.

<!-- gh-comment-id:5319102093 --> @emersonbusson commented on GitHub (Aug 17, 2026): Quick update for anyone landing here looking to run AgentENV on WSL2: We have validated a config-only patch enabling `CONFIG_BLK_DEV_UBLK=m` against the official WSL2 kernel (`linux-msft-wsl-6.18.y`). It compiles cleanly for both x86_64 and arm64 with 0 new warnings, passes Sparse `C=2`, and was tested in QEMU with `/dev/ublk-control` initializing properly. The full validation packet and kernel branch are available: - Upstream WSL tracking issue: https://github.com/microsoft/WSL/issues/41054#issuecomment-5319046653 - Tested kernel fork branch: https://github.com/emersonbusson/WSL2-Linux-Kernel/tree/config/ublk-zram-writeback-6.18 If you need `ublk` on WSL2 today for `overlaybd` / `AgentENV` ahead of the stock kernel release, you can use that branch to build or load `ublk_drv.ko`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#28
No description provided.