Stream: beginners

Topic: ✔ Unable to install libc-dev on WSL


view this post on Zulip Gladisane (Aug 28 2024 at 16:13):

I'm unable to run roc test due to the requirement of libc, which I can't seem to install. My system is Ubuntu WSL on Windows 10, and I have been trying to run sudo apt install libc-dev binutils, sudo apt install libc-dev binutils --fix-missing for the last few days but to the same results:

Do you want to continue? [Y/n] y
Ign:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.4
Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.6
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.4
Ign:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-89.99
Ign:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.4
Err:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.4
  404  Not Found [IP: 91.189.91.82 80]
Err:2 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.6
  404  Not Found [IP: 91.189.91.82 80]
Err:3 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.4
  404  Not Found [IP: 91.189.91.82 80]
Err:4 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-89.99
  404  Not Found [IP: 91.189.91.82 80]
Err:5 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.4
  404  Not Found [IP: 91.189.91.82 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc-dev-bin_2.35-0ubuntu3.4_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff5_4.3.0-6ubuntu0.6_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc-devtools_2.35-0ubuntu3.4_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.15.0-89.99_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.35-0ubuntu3.4_amd64.deb  404  Not Found [IP: 91.189.91.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What did I do wrong?

view this post on Zulip Anton (Aug 28 2024 at 16:18):

Hi @Gladisane,
Can you share the output of ping 91.189.91.82?

view this post on Zulip Anton (Aug 28 2024 at 16:19):

If that's all good i would execute:

sudo apt update

And try installing again

view this post on Zulip Gladisane (Aug 28 2024 at 16:25):

Anton said:

If that's all good i would execute:

sudo apt update

And try installing again

Thanks this works brilliantly!

view this post on Zulip Notification Bot (Aug 28 2024 at 16:25):

Gladisane has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC