Issue
newly I installed debian 8 on my laptop and when I tried to use "sudo" it replied
bash: sudo: command not found
when I used
/usr/bin/sudo
it replied
bash: /usr/bin/sudo: No such file or directory
and after that when I tried to install it with 'apt-get' I got this
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/850 kB of archives.
After this operation, 2,694 kB of additional disk space will be used.
Media change: please insert the disc labeled
'Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 CD Binary-1 20150425-12:54'
in the drive '/media/cdrom/' and press enter
I installed it with usb flash memory and I don't have cd image what should I do?
Solution
I found it! source.list in /etc/apt/source.list was empty! for someone that has a same problem: go to the bellow link and find your country and copy links to source.list or search debian source list generator debian.org/mirror/list-full
Answered By - Arash Kadkhodaei