When I do “sudo zypper up” than it gives me error like this:
Retrieving repository 'openSUSE-11.4-Non-Oss' metadata \]
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/11.4/repo/non-oss/'
Abort, retry, ignore? [a/r/i/?] (a):
If you do find yourself trying to add it back in because you deleted it, you need to enter it as a URL and then uncheck the option for " ] Download repository description files" and see if that helps you get it working again.
It has just happened the same to me with OpenSUSE 12.1 I can access the repositories with a browser (Firefox or chrome) but not with Yast or zypper.
I get the error:
I can navigate to openSUSE sites (heck, I’m typing this from openSUSE) but no other web sites unless I use their IP address. I can #ping a site by name, but that runs on ipv4 and if I try #ping6 which runs on ipv6 I get nothing.
I blacklisted ipv6 as was recommended when this issue showed up in Fedora, but that didn’t do anything here.
Meanwhile I can update my repositories, I just can’t get out of openSUSE land.
I have the same problems as you had, describing here above.
My situation was , that in office I use a proxy server and at home I don’t.
So at home I deactivated Proxy via Yast but zypper couldn’t connect do Update sites although wget and curl are successful.
After doing your solution - modify /ec/sysconfig/proxy -> no_proxy = download.opensuse.org
zypper runs completely.
Opensuse 12.1 seems to ignore sysconfig/proxy -> proxy_enabled = no
I am encountering a similar issue where i can’t do an update, as I keep getting 407 (proxy authentication) error. I have set the username/password in /etc/sysconfig/proxy and is also set in environment.
zypper is definitely broken. Does not work behind a proxy, when curl and wget have no issues with exactly the same settings. Hope someone knows a workaround.
Check in your network settings that you have defined a default route/gateway for IPv4. After spending some time on this problem I found that the default route/gateway was missing. After adding the default route for IPv4, zypper will now resolve the IPv4 address properly and bypass the IPv6 lookup.
I had this issue for a while and googled it a few times, no answer. The clean install of 11.4 brought in the repos with the ending slash and at some point of time, possibly the first time after the install or after an update, yast and zypper started complaining about this issue. The error was saying:
So I removed the ending slash and both non-oss and oss started functioning as expected. Now that may or may not be the issue your facing. If you can browse to Index of /distribution/11.4/repo/non-oss in your browser, then I suggest try this out. If you can’t browse to it, then look into networking, proxy and all other issues.
The logical response is it’s trying to join that up to join up the two which ends up with a double slash http://download.opensuse.org/distribution/11.4/repo/non-oss//repodata/repomd.xml . Us developers normally ensure double instances of // don’t happen by using a function that joins two segments of a URL and that was happening in older versions ( 11.2 and 11.3 ) but then someone perhaps replaced the function with a plus operator Sorry for the geeky spill. As they say Linux for geeks and Apple for everyone else
Slightly old thread, but still: I have the same problem after trying all recommendations above.
I didn’t have a slash at the end of the repo but even tried adding one.
It did work once for the software management tools update, but then no more.
Access with firefox/wget/curl works just fine, but not Yast online update/Apper/zypper.
I am stuck
This is a new vmware image with nat network access after installing OpenSUSE 12.1 from DVD with default settings, setting proxy via yast, setting system keyboard layout to german with yast, then software update with yast (software management tools) and then failing software update with yast, apper and zypper.
Logoff/on and reboot did not help btw.
On 2012-05-10 19:06, joba1 wrote:
>
> Cant edit last post, so:
No, you can not. Intentionally.
You would be better by starting a new thread, though. This one is old, and
not necesarily the same problem as you have.
> This is a new vmware image with nat network access after installing
> OpenSUSE 12.1 from DVD with default settings, setting proxy via yast,
> setting system keyboard layout to german with yast, then software update
> with yast (software management tools) and then failing software update
> with yast, apper and zypper.
My guess would be that the proxy configuration is not correct. You can
check better by having a look at the logs. /var/log/zypp* or /var/log/yast*
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)