"Unable to locate package" error in Ubuntu 18.04 on Windows 10 [duplicate]

Solution 1:

First of all, try running sudo apt update. If that doesn't fix it, you might have an improperly configured /etc/apt/sources.list file.