Each time I install Debian Jessie or Debian 8 I notice that I can not install any software packages afterwards. I’m not sure if it is me, or the installation media, but the sources.list is missing entries. Recently I tried installing xrdp, which allows Windows OS machines to RDP into Linux OS machines.
Commands such as…
apt-get update apt-get upgrade apt-get install package_name
… yielded no results. When I navigate to /etc/apt/sources.list I noticed there were only 3 entries in the file.
deb cdrom:[Debian GNU/Linux.... deb http://security.debian.org/ jessie/updates main contrib deb-src http://security.debian.org/ jessie/updates main contrib
However the Debian Wiki specifies two additional sources.
deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main
Once you add these to your sources list and run the above commands the
packages should update, and you can proceed with installing XRDP.