Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
Debian – Install Packages from Stretch DVD 2 and 3 Using apt
aptdebian
Related Solutions
As backports has letsencrypt
, I recommend using jessie-backports
as it brings less new/packages dependencies than drinking directly from stretch.
To use Jessie backports
and install letsencrypt
from it:
Add to /etc/apt/sources.list
:
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
The run:
apt-get update
As for installing the key, I confirm you can do:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
and also with the key 7638D0442B90D010
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
And finally to install letsencrypt
:
apt-get install -t jessie-backports letsencrypt
You just want some mirror or the closest/fastest mirror. If it's the latter, then you could just install netselect-apt and run it. I just ran to see which are the fastest form my geographical location and it said -
[$] sudo netselect-apt testing
........
........
The fastest 10 servers seem to be:
http://mirrors.ispros.com.bd/debian/
http://ftp.sg.debian.org/debian/
http://mirrors.apu.edu.my/debian/
http://ftp.iinet.net.au/debian/debian/
http://debian.mirror.cambrium.nl/debian/
http://mirror.sax.uk.as61049.net/debian/
http://ftp.uk.debian.org/debian/
http://mirror.vorboss.net/debian/
http://mirror.1000mbps.com/debian/
http://ftp.antik.sk/debian/
Of the hosts tested we choose the fastest valid for HTTP:
http://mirrors.ispros.com.bd/debian/
Writing sources.list.
sources.list exists, moving to sources.list.1484862805
Done.
[$] cat sources.list.1484862805
1 # Debian packages for testing
2 deb http://debian.ec.as6453.net/debian/ testing main contrib
3 # Uncomment the deb-src line if you want 'apt-get source'
4 # to work with most packages.
5 # deb-src http://debian.ec.as6453.net/debian/ testing main contrib
6
7 # Security updates for stable
8 # deb http://security.debian.org/ stable/updates main contrib
Hope you find it useful.
Best Answer
Run
as root (or using
sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to/etc/apt/sources.list
. You will then be able to install packages from it as usual.