Apt-get update error

Doing apt-get update give me this error in the last.

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/Release.gpg Could not resolve ‘http.debian.net

W: Some index files failed to download. They have been ignored, or old ones used instead.

Don’t you’ve got a DNS problem ?
What does a “ping yunohost.org” return ?

If the “ping www.google.com” doesn’t work
The problem can come from the configuration about your DNS or from the network interface.
You can try :
ping 216.58.208.196
If it doesn’t work, you must check your network interface configuration (and firewall) else if it works check your configuration about your DNS.
Another possibility : there is a problem with apt sources …
Can you say me please, if your yunohost is installed on PC or Raspberry PI or other ?

Thanks

@aoz ping yunohost.org is working
@Willy1ping google.com and 216.58.208.196 is working

I have installed the yuno on Pc

Thanks

May be a problem with the source list
Here my “/etc/apt/sources.list”:

#

# deb cdrom:[Debian GNU/Linux 6.0.9 _Wheezy_ - Unofficial amd64 CD Binary-1 20140620-13:51]/ wheezy main non-free

#deb cdrom:[Debian GNU/Linux 6.0.9 _Wheezy_ - Unofficial amd64 CD Binary-1 20140620-13:51]/ wheezy main non-free

deb http://ftp.debian.org/debian wheezy main non-free contrib
deb-src http://ftp.debian.org/debian wheezy main non-free contrib

deb http://repo.yunohost.org/ megusta main

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-updates main contrib non-free

Can you please post your source.list ?

my “/etc/apt/sources.list” is

deb cdrom:[Debian GNU/Linux 6.0.8 Wheezy - Unofficial amd64 CD Binary-1 20131123-15:15]/ wheezy main non-free

#deb cdrom:[Debian GNU/Linux 6.0.8 Wheezy - Unofficial amd64 CD Binary-1 20131123-15:15]/ wheezy main non-free

deb http://ftp.debian.org/debian wheezy main non-free contrib
deb-src http://ftp.debian.org/debian wheezy main non-free contrib

deb http://repo.yunohost.org/ megusta main

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

wheezy-updates, previously known as ‘volatile’

deb http://ftp.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-updates main contrib non-free

Ok, first save your source.list (you must to be root to do that):

cp /etc/apt/sources.list /etc/apt/sources.list.bak

After you can try this solution :

Look, let’s start from scratch.
Copy this to your sources (either delete or comment out everything else):

deb Index of /debian wheezy main
deb http://security.debian.org/ wheezy/updates main
deb Index of /debian wheezy-updates main

then update.

To update execute
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

If it works you can restore your old source.list (just to see if your problem is solved) and execute
sudo apt-get update

Hi guys,
my ping is not successful neither on yunohost.org nor on google.com. User Willy1 mentioned about DNS settings causing this issue. Can you give me a hint to what i need the settings change in order for it to work.
Main problem is still that via sudo apt-get update I failed to fetch / am unable to fetch some archives:

sudo apt-get update
Err http : // mirrordirector.raspbian.org wheezy Release.gpg
Could not resolve ‘mirrordirector.raspbian.org
Err http: // archive.raspberrypi.org wheezy Release.gpg
Could not resolve ‘archive.raspberrypi.org
Err http:// repo.yunohost.org stable/rpi Release.gpg
Could not resolve ‘repo.yunohost.org
Reading package lists… Done
W: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/dists/wheezy/Release.gpg Could not resolve ‘mirrordirector.raspbian.org

W: Failed to fetch http:// archive.raspberrypi.org/debian/dists/wheezy/Release.gpg Could not resolve ‘archive.raspberrypi.org

W: Failed to fetch http:// repo.yunohost.org/dists/stable/rpi/Release.gpg Could not resolve ‘repo.yunohost.org

W: Some index files failed to download. They have been ignored, or old ones used instead.

My Yunohost webinterface works well and i can also update my system there…

This is an old issue which I forgot to answer.
@tiger The resolving error occurs because Yunohost uses the ISP DNS by default (in my case).
DNS of ISP’s blocks content because of various policy restrictions and may have broken resolving links.
The solution which worked for me:

Edit /etc/resolv.conf

Remove the 127.0.1.1 from the nameserver and add any public DNS which ever works best for you.

e.g. Google DNS

nameserver    8.8.8.8
              8.8.4.4

You can find list of free public DNS here.
Hope it solves your problem.