Today, I turned my computer on (it’ been off for 1 week) and suddenly, yast was unable to connect to the internet.
Strange : Proxy is set to NO PROXY, KDE network manager works fine (both WiFi & Ethernet), Firefox connects to the Web, KMail too… :-/
curl & wget work great for both user & superuser…
Amarok fetches lyrics on the Web without an issue and so does Plasma to fetch new plasmoids…
I erased the whole list of repos, logged out & back in, got to yast, added the community repos… and tada ! yast worked and told me the repos that were available. So I check the ones I want and clicked “add”… and get an error :
Failed to add repo “xxx”
blablabla…TIMED OUT…
What should I do ?
OpenSUSE 12.1, x86_64, KDE 4.7.2, never added any non official repos.
Thanks !
On 12/26/2011 10:36 AM, Moviuro wrote:
>
> What should I do ?
tell you the truth, i don’t yet know what the problem is, but i might
know more if you do these commands in a terminal, and return the output
to here
/usr/sbin/traceroute software.opensuse.org
su -
zypper ar -f http://packman.inode.at/suse/openSUSE_12.1/ packman
zypper ar -f http://packman.inode.at/suse/openSUSE_12.1/ oss
zypper ar -f http://packman.inode.at/suse/openSUSE_12.1/ non-oss
zypper ar -f http://packman.inode.at/suse/openSUSE_12.1/ update
zypper ref
zypper lr -d
copy/paste the in/output back to this thread using the instructions
here: http://goo.gl/i3wnr
When you add a bunch at the same time and then get the error, you will never now which one is the culprit. Thus add them one by one until you got stuck.
BTW, I guess you mean YaST Software Management and not YaST in general. And also, when the standard repos are working, then YaST has no problemss going to the Internet, where do you think those repos are?
[moviuro@naboo:~]$ /usr/sbin/traceroute software.opensuse.org
traceroute to software.opensuse.org (195.135.221.150), 30 hops max, 40 byte packets using UDP
1 gav28-1-88-177-116-29.fbx.proxad.net (88.177.116.29) 2.028 ms 2.683 ms 2.814 ms
2 88.177.116.254 (88.177.116.254) 41.480 ms 41.764 ms 41.290 ms
3 213.228.36.254 (213.228.36.254) 42.528 ms 42.028 ms 41.574 ms
4 bzn-crs16-1-be1105.intf.routers.proxad.net (212.27.56.197) 42.900 ms 42.414 ms 41.894 ms
5 th2-crs16-1-be2000.intf.routers.proxad.net (212.27.57.209) 42.843 ms 42.312 ms 41.869 ms
6 strasbourg-crs16-1-be2000.intf.routers.proxad.net (212.27.50.10) 46.828 ms 46.659 ms 46.458 ms
7 francfort-6k-1-po100.intf.routers.proxad.net (212.27.56.30) 50.050 ms 49.459 ms 49.163 ms
8 amsterdam-6k-1-po100.intf.routers.proxad.net (212.27.56.38) 84.058 ms * 82.434 ms
9 AMS-2.nl.lambdanet.net (195.69.144.212) 73.917 ms 72.836 ms 72.300 ms
10 DUS-1-pos011.de.lambdanet.net (82.197.128.29) 61.916 ms 77.427 ms 76.947 ms
11 FRA-3-eth200.de.lambdanet.net (217.71.96.114) 63.790 ms 63.600 ms 63.428 ms
12 NUE-2-eth210.de.lambdanet.net (217.71.96.162) 66.515 ms 66.011 ms 65.633 ms
13 * * *
14 GW-SUSE-NEFkom.241.nefkom.de (212.114.146.241) 66.100 ms 67.238 ms 66.721 ms
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
It is not YaST that "can access the Internet. When you system can, YaST will use that. And when you can e.g. work with thtse forums from that system, your system can access the Internet.
your *zypper lr -d * shows a lot of rubbish. The OSS, non-OSS and Update repos should NOT have a Packman URL. And of course having four (4) URLs the same is not helping. Look at mine:
henk@boven:~> zypper lr -d
# | Alias | Naam | Ingeschakeld | Vernieuwen | Prioriteit | Type | URI | Service
---+----------------------------------+----------------------------------+--------------+------------+------------+--------+---------------------------------------------------------------------------+--------
2 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/11.4/ |
6 | packman.inode.at-suse | Packman Repository | Ja | Ja | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/ |
7 | repo-debug | openSUSE-11.4-Debug | Nee | Ja | 99 | NONE | http://download.opensuse.org/debug/distribution/11.4/repo/oss/ |
8 | repo-debug-update | openSUSE-11.4-Update-Debug | Nee | Ja | 99 | NONE | http://download.opensuse.org/debug/update/11.4/ |
9 | repo-non-oss | openSUSE-11.4-Non-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/11.4/repo/non-oss/ |
10 | repo-oss | openSUSE-11.4-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/11.4/repo/oss/ |
11 | repo-source | openSUSE-11.4-Source | Nee | Ja | 99 | NONE | http://download.opensuse.org/source/distribution/11.4/repo/oss/ |
henk@boven:~>
I removed extra repos I have from this list so you can see the standard ones. Hence the numbering does not run 1,2,3, …
But important is that you see what the URIs at the end look like. That is completely different from what you have. I do not know what you did to bork thhis completely.
In any case a completely destroyed list of repos does not point to an Intenet access problem at all.
On 2011-12-26 16:36, hcvv wrote:
> When you add a bunch at the same time and then get the error, you will
> never now which one is the culprit. Thus add them one by one until you
> got stuck.
It would show in the log.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 12/26/2011 04:56 PM, Moviuro wrote:
> (Were you aware you gave the same URL 4 times ?..)
>
yep, but following each URL was one of four different repos…
and, by doing it that way you were able to add repos, which you were
unable to do in yast…however we still have problems with the repos…
it is only a wild guess, but maybe you are running into an IPv6 problem,
so try using the free DNS provided by Google…follow the directions
here carefully:
naboo:/home/moviuro # zypper ar -f http://download.opensuse.org/distribution/12.1/repo/oss/ OSS
Ajout du dépôt 'OSS' [fait]
Le dépot 'OSS' a été ajouté avec succès
Activé: Oui
Rafraîchissement automatique: Oui
Vérification GPG: Oui
URI: http://download.opensuse.org/distribution/12.1/repo/oss/
naboo:/home/moviuro # zypper -vv ref
Verbosité: 2
Initialisation de la cible
Dépôts spécifiés:
Vérification du rafraichissement des meta-données pour OSS
Recupération des méta-données du dépôt 'OSS' \]
Temps maximal dépassé lors de l'accès à 'http://download.opensuse.org/distribution/12.1/repo/oss/repodata/repomd.xml'.
On 2011-12-26 16:56, Moviuro wrote:
>
>> Look into the Yast logs to find the exact error.
> Where are these logs …? sorry, noob question…
All the logs in Linux go to “/var/log/”. In this case the most likely path
is “/var/log/YaST2”, file “y2log”.
And yes, IPv6 is a likely culprit. The “http://download.opensuse.org/”
place is really a redirector to mirrors all over the world, and the logs
should show how they resolve in fact.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2011-12-26 17:26, Moviuro wrote:
> Code:
> --------------------
> naboo:/home/moviuro # zypper -vv ref
> Verbosité: 2
> Initialisation de la cible
> Dépôts spécifiés:
> Vérification du rafraichissement des meta-données pour OSS
> Recupération des méta-données du dépôt ‘OSS’ ]
> Temps maximal dépassé lors de l’accès à ‘http://download.opensuse.org/distribution/12.1/repo/oss/repodata/repomd.xml’.
> --------------------
>
> And indeed, http://tinyurl.com/cxaadd6 does not exist…
Check “zypper lr --details”, column “Type”. “rpm-md” types have repodata,
“yast2” types do not. The oss repo is tf the later.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2011-12-26 19:56, Moviuro wrote:
>
> robin_listas;2422636 Wrote:
>> Type NONE. That’s why.
>> Why that, see the logs.
> There is so much in there I can’t understand anything ><" Is there a
> way to force the type ?..
Nope. It is detected when the repo is added, and it fails to detect the
correct type if the connection fails at that moment.
You have to search the y2log, for a string matching the repo name from the
bottom-up. And then search down for the errors. If you don’t know how,
upload the file to our pastebin (time limit a month or so).
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)