I’m using openSuse 21.1 x86_64.
This is the first time I’m using openSuse.
Internet connection is fine and working, I can surf any websites, that I have checked.
When I try to update my OS I get the errors as shown below:
Problem connecting to a software source.
There was a (possibly temporary) problem connecting to a software source.
Please check the details for further details.
Details-
Download (curl) error for ‘http://download.opensuse.org/update/12.1/repodata/repomd.xml’:
Error code: Connection failed
Error message: couldn’t connect to host
What could be the problem guys? Can anyone help me in this issue?
How are you trying to update your system ? Using zypper ? apper ? or Yast ?
Of the three, apper is not recommended at all. If you are using any of the other two, make sure it’s not a temporary connection issue.
Can you describe the update procedure you followed a bit more detailed ?
openSUSE uses donated server resources all over the world to provide
free software and updates…
that is to say that the web address “download.opensuse.org” connects you
to a re-director and you are actually connecting to any of hundreds of
mirrors…
while there are automatic routines which check the health of every
mirror, it IS possible for a just checked mirror to go down with no
warning…causing the kind of error you see…
it is most likely a temporary problem (as mentioned in the error
message)…try again now…and, then again in another hour…
if you continue to get errors write again and someone can explain how to
directly address a nearby mirror…or, you can probably figure it out,
start here: http://mirrors.opensuse.org/
if you continue to get errors write again and someone can explain how to
directly address a nearby mirror…or, you can probably figure it out,
start here: http://mirrors.opensuse.org/
Suppose I found some of the good mirrors from the link provide by you, then where would I add those links so that software updates pick those mirrors automatically?
I suppose you have the GNOME desktop then, so no worries about apper.
Following the guest’s advice is a good thing to do then, and yes if you add the repositories then the updater should work fine (perhaps you should disable, but NOT completely remove, your original openSUSE repositories, and once you update your system this time, enable them again).
If the updater has trouble figuring out your newly added repositoties, try running ‘sudo zypper up’ at a terminal.
If the problem persists or if you have any trouble, let us know
On 05/21/2012 09:06 AM, satyaveerarya wrote:
>
> I went into Applications → Software updates and from there I tried to
> update my system.
what desktop are you using?? (i ask because i don’t see such a path)…
instead, open YaST, select (on the right) “YaST Online Update”…
if you are using “apper”, don’t! it is broken and will wreck your
openSUSE! disable or uninstall “apper” (using YaST Software Management
to uninstall)…
But, when people here, who are volunteers and trying to help you as good as they can, ask you for something, you should try to answer that as good as possible. Even when the answer must be: sorry, I did not understand your question. But simply ignoring a question (like you did when people ask which desktop you use) will irritate people and be counter productive in the relation will have with them.
I totally agree with you, although I think that when satyaveerarya clicked ‘reply’, dd@home.dk 's post was not visible (if you check the timestamps it’s quite probable I think).
@ satyaveerarya : it is a good (and usually very helpful) principle to give some information about your configuration along with the problem description. It helps other people to get some first clues. Anyway, no worries, I hope you are making progress with your update problems.
On 05/21/2012 11:16 AM, billypap wrote:
> I think that when satyaveerarya
> clicked ‘reply’,dd@home.dk 's post was not visible
+1
because the 01:28 time stamp on the question could not possibly have
been seen until 01:36 (the first time the nntp gateway ran after the
01:28 post left my machine, and five minutes before satyayeerarya seemed
to ignore the question…which he answered the first time posting after
01:36)
@ satyaveerarya : it is a good (and usually very helpful) principle to give some information about your configuration along with the problem description. It helps other people to get some first clues. Anyway, no worries, I hope you are making progress with your update problems.
Here are the configured software repositories. You can check it.
Abort, retry, ignore? [a/r/i/?] (a): i
Retrieving repository ‘Updates for openSUSE 12.1 12.1-1.4’ metadata [error]
Repository ‘Updates for openSUSE 12.1 12.1-1.4’ is invalid.
|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘Updates for openSUSE 12.1 12.1-1.4’ because of the above error.
Retrieving repository ‘openSUSE-12.1-Debug’ metadata /]
Download (curl) error for ‘http://download.opensuse.org/debug/distribution/12.1/repo/oss/repodata/repomd.xml’:
Error code: Connection failed
Error message: couldn’t connect to host
Abort, retry, ignore? [a/r/i/?] (a): i
Retrieving repository ‘openSUSE-12.1-Debug’ metadata [error]
Repository ‘openSUSE-12.1-Debug’ is invalid.
|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘openSUSE-12.1-Debug’ because of the above error.
Retrieving repository ‘openSUSE-12.1-Update-Debug’ metadata -]
Download (curl) error for ‘http://download.opensuse.org/debug/update/12.1/repodata/repomd.xml’:
Error code: Connection failed
Error message: couldn’t connect to host
Abort, retry, ignore? [a/r/i/?] (a): i
Retrieving repository ‘openSUSE-12.1-Update-Debug’ metadata [error]
Repository ‘openSUSE-12.1-Update-Debug’ is invalid.
|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘openSUSE-12.1-Update-Debug’ because of the above error.
Retrieving repository ‘openSUSE-12.1-Non-Oss’ metadata ]
Download (curl) error for ‘http://download.opensuse.org/distribution/12.1/repo/non-oss/repodata/repomd.xml’:
Error code: Connection failed
Error message: couldn’t connect to host
Please do not take this negative. I only try to teach you a few things about these forums. And one thing that is not obvious to any newcomer (because it is not easy to find) is the use of CODE tags.
@ satyaveerarya:
1 : I have no idea what PK_TMP_DIR is, so I don’t know if it’s a problem or not. Sorry for that…
2 : I see repository 8 (repo-source) is enabled. That is not the default configuration, so is there a chance that you modified it (maybe changed the URL by accident) ?
3 : I would like to see the URL for repos 2 and 3 if it’s not trouble
4 : I see you are running a terminal as root, I guess you typed ‘su -’ before. If not, that means you are working as a root, which is really risky and generally avoided.
5 : Can you please also list the URLs of the repos you added in your system ?
Sorry for all the trouble…
> This is the output of ‘zypper ref’ -
>
> linux-qcp7:~ # zypper ref
> Retrieving repository ‘PK_TMP_DIR’ metadata [done]
> Retrieving repository ‘Updates for openSUSE 12.1 12.1-1.4’ metadata
> |]
> Download (curl) error for
> ‘http://download.opensuse.org/update/12.1/repodata/repomd.xml’:
> Error code: Connection failed
> Error message: couldn’t connect to host
>
> Abort, retry, ignore? [a/r/i/?] (a): r
> Download (curl) error for
> ‘http://download.opensuse.org/update/12.1/repodata/repomd.xml’:
> Error code: Connection failed
> Error message: couldn’t connect to host
People, before making the OP do all sort of weird vodoos, the first thing
to do in Linux is checkthelogs.
So, please “satyaveerarya”, have a look at “/var/log/YaST2/y2log” and
search for the string
‘http://download.opensuse.org/update/12.1/repodata/repomd.xml’. Near it you
should see the exact download error. If you don’t know how, upload the file
to “http://susepaste.org/”. If it is too big, half it (make a copy, and use
an editor to remove the first half). A 3 months duration is more than
enough, no need for eternity.
> And this is the output of ‘zypper lr’
It should be “zypper lr --details” to be complete - in code tags, of course.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)