Results 1 to 4 of 4

Thread: zypper FAIL if using redirector URL (d.o.o), tries to use mirror in Russia?

  1. #1

    Question zypper FAIL if using redirector URL (d.o.o), tries to use mirror in Russia?

    I added a zypper repo

    Code:
        /etc/zypp/repos.d/JavaPackages.repo
            [JavaPackages]
            name=JavaPackages
            enabled=1
            baseurl=http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3
            type=rpm-md
            priority=45
            autorefresh=1
            gpgcheck=1
            keeppackages=0
    When I try to

    Code:
        zypper dup
    I get

    Code:
        Retrieving: repomd.xml ................................................................[done]
          Repository:       JavaPackages
          Key Name:         Java:packages OBS Project <Java:packages@build.opensuse.org>
          Key Fingerprint:  317538E9 3DF4C664 5CA86921 F7B4039C C2C0E8D4
          Key Created:      Fri 02 Jun 2017 12:33:10 PM PDT
          Key Expires:      Sun 11 Aug 2019 12:33:10 PM PDT
          Rpm Name:         gpg-pubkey-c2c0e8d4-5931bd76
        Retrieving: 6e423d421e806d7a2258ae2f622dbb18827dce7d0cabded8a2d7af6f35a57491-primary.x[error]
        Download (curl) error for 'http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3/repodata/6e423d421e806d7a2258ae2f622dbb18827dce7d0cabded8a2d7af6f35a57491-primary.xml.gz':
        Error code: Connection failed
        Error message: Could not resolve host: mirror.tspu.ru
    If I change to using specific repos

    Code:
        /etc/zypp/repos.d/JavaPackages.repo
            [JavaPackages]
            name=JavaPackages
            enabled=1
            baseurl=http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3
                    http://provo-mirror.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3
                    http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3
            type=rpm-md
            priority=45
            autorefresh=1
            gpgcheck=1
            keeppackages=0
    then

    Code:
        zypper dup
    works for the repo.

    (1) Why is it failing for the redirector repo URL

    baseurl=http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3

    ?

    (2) I'm in Seattle, WA, USA.

    Why is it trying anything in *Russia*? mirror.tspu.ru ?

  2. #2

    Default Re: zypper FAIL if using redirector URL (d.o.o), tries to use mirror in Russia?

    I'm seeing this behavior on multiple machines, in different locations (all West Coast US though).

    Various, seemingly random repos.

    Always a fail "to" some random location half way around the world: Russia, Armenia, etc.

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,670
    Blog Entries
    3

    Default Re: zypper FAIL if using redirector URL (d.o.o), tries to use mirror in Russia?

    Quote Originally Posted by ahenry2 View Post
    (1) Why is it failing for the redirector repo URL

    baseurl=http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_42.3
    I suggest you try that in a browser.

    Assuming that you get to that page, click on the link for "details". That should give the list of mirrors and indicate what are the preferrred mirrors for your IP address.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  4. #4

    Default Re: zypper FAIL if using redirector URL (d.o.o), tries to use mirror in Russia?

    I've done that a lot.

    Sometimes there's a lot of repos offered, some times just a couple.

    I don't get why it fails like I reported.

    And, when it does, why it tries to go to Russia, Armenia, etc.

    I NO case do I ever want to pull from there.

    I know I can WHITELIST specific repos, by adding them as baseurl. As far as I can tell, there's no way to BLACKLIST specific repos, or by country, is there?

Posting Permissions

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