Soon I found that sudo package was not installed and I ran a command to install it. It asked me to install the DVD. This way I installed sudo package. I expected it to use the Internet though.
Second time I tried to install vim. And again it asked me for a DVD. This time it didn’t work.
Here is what my etc/apt/sources.list looks like:
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 9.8.0 _Stretch_ - Official i386 DVD Binary-1 20190216-12:51]/ stretch contrib main
deb cdrom:[Debian GNU/Linux 9.8.0 _Stretch_ - Official i386 DVD Binary-1 20190216-12:51]/ stretch contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security stretch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-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://deb.debian.org/debian/ stretch-updates main contrib
#deb-src http://deb.debian.org/debian/ stretch-updates main contrib
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 9.8.0 _Stretch_ - Official i386 DVD Binary-1 20190216-12:51]/ stretch contrib main
#deb cdrom:[Debian GNU/Linux 9.8.0 _Stretch_ - Official i386 DVD Binary-1 20190216-12:51]/ stretch contrib main
# Line commented out by installer because it failed to verify:
deb http://security.debian.org/debian-security stretch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-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://deb.debian.org/debian/ stretch-updates main contrib
deb-src http://deb.debian.org/debian/ stretch-updates main contrib
Code: Select all
su- apt-get update
Get:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://security-cdn.debian.org/debian-security stretch/updates/main Sources [199 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch-updates/main Sources [14.3 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-updates/main i386 Packages [11.4 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main Translation-en [11.1 kB]
Get:7 http://security-cdn.debian.org/debian-security stretch/updates/contrib Sources [1,384 B]
Get:8 http://security-cdn.debian.org/debian-security stretch/updates/main i386 Packages [485 kB]
Get:9 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [215 kB]
Get:10 http://security-cdn.debian.org/debian-security stretch/updates/contrib i386 Packages [1,760 B]
Get:11 http://security-cdn.debian.org/debian-security stretch/updates/contrib Translation-en [1,759 B]
Fetched 1,126 kB in 47s (23.8 kB/s)
Reading package lists... Done
Code: Select all
su- apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate