apt-get update : Temporary Failure resolving 'ftp.us.debian.

New to Debian (Or Linux in general)? Ask your questions here!

apt-get update : Temporary Failure resolving 'ftp.us.debian.

Postby JB33-RJM » 2018-01-17 21:46

Hello all,

I have a been a linux hobbyist for many years and I am just now actually learning it. A friend introduced me to Debian & Kali. I currently have Debian 9 installed. I am writing this message on a machine other than the one experiencing the error, so I know the description will be a bit light, but I think it is a simple /etc/apt/sources.list issue. I have already been in VI and commented out the CD-Rom, which helped with that portion of the error, but I still have Temporary failure issues, which my instinct says are incorrect links.

Here is the error gist:

Err:1 http://ftp.us.debian.org/debian stretch InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:3 http://ftp.us.debian.org/debian.org/debian stretch-updates InRelease
Temporary failure resolving 'ftp.us.debian.org'

Hope this is enough information. Everything network-related works fine, except for apt-get. I can't update or install any packages.

Thanks for your help,
JB33
JB33-RJM
 
Posts: 1
Joined: 2018-01-17 21:27

Re: apt-get update : Temporary Failure resolving 'ftp.us.deb

Postby Ardouos » 2018-01-17 21:51

Maybe the mirrors are down?

Try a different mirror.

https://www.debian.org/mirror/list
User avatar
Ardouos
 
Posts: 981
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: apt-get update : Temporary Failure resolving 'ftp.us.deb

Postby sunrat » 2018-01-18 03:35

Post your sources.list. The first 2 look ok and resolve fine here but the 3rd one looks wrong and won't resolve. Usually a temporary failure will be fine if you wait a bit.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2136
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: apt-get update : Temporary Failure resolving 'ftp.us.deb

Postby llivv » 2018-01-22 16:34

JB33-RJM wrote:Err:1 http://ftp.us.debian.org/debian stretch InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'ftp.us.debian.org'[code][/code]
Err:3 http://ftp.us.debian.org/debian.org/debian stretch-updates InRelease
Temporary failure resolving 'ftp.us.debian.org'

Hope this is enough information. Everything network-related works fine, except for apt-get. I can't update or install any packages.
Thanks for your help,
JB33

The new convention for the sources.list is:
http://deb.debian.org/debian/
just click on the link above and it should take you to the debian mirror that is closest to you in terms if network availability
typically instructions are now included on each mirror as well.

You should post your
/etc/apt/sources.list
file because both your
http://security.debian.org/debian-security ( stretch-updates )
and
http://ftp.us.debian.org/ (debian.org) /debian stretch-updates
will not resolve until they are corrected

And we can't tell if there is something also wrong with the first entry until we see your sources.list file
in the kitchen with Julia ....
The Past, Christmas Present and Future
Get it on the Dbus to Bcan
User avatar
llivv
 
Posts: 5607
Joined: 2007-02-14 18:10
Location: willo the tree

Re: apt-get update : Temporary Failure resolving 'ftp.us.deb

Postby acewiza » 2018-01-22 16:46

I wish all failures were only temporary.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.
User avatar
acewiza
 
Posts: 313
Joined: 2013-05-28 12:38
Location: Out West

Re: apt-get update : Temporary Failure resolving 'ftp.us.deb

Postby dotlj » 2018-01-28 10:44

Temporary failure resolving ... usually simply means either your Internet isn't connected, isn't working, or your networking has been changed and not able to connect.
What network interface are you using? Ethernet cable, wireless, both, something else?
Try ifconfig to see what's working or ip route.
User avatar
dotlj
 
Posts: 591
Joined: 2009-12-25 17:21


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable