I have installed Bash on Ubuntu on Windows (after enabling the feature in settings)
I don't remember what I did, but the result was that apt-get doesn't locate ANY package
With and without sudo:
$ apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <package>
I tried many fixes found on this site, like:
apt-get upgrade & apt-get update
& I tried recreating resources.list using nano
How could this be fixed?
history? – AlwaysTalkingAboutMyDog Apr 20 '16 at 21:25grep -v '#' /etc/apt/sources.list? – Florian Diesch Apr 20 '16 at 21:26em /etc/apt-/sources.listrm /etc/apt/sources.listrm /etc/apt/sources.list.save /etc/apt/sources.list– Galacticai Apr 20 '16 at 21:26deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse– Galacticai Apr 20 '16 at 21:27historycommand outputting anything, maybe the command you did earlier that caused the problem. Doesapt-get updatework properly, outputting various downloading lines? – AlwaysTalkingAboutMyDog Apr 20 '16 at 21:28apt-get updategives 1 line output only, and it's strange. NOTE: see my old comment i edited it – Galacticai Apr 20 '16 at 21:30/etc/resolv.conf– Galacticai Apr 20 '16 at 21:33rm /etc/apt/sources.list...is the problem. You don't have any source destinations setup... – AlwaysTalkingAboutMyDog Apr 20 '16 at 21:34