wsl-distrod
wsl-distrod copied to clipboard
[ERROR] Failed to fetch a distro image.
Using the distrod_wsl_launcher to install an image from linuxcontainers.org[the default choice to get the image.
Step1:
Run distrod_wsl_launcher.exe on win11
Step2:
Input 2 or press [Enter], then terminate forcely
Step3:
Run the distrod_wsl_launcher on powershell and show the errors below
Step4:
Network and proxy settings
THE ERRORS
When not using proxy: 0: Failed to fetch the image list. 1: Failed to parse the distro image list of the linuxcontainer.org image server. 2: Failed to fetch https://images.linuxcontainers.org/images/ 3: error sending request for url (https://images.linuxcontainers.org/images/): error trying to connect ((os error 10054))
Now using proxy: 0: Failed to fetch the image list. 1: Failed to parse the distro image list of the linuxcontainer.org image server. 2: "images/" is not available
The network are supposed to be Okay because I've alreaad set the UWP Lookback on and have tried to modify network security Settings of windows system. However it could not work conclusively.

Our team facing same issue...
Same issue
Same issue
It seems like that the server is now under maintenance, or you can say it is updating.
3 days ?
3 days ?
I don' know. I don't even find where the notification is.
Are you still getting that error?
Same here - exact same error.
I did notice the following:
# distrod/libs/src/container_org_image.rs
static LINUX_CONTAINERS_ORG_BASE: &str = "https://images.linuxcontainers.org/";
Checking Wayback Machine it looks like https://images.linuxcontainers.org recently started redirecting to https://us.lxd.images.canonical.com/.
Wayback Machine: https://web.archive.org/web/20230801000000*/images.linuxcontainers.org.
I think I successfully used Distrod with https://linuxcontainers.org before the Wayback Machine redirects, so it may not matter. I'll dig deeper, time allowing.
edit: link formatting
Are you still getting that error?
Yeah. I tried it just now. It is definitely a headache.
Same here - exact same error.
I did notice the following:
# distrod/libs/src/container_org_image.rs static LINUX_CONTAINERS_ORG_BASE: &str = "https://images.linuxcontainers.org/";Checking Wayback Machine it looks like https://images.linuxcontainers.org recently started redirecting to https://us.lxd.images.canonical.com/.
Wayback Machine: https://web.archive.org/web/20230801000000*/images.linuxcontainers.org.
I think I successfully used Distrod with https://linuxcontainers.org before the Wayback Machine redirects, so it may not matter. I'll dig deeper, time allowing.
edit: link formatting
I guessed the domain name of the source was down or changed.
Anyway, thanks man.
Are you still getting that error?
Yeah. I tried it just now. It is definitely a headache.
Do you know any alternative? Without considering Docker.
I use this software because WSL2 (except the store version) doesn't support systemd . The store version has a critical issue and can not start in session 0. https://github.com/microsoft/WSL/issues/9231 I hope this issue resolve.
Are you still getting that error?
Yeah. I tried it just now. It is definitely a headache.
Do you know any alternative? Without considering Docker.
- Archinstall for wsl made by yuk, you can find an install document on the homepage.
- ArchWSL in Microsoft Store
- LxRunOffline with tutorial in Chinese
https://github.com/DDoSolitary/LxRunOffline looks pretty cool! Glad I was following this issue.
That said, I'd still be interested in a Distrod fix 😂
I have not tried to use Distrod recently the download issue may or may not still be a problem.
Anyone still experiencing it?
https://github.com/DDoSolitary/LxRunOffline looks pretty cool! Glad I was following this issue.
That said, I'd still be interested in a Distrod fix 😂
I have not tried to use Distrod recently the download issue may or may not still be a problem.
Anyone still experiencing it?
The problem, for me is that I can not run a desktop environment (DE) on wsl2 stablely, may because AMD integrated graphics can not be identified by wsl2 or KDE plasma. I have already installed the v gpu drivers.
Finally I gave up installing the desktop application.
I recently wiped and reinstalled everything on my laptop, and I am now encountering this issue. Do we have any solutions for distrod to actually work the way it used to?
I guess the automation for fetching images is now outdated.
On Thu, May 18, 2023, 4:56 PM Josh VanderLinden @.***> wrote:
I recently wiped and reinstalled everything on my laptop, and I am now encountering this issue. Do we have any solutions for distrod to actually work the way it used to?
— Reply to this email directly, view it on GitHub https://github.com/nullpo-head/wsl-distrod/issues/87#issuecomment-1552917076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQIXVMVT7YHOXKSJHJ5N7TXGYBO7ANCNFSM6AAAAAAWIBKGHA . You are receiving this because you commented.Message ID: @.***>
The issue seems to lie in the way container_org_images::fetch_apache_file_list parses the received data. It's assuming a table structure, but something forced a change that makes the path to the links body > pre > a with the date information being in the parent <pre> element. Rewriting the parser to sort of work isn't an issue, adapting the date extraction is a bit more effort, but I can't test it any changes to propose a fix in my current dev env. Will look into writing a PR to fix it soon-ish.
Luckily the URL used still works, and doesn't seem changed compared to what it used to be, making this a rather easy fix. If anyone has build instructions available in a more readable format than the GH Workflow YAML files, that'd be much appreciated
@nullpo-head - would it be possible to have a new build of distrod with the linuxcontainer URL fixed? Thanks!
For those who found this and don't know what to do:
As for now, you can download a rootfs.tar.xz build artifact from LinuxContainers' public Jenkins CI Instance for the distribution of your choice.
For those who found this and don't know what to do:
As for now, you can download a
rootfs.tar.xzbuild artifact from LinuxContainers' public Jenkins CI Instance for the distribution of your choice.
Just to add a bit more detail - this does work, for example I navigated to:
https://jenkins.linuxcontainers.org/job/image-rockylinux/lastBuild/architecture=amd64,release=9,variant=default/
And then downloaded that rootfs.tar.xz, chose option 1, and set the path to ../rootfs.tar.xz
DistroD is such a great tool - I really hope someone fixes this download thing.
DistroD is such a great tool - I really hope someone fixes this download thing.
Yeah, it would be nice to have a functional fork. I'll see what I can do over this weekend.
EDIT: Took a look, seems like the entire codebase needs to be revamped. Are you looking for new maintainers @nullpo-head?
For those who found this and don't know what to do: As for now, you can download a
rootfs.tar.xzbuild artifact from LinuxContainers' public Jenkins CI Instance for the distribution of your choice.Just to add a bit more detail - this does work, for example I navigated to:
https://jenkins.linuxcontainers.org/job/image-rockylinux/lastBuild/architecture=amd64,release=9,variant=default/
And then downloaded that rootfs.tar.xz, chose option 1, and set the path to ../rootfs.tar.xz
I have tried to use linux distributions with "tar.gz"-like file suffix to deploy the arch distribution directly but in the end it seams like the tool Distro with tar.xz is best.