Bash for Windows – apt-get broken/not working

Ran into this issue the other day on bash for windows where apt-get update/upgrade was not working. Most of the soultions out there was to totally uninstall it which really isnt ideal. Heres how I went about fixing it:

To fix it run the following:

apt-get commands will now work as you would expect, hope that helps!

1 comment… add one
  • JD

    Works. Jusr remember to close that current shell/window. Launch another window and do your sudo apt-get update then sudo apt-get upgrade -cheers.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.