I have a friend who has installed Debian from home burned CDs. But when we try to apt-get new packages (eg. Audacity, Emacs) his installation doesn't recognise them ("not available from this source")
It feels like he's lost the main Debian repository from his sources. In /etc/apt/sources.list he only has
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates contrib main
# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
deb http://ftp.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
Do these include the main Debian repository? Or just the "updates"? For example, a package calld audactiy-data is visible but not audacity itself.
If so, how can we add the main repository again? What's its address?
deb-srclines. You can always uncomment them if/when you need to rebuild a package. I use these aliases:alias apt-source-on='sed -i -e "s/^#\(deb-src\)/\1/" /etc/apt/sources.list /etc/apt/sources.list.d/*'andalias apt-source-off='sed -i -e "s/^\(deb-src\)/#\1/" /etc/apt/sources.list /etc/apt/sources.list.d/*'in my root shell. addsudobefore theseds if you want to run them as a non-root user.