I downloaded the non-free iso and did everything as specified in debian-website and other websites too, but then I get an error and I read that I had to install the sudo package, so this is what I did (In red I write the errors):
Code: Select all
su -
(password)
apt-get update
apt-get install sudo
Building state information... Done
E: Unable to locate package sudo
So I installed the missing package sources:
Code: Select all
vi /etc/apt/sources.list
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
I also did this:
Code: Select all
vi /etc/sudoers
Code: Select all
root ALL=(ALL:ALL) ALL
juan ALL=(ALL:ALL) ALL
and then, when I wrote again:
Code: Select all
apt-get update
Err:1 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://security.debian.org stretch/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stre ... /InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/dists/stretc ... /InRelease Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead
So I read I have to do this: https://askubuntu.com/questions/91543/a ... ving-error
but, using this DNS: https://public-dns.info/nameserver/ar.html it didn't work.
I don't know what else can I do. I really want to use Debian, but I've been 2 days fighting with this.
I hope you can help me.
Thanks!