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 ?
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
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:
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.