When I enteted gedit /etc/apt/sources.list, it says error: gedit command not found.
Then I enter dpkg-query -l | grep gedit to check if it is installed. But there are no available package installed with this name. Is gedit available in your filesystem?