SUSECON
Results 1 to 3 of 3

Thread: Zypper - Problem retrieving the repository index file

Threaded View

  1. #1

    Zypper - Problem retrieving the repository index file

    Hi,

    I have a SUSE ES 11 SP3 instance (ID: i-008f9012) and I need to install the php5-openssl package, but I'm getting in trouble when using "zypper install".

    Code:
    Refreshing service 'susecloud'.
    Problem retrieving the repository index file for service 'susecloud':
    Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/repoindex.xml?cookies=0':
    Error code: Connection failed
    Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
    
    Check if the URI is valid and accessible.
    Error building the cache:
    [|] Valid metadata not found at specified URL(s)
    Warning: Disabling repository 'php' because of the above error.
    Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): a
    Problem retrieving files from 'SLE11-SDK-SP3-Pool'.
    Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
    
    Please see the above error message for a hint.
    Warning: Disabling repository 'SLE11-SDK-SP3-Pool' because of the above error.
    Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Updates/sle-11-x86_64/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
    
    ...
    I tried to made the infrastructure update, following the steps below but I got the same "Problem retrieving the repository index file for service 'susecloud'" error at step 2 and no instanceInfraUpgrade file is generated.

    Code:
    1) grep smt-ec2 /etc/hosts
    
    If this returns empty you will need to migrate your instance to the new update infrastructure.  This process will introduce changes to the instance including introducing cloud-init.  root remains the default user (ec2-user is the default user for new images) and the hostname and hostkeys are preserved.
    
    1) wget http://54.197.240.216/instanceInfraUpgrade.noarch.rpm
    
    2) zypper –non-interactive in instanceInfraUpgrade.noarch.rpm
    
    3) instanceInfraUpgrade
    
    4) rm instanceInfraUpgrade.noarch.rpm

    There is the output for zypper ls:

    Code:
    # | Alias                 | Name                                           | Enabled | Refresh | Type
    --+-----------------------+------------------------------------------------+---------+---------+-------
    1 | nu_novell_com         | nu_novell_com                                  | Yes     | No      | NONE
    2 | susecloud             | susecloud                                      | Yes     | Yes     | ris
    3 | devel_tools_scm       | Software configuration management (SLE_11_SP2) | Yes     | No      | rpm-md
    4 | php                   | php                                            | Yes     | No      | NONE
    5 | server_php_extensions | PHP extensions (server_php_openSUSE_11.4)      | Yes     | No      | rpm-md
    I looked in the forum, but I could not find a clear solution.
    Can you help me?
    Last edited by arivanbastos; 01-Jun-2016 at 16:12.

Bookmarks

Posting Permissions

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