Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
JB33-RJM
Posts: 1
Joined: 2018-01-17 21:27

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

#1 Post by JB33-RJM »

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

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

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

#2 Post by Ardouos »

Maybe the mirrors are down?

Try a different mirror.

https://www.debian.org/mirror/list
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

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

#3 Post by sunrat »

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
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

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

#4 Post by llivv »

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' 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 memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

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

#5 Post by acewiza »

I wish all failures were only temporary.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
dotlj
Posts: 646
Joined: 2009-12-25 17:21

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

#6 Post by dotlj »

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.

Post Reply