arkane-systems / wsl-transdebian

A repository for WSL-only apt packages.
39 stars 9 forks source link

Failed to fetch https://wsl-translinux.arkane-systems.net/apt/InRelease Could not resolve 'wsl-translinux.arkane-systems.net' #4

Closed jamikaroque closed 3 years ago

jamikaroque commented 3 years ago

Using Ubuntu 20.04.2 LTS on WSL2 (in Windows 10 10.0.19041)

I was following the ff instructions from here https://arkane-systems.github.io/wsl-transdebian/

apt install apt-transport-https

wget -O /etc/apt/trusted.gpg.d/wsl-transdebian.gpg https://arkane-systems.github.io/wsl-transdebian/apt/wsl-transdebian.gpg

chmod a+r /etc/apt/trusted.gpg.d/wsl-transdebian.gpg

cat << EOF > /etc/apt/sources.list.d/wsl-transdebian.list
deb https://arkane-systems.github.io/wsl-transdebian/apt/ <distro> main
deb-src https://arkane-systems.github.io/wsl-transdebian/apt/ <distro> main
EOF

apt update

but I get this after apt update:

Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Err:2 https://wsl-translinux.arkane-systems.net/apt  InRelease
  Could not resolve 'wsl-translinux.arkane-systems.net'
Hit:3 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 https://arkane-systems.github.io/wsl-transdebian/apt focal InRelease [2492 B]
Get:7 https://arkane-systems.github.io/wsl-transdebian/apt focal/main Sources [824 B]
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:9 https://arkane-systems.github.io/wsl-transdebian/apt focal/main amd64 Packages [1526 B]
Fetched 328 kB in 5s (65.8 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch https://wsl-translinux.arkane-systems.net/apt/InRelease  Could not resolve 'wsl-translinux.arkane-systems.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
cerebrate commented 3 years ago

That's not a problem with the new repo (arkane-systems.github.io), which as you can see from the second transcript is fetching successfully; it looks as if you still have an older repo (wsl-transdebian.arkane-systems.net) in your apt sources as well, and you're getting the error because that repo doesn't exist any more.

If you remove it from your apt sources and leave only the new one, your apt update should work fine.

jamikaroque commented 3 years ago

Thanks. That does seem to be the case as genie still worked right after. I must have acquired that repo from an old installation instruction I tried that didn't work for the same reason.

judofright commented 2 years ago

says i dont have wsl-translinux installed & i'm getting the same error...