Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

unable to locate package chattr on wsl ubuntu 20.04

$
0
0

I'm trying to get internet works on WSL Ubuntu and one of the solutions is the following

sudo rm /etc/resolv.confsudo bash -c 'echo "nameservers 8.8.8.8" > /etc/resolv.conf'sudo bash -c 'echo "[network]" > /etc/wsl.conf'sudo bash -c 'echo "generateResolvConf=false" >> /etc/wsl.conf'sudo chattr +i /etc/resolv.conf

but when I try to install chattr command sudo apt install chattr it keeps responding with unable to locate package even though the internet is temporarily working

Also, I tried to use e2fsprogs but for some reason even if the command seems to be installed and updated as per shell promote, once I use it the shell responds back with command not found.


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>