I'm trying to install make
on a WSL instance in my Windows machine. So I tried the following command:
sudo apt install make
After entering my credentials, and pressing enter, I got the following output:
Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSuggested packages: make-docThe following NEW packages will be installed: make0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Need to get 180 kB of archives.After this operation, 426 kB of additional disk space will be used.Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1Err:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 Temporary failure resolving 'archive.ubuntu.com'E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/make-dfsg/make_4.3-4.1build1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I am also aware that on my local machine there is a rather strict security system related to fetching certificates. Often while installing Python packages using pip I will have to use things like --trusted-host
or other ways to bypass certification or SSL.
I'm not sure whether these two things are related, but running the same apt
command with --allow-unauthenticated
did not make any difference. Running apt-get update
resulted in the following:
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseErr:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Temporary failure resolving 'security.ubuntu.com'Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseErr:2 http://archive.ubuntu.com/ubuntu jammy InRelease Temporary failure resolving 'archive.ubuntu.com'Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Temporary failure resolving 'archive.ubuntu.com'Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Temporary failure resolving 'archive.ubuntu.com'Reading package lists... DoneW: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'W: Some index files failed to download. They have been ignored, or old ones used instead.