Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: zypper repository not found but I can access with Firefox

  1. #1

    Default zypper repository not found but I can access with Firefox

    Hello,

    When I do "sudo zypper up" than it gives me error like this:
    Code:
    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):
    But I can access Index of /distribution/11.4/repo/non-oss from firefox browser.
    (This is old problem from Opensuse version 11.0 when I first tested it.)

    See screenshot here:


    Can you please tell me how to solve this problem.

    Thanks
    Bob

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: zypper repository not found but I can access with Firefox

    So the following repository is normally added in for you, so why are you trying to add it back in?

    Code:
    http://download.opensuse.org/distribution/11.4/repo/non-oss/
    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.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Nov 2011
    Location
    Seville, Spain
    Posts
    4

    Default Re: zypper repository not found but I can access with Firefox

    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:


    Download (curl) error for 'http://download.opensuse.org/distribution/12.1/repo/oss/content':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org (Domain name not found)

    Abort, retry, ignore? [a/r/i/?] (a):


    Even with wget or curl I can fetch the URL, but it doesn't work with zypper. IPv6 already disabled.

    Any help appreciated. I am desperate.

  4. #4
    Join Date
    Jun 2008
    Location
    Connecticut, USA
    Posts
    2,295
    Blog Entries
    1

    Default Re: zypper repository not found but I can access with Firefox

    Strange.. I have the opposite it seems.

    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.
    "Linux provides freedom, problem is most users don't know what it is or how to use it." ~me
    Friends don't let Friends wear red shirts on away parties!
    Linux User #477531 | Danbury Area Computer Society (www.dacs.org)

  5. #5

    Default Re: zypper repository not found but I can access with Firefox

    I solved modify /etc/sysconfig/proxy

  6. #6
    Join Date
    Apr 2010
    Location
    Europe/Austria
    Posts
    12

    Default Re: zypper repository not found but I can access with Firefox

    Hello!

    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

    thanks for your investigation ;-)

    Andrew

  7. #7

    Default Re: zypper repository not found but I can access with Firefox

    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.

  8. #8

    Default Re: zypper repository not found but I can access with Firefox

    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.

  9. #9

    Default Re: zypper repository not found but I can access with Firefox

    Quote Originally Posted by mukul_s View Post
    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.

  10. #10

    Default Re: zypper repository not found but I can access with Firefox

    If you haven't tempered with proxies and etc ( like myself ) I suggest removing the ending slash from Index of /distribution/11.4/repo/non-oss so make it Index of /distribution/11.4/repo/non-oss

    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:

    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/11.4/repo/non-oss/'

    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/distrib...ata/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

    Hope this helps.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •