| 1   2   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   apt-get update error(solved) (https://talk.maemo.org/showthread.php?t=72958)

eefo 2011-05-11 04:27

apt-get update error(solved)
 
i have mentioned it before but didn't get the answer so decided to make a new thread , hope it wont bother any one :$

i am facing this error while runing apt-get update command :(


Code:

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get update
Err http://repository.maemo.org fremantle-1.3 Release.gpg
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle-1.3/free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle-1.3/non-free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repositiry.maemo.org fremantle Release.gpg
  Could not resolve 'repositiry.maemo.org'
Err http://repositiry.maemo.org fremantle/free Translation-en_GB
  Could not resolve 'repositiry.maemo.org'
Err http://repositiry.maemo.org fremantle/non-free Translation-en_GB
  Could not resolve 'repositiry.maemo.org'
Err http://repository.maemo.org fre Release.gpg
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fre/free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fre/non-free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fre Release.gpg
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fre/free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fre/non-free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle Release.gpg
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle/free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle/non-free Translation-en_GB
  Temporary failure resolving 'repository.maemo.org'
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages
Ign https://downloads.maemo.nokia.com ./ Packages
Ign https://downloads.maemo.nokia.com ./ Packages
Err https://downloads.maemo.nokia.com ./ Packages
  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)
Err https://downloads.maemo.nokia.com ./ Packages
  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)
Err https://downloads.maemo.nokia.com ./ Packages
  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)
Reading package lists... Done
W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/Release.gpg  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/non-free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repositiry.maemo.org/extra/dists/fremantle/Release.gpg  Could not resolve 'repositiry.maemo.org'

W: Failed to fetch http://repositiry.maemo.org/extra/dists/fremantle/free/i18n/Translation-en_GB.gz  Could not resolve 'repositiry.maemo.org'

W: Failed to fetch http://repositiry.maemo.org/extra/dists/fremantle/non-free/i18n/Translation-en_GB.gz  Could not resolve 'repositiry.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-devel/dists/fre/Release.gpg  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-devel/dists/fre/free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-devel/dists/fre/non-free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-testing/dists/fre/Release.gpg  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-testing/dists/fre/free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/extra-testing/dists/fre/non-free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/Release.gpg  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/non-free/i18n/Translation-en_GB.gz  Temporary failure resolving 'repository.maemo.org'

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle/ssu/apps/./Packages  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle/ssu/003/./Packages  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle1.2/ovi/./Packages  Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers)

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems



p.s tried fapt-get update and it's working but i need to make apt-get update working so please help :$

dtparikh 2011-05-11 04:42

Re: apt-get update error
 
Can you check your net connection. I once got this error when trying to install but then figured that my net connection was down. When i tried to open any web page it gave that "Try Again" box to connect to internet.

eefo 2011-05-11 04:57

Re: apt-get update error
 
Quote:

Originally Posted by dtparikh (Post 1003878)
Can you check your net connection. I once got this error when trying to install but then figured that my net connection was down. When i tried to open any web page it gave that "Try Again" box to connect to internet.

it's working fine :$

dtparikh 2011-05-11 05:02

Re: apt-get update error
 
Quote:

Originally Posted by eefo (Post 1003882)
it's working fine :$

are you using Wifi ? by any chance did you change your router recently. Plz check the ip address by going to xterminal and typing

cat /etc/resolv.conf

eefo 2011-05-11 06:22

Re: apt-get update error
 
Quote:

Originally Posted by dtparikh (Post 1003887)
are you using Wifi ? by any chance did you change your router recently. Plz check the ip address by going to xterminal and typing

cat /etc/resolv.conf

it isn't showing the ip , it says servername .
i know servername is called as ip but it's totally different from the wlan ip .
like servername is : 127.0.... and it wlanip is 192.168.1...

misiak 2011-05-11 23:20

Re: apt-get update error
 
Hello,

Sorry I haven't replied to your PM or here earlier.

Quote:

Originally Posted by eefo (Post 1003923)
it isn't showing the ip , it says servername .
i know servername is called as ip but it's totally different from the wlan ip .
like servername is : 127.0.... and it wlanip is 192.168.1...

Don't worry, mine says
Quote:

nameserver 127.0.0.1
and it works correctly, it's ip server of a so-called loopback network interface and it is a numerical ip address representation of "localhost" (if you want to know more you can read http://en.wikipedia.org/wiki/Localhost but it is irrelevant in this case I guess)

Anyway, back on topic, what is the result of commands:
1.
Code:

sudo gainroot
ping downloads.maemo.nokia.com

It should display some lines (add one more line to output per second), even if it doesn't output anything hit crtl+c on your keyboard after +/- 20 seconds to stop it working, you should see something like:
Quote:

--- downloads.maemo.nokia.com ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max 39.093/74.915/129.639 ms
What does it say exactly?
2. And also later please repeate the procedure with:
Code:

ping repository.maemo.org
and paste here the output.
3. Last thing: what is the output of command
Code:

cat /etc/apt/sources.list.d/hildon-application-manager.list
?

eefo 2011-05-13 16:00

Re: apt-get update error
 
Quote:

Originally Posted by misiak (Post 1004561)
Hello,

Sorry I haven't replied to your PM or here earlier.



Don't worry, mine says and it works correctly, it's ip server of a so-called loopback network interface and it is a numerical ip address representation of "localhost" (if you want to know more you can read http://en.wikipedia.org/wiki/Localhost but it is irrelevant in this case I guess)

Anyway, back on topic, what is the result of commands:
1.
Code:

sudo gainroot
ping downloads.maemo.nokia.com

It should display some lines (add one more line to output per second), even if it doesn't output anything hit crtl+c on your keyboard after +/- 20 seconds to stop it working, you should see something like:


Code:

41 packets transmitted , 40 packets received , 2% packet loss
round-trip min/avg/max = 431.549/503.431/834.137 ms

What does it say exactly?
2. And also later please repeate the procedure with:
Code:

ping repository.maemo.org
and paste here the output.


Code:

it is showing the same result as above after pressing Ctrl+c

3. Last thing: what is the output of command [code
]cat /etc/apt/sources.list.d/hildon-application-manager.list[/code]
?



eefo 2011-05-14 17:20

Re: apt-get update error
 
never mind solved :p
forgot to uncheck the proxy settings in wlan settings.
unchecked them and update the repositories again and this time it gave failed to update only for the extras and extra-testing and extras-devel .
deleted them , rebooted my cell and made new catalogs and updated again and tadaaaaaaaaaa ;)

misiak 2011-05-14 18:05

Re: apt-get update error
 
Quote:

Originally Posted by eefo (Post 1006284)
never mind solved :p
forgot to uncheck the proxy settings in wlan settings.
unchecked them and update the repositories again and this time it gave failed to update only for the extras and extra-testing and extras-devel .
deleted them , rebooted my cell and made new catalogs and updated again and tadaaaaaaaaaa ;)

Well, you had a typo in your settings ;)

You had "extra" instead of "extras" and "extra-testing" instead of "extras-testing" and "extra-devel" instead of "extras-devel". You can run again commmand "cat /etc/apt/sources.list.d/hildon-application-manager.list" and compare the result with your previous results posted here ;)

eefo 2011-05-14 18:10

Re: apt-get update error(solved)
 
my bad :P
posted this issue before and someone there mentioned the same but i checked the repositories and they were showing extras :$
but now leave it .
it's all fine now :P


| 1   2   | Next
All times are GMT. The time now is 11:49.

vBulletin® Version 3.8.8