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-update dosn't work after change sources.list

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Mary Qays
Posts: 1
Joined: 2017-02-15 04:52

apt-update dosn't work after change sources.list

#1 Post by Mary Qays »

Hi everyone,

I am a beginner using debian linux on beaglebone board.
I am trying to update using this command
apt-get update
But I am getting the following error

Please help me.

Thanks in advance!

I have this error:

Code: Select all

Err http://security.debian.org jessie/updates InRelease
  
Err http://security.debian.org jessie/updates Release.gpg
  Could not resolve 'security.debian.org'
Err http://ftp.tr.debian.org jessie InRelease
  
Err http://ftp.tr.debian.org jessie-proposed-updates InRelease
  
Err http://ftp.tr.debian.org jessie Release.gpg
  Could not resolve 'ftp.tr.debian.org'
Err http://ftp.tr.debian.org jessie-proposed-updates Release.gpg
  Could not resolve 'ftp.tr.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.tr.debian.org/debian/dists/jessie/InRelease  

W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease  

W: Failed to fetch http://ftp.tr.debian.org/debian/dists/jessie-proposed-updates/InRelease  

W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'

W: Failed to fetch http://ftp.tr.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'ftp.tr.debian.org'

W: Failed to fetch http://ftp.tr.debian.org/debian/dists/jessie-proposed-updates/Release.gpg  Could not resolve 'ftp.tr.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
And my sources.list:
###### Debian Main Repos
deb http://ftp.tr.debian.org/debian/ jessie main contrib
deb-src http://ftp.tr.debian.org/debian/ jessie main contrib

###### Debian Update Repos
deb http://security.debian.org/ jessie/updates main contrib
deb http://ftp.tr.debian.org/debian/ jessie-proposed-updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb-src http://ftp.tr.debian.org/debian/ jessie-proposed-updates main contrib

User avatar
grumpy_geek
Posts: 22
Joined: 2017-01-20 16:03

Re: apt-update dosn't work after change sources.list

#2 Post by grumpy_geek »

Mary Qays wrote: Could not resolve 'security.debian.org'
Could not resolve 'ftp.tr.debian.org'
Are you able to manually connect to those repositories, i.e. by means of a browser ...?

> http://security.debian.org/ | http://ftp.tr.debian.org/debian/ <

If not: what nameservers are you using, i.e. what's the contents of /etc/resolv.conf ...?

Post Reply