Stretch - sudo package and more

Help with issues regarding installation of Debian

Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 04:32

Hello everyone. I'm a beginner in Debian. I want to start using it but I can't finish the installation.

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

Reading package lists... Done
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


And I wrote there:
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

like it says here: https://wiki.debian.org/SourcesList

I also did this:
Code: Select all
vi /etc/sudoers


and added the lines:
Code: Select all
root ALL=(ALL:ALL) ALL
juan ALL=(ALL:ALL) ALL

(juan is my username)

and then, when I wrote again:
Code: Select all
apt-get update


it says:

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!
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby kedaha » 2017-08-10 05:33

Hello,
It looks to me that the network hasn't been configured because your /etc/apt/sources.list is OK.
By the way, where did you read that you have to use sudo?
Similarly you didn't need to use the non-free iso because any necessary non-free firmware can be loaded either during installation or afterwards from an external medium like a usb pendrive.
But to solve your problem.
Have you installed only a basic system or a full desktop environment?
If you need help with installing firmware, then it'll be necessary to post details of your hardware here. Wired, wireless? What?
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 15:59

Firstly, I tried to install the free firmware version but it said that the package iwlwifi wasn't available (or something like that). That's why I tried to install the non-free firmware version, but it also said that the iwlwifi package wasn't available.

So, I don't have the iwlwifi package. How can I install it? I tried what internet says: https://wiki.debian.org/iwlwifi and wrote
Code: Select all
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
in /etc/apt/sources.list , but it gives me an error when I write
Code: Select all
apt-get update
: Err:1 http://httpredir.debian.org/debian/ stretch InRelease
Temporary failure resolving 'httpedir.debian.org'

My connection is via wifi but I can connect it through Ethernet.

My computer is a Samsung Series 5 Ultra, with i5, 4GB of RAM, 500GB of HDD...

Thanks!
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby arochester » 2017-08-10 16:10

My connection is via wifi but I can connect it through Ethernet.
it also said that the iwlwifi package wasn't available.


Connect TEMPORARILY by ethernet.
Become Root by issuing in a Terminal
Code: Select all
su

Then do
Code: Select all
apt update
then
Code: Select all
apt upgrade
then
Code: Select all
apt install lwlwifi
then reboot
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 16:51

No, it doesn't work.

First, I became root and then put
Code: Select all
apt update
and said the same errors of the connection that I wrote before.

Then, I commented all the /etc/apt/sources.list lines and did:
Code: Select all
apt update

Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date
Code: Select all
apt upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
Code: Select all
apt install lwlwifi

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lwlwifi
Code: Select all
apt install iwlwifi

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package iwlwifi



When I connect via Ethernet, do I have to reboot the computer?
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby arochester » 2017-08-10 17:27

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.
So what DNS are you using? Ubuntu is similar to Debian ---but it is different.

Askubuntu suggests 8.8.8.8 which is the Google DNS, but what does your system use now?
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Stretch - sudo package and more

Postby kedaha » 2017-08-10 17:31

My eyesight isn't what it was but isn't the package
firmware-iwlwifi
and not just
lwlwifi?
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 17:34

kedaha wrote:My eyesight isn't what it was but isn't the package
firmware-iwlwifi
and not just
lwlwifi?


I tried both and no one worked
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 17:35

arochester wrote:
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.
So what DNS are you using? Ubuntu is similar to Debian ---but it is different.

Askubuntu suggests 8.8.8.8 which is the Google DNS, but what does your system use now?


I tried the google one (8.8.8.8) and the ones that I posted in the main post
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby arochester » 2017-08-10 17:51

My eyesight isn't what it was but isn't the package
firmware-iwlwifi


YES!!!
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 18:19

arochester wrote:
My eyesight isn't what it was but isn't the package
firmware-iwlwifi


YES!!!


But that's not the problem. firmware-iwlwifi and iwlwifi don't work.
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby Wheelerof4te » 2017-08-10 18:33

From what I can tell, you don't have an internet connection. Connect the ethernet cable, and see if you have wired connection enabled in the status tray. You haven't told us which, if any, Desktop environment you have. If you get everything to work, just install firmware-iwlwifi package as root. After that, you can either reboot or type (as root) in terminal:

Code: Select all
modprobe iwlwifi


to get your wifi working.
If this doesn't help, then the problem might be with the installation or something you did before.
User avatar
Wheelerof4te
 
Posts: 436
Joined: 2015-08-30 20:14

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 19:17

Well, I restarted the computer because I don't know what else can I do. I choose the Debian partition and this appeared:

http://imgur.com/a/A3HwL

I didn't choose the "advanced options" option (when I boot the computer I have 3 options: Debian, Advanced options (Debian) and Windows 10). I think I should choose the "advanced options" option.
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Re: Stretch - sudo package and more

Postby kedaha » 2017-08-10 21:19

Looks like you're having a hard time with this.
The output you've posted doesn't have anything to do with the topic posted here as can be seen from doing a search based on key words from your dmesg log.
login exception Emask SErr action frozen failed command: READ DMA tag timeout status DRDY
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: Stretch - sudo package and more

Postby ElstonGunnn » 2017-08-10 21:33

kedaha wrote:Looks like you're having a hard time with this.
The output you've posted doesn't have anything to do with the topic posted here as can be seen from doing a search based on key words from your dmesg log.
login exception Emask SErr action frozen failed command: READ DMA tag timeout status DRDY


Yes, I think I'm going to Ubuntu. I can't do this
ElstonGunnn
 
Posts: 11
Joined: 2017-08-10 04:10

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable