Results 1 to 9 of 9

Thread: Zypper update: "Network is unreachable" ERROR

  1. #1

    Default Zypper update: "Network is unreachable" ERROR

    Hi there,
    Every time I'm trying to update my system it gives me (repeatedly, many times during the process) this error message:

    Code:
    Download (curl) error for 'http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.1/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable
    NOTE: this error is not specific for this repository only. It can give the same error for any of my repositories during the update and i have to repeatedly enter R-Retry and if i am lucky enough it will succeed and continue downloading updates until the next very same ERROR.
    Any ideas?

    OS:
    Code:
    aram@linux-gn3o:~> lsb-release -a
    LSB Version:    n/a
    Distributor ID: SUSE LINUX
    Description:    openSUSE Leap 42.1 (x86_64)
    Release:        42.1
    Codename:       n/a
    aram@linux-gn3o:~> uname -r
    4.1.15-8-default
    NOTE: this happens even with tumbleweed

    Repos:
    Code:
    aram@linux-gn3o:~> zypper repos
    #  | Alias                               | Name                                    | Enabled | GPG Check | Refresh
    ---+-------------------------------------+-----------------------------------------+---------+-----------+--------
     1 | KDE_Frameworks_5                    | KDE Frameworks 5                        | No      | ----      | No     
     2 | MEGAsync                            | MEGAsync                                | Yes     | (r ) Yes  | Yes    
     3 | download.opensuse.org-oss           | Main Repository (DEBUG)                 | Yes     | (r ) Yes  | Yes    
     4 | fonts                               | fonts                                   | No      | ----      | No     
     5 | google-talkplugin                   | google-talkplugin                       | Yes     | (r ) Yes  | Yes    
     6 | http-download.opensuse.org-69a7a5cf | KDE:Extra                               | Yes     | (r ) Yes  | Yes    
     7 | http-download.opensuse.org-870ec8b8 | KDE:Extra                               | No      | ----      | No     
     8 | http-download.opensuse.org-a9e5ec54 | home:deltafox                           | No      | ----      | No     
     9 | http-download.opensuse.org-af77c528 | openSUSE:Leap:42.1:NonFree              | Yes     | (r ) Yes  | Yes    
    10 | http-download.opensuse.org-c57b6024 | home:walery                             | No      | ----      | No     
    11 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes    
    12 | repo-debug                          | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes    
    13 | repo-debug-non-oss                  | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes    
    14 | repo-debug-update                   | openSUSE-Leap-42.1-Update-Debug         | Yes     | (r ) Yes  | Yes    
    15 | repo-debug-update-non-oss           | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | No     
    16 | repo-non-oss                        | openSUSE-Leap-42.1-Non-Oss              | No      | ----      | Yes    
    17 | repo-oss                            | openSUSE-Leap-42.1-Oss                  | Yes     | (r ) Yes  | Yes    
    18 | repo-source                         | openSUSE-Leap-42.1-Source               | No      | ----      | Yes    
    19 | repo-update                         | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes    
    20 | repo-update-non-oss                 | openSUSE-Leap-42.1-Update-Non-Oss       | Yes     | (r ) Yes  | Yes    
    21 | vlc                                 | vlc                                     | No      | ----      | No     
    22 | wine                                | wine                                    | No      | ----      | No
    THANKS

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: Zypper update: "Network is unreachable" ERROR

    Can you connect to anything else on the Internet using any other app... like a web browser or mail?

    The error you're posting "network unreachable" typically means that the IP address your machine is using is not part of a logical network with a default gateway.
    This can happen a number of different ways, but you need to narrow down possibilities by trying other apps, possibly running a traceroute.

    Some possibilities...
    - A network proxy may need to be configured.
    - A basic network configuration error.
    - Connecting to multiple networks simultaneously.
    - A zypper configuration error (less likely)

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Zypper update: "Network is unreachable" ERROR

    everything seems to be working normally,,, im using internet without any problem,, everything just worked out of the box...

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Zypper update: "Network is unreachable" ERROR

    Quote Originally Posted by aramgrigoryan View Post
    everything seems to be working normally,,, im using internet without any problem,, everything just worked out of the box...
    Hi
    Then it maybe the mirror your being directed to was/is incomplete...

    Pick a mirror close to your locale/region from the list of mirrors;
    http://download.opensuse.org/reposit...xml.mirrorlist

    Either remove the existing one and re-add with the fixed URL, or just edit the repo link.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Zypper update: "Network is unreachable" ERROR

    hard to decide which mirror to use... even after testing the download speed and choosing one i encountered the same issue...

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Zypper update: "Network is unreachable" ERROR

    Quote Originally Posted by aramgrigoryan View Post
    hard to decide which mirror to use... even after testing the download speed and choosing one i encountered the same issue...
    Hi
    Hmm, just tried one here, seems to be fine?
    Code:
    zypper ar -f http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_42.1/ TEST
    
    Adding repository 'TEST' ........................................................................................................[done]
    Repository 'TEST' successfully added
    Enabled     : Yes                                                                         
    Autorefresh : Yes                                                                         
    GPG Check   : Yes                                                                         
    Priority    : 99                                                                          
    URI         : http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_42.1/
    
    zypper ref
    
    Refreshing service 'spacewalk'.
    Retrieving repository 'TEST' metadata ----------------------------------------------------------------------------------------------[\]
    
    New repository or package signing key received:
    
      Repository:       TEST                                        
      Key Name:         KDE OBS Project <KDE@build.opensuse.org>    
      Key Fingerprint:  4E8E6DE2 961F3083 EAC50086 27C07017 6F88BB2F
      Key Created:      Sun Aug 31 09:06:11 2014                    
      Key Expires:      Tue Nov  8 08:06:11 2016                    
      Rpm Name:         gpg-pubkey-6f88bb2f-54032bd3                
    
    
    Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): a
    Retrieving repository 'TEST' metadata ...........................................................................................[done]
    Building repository 'TEST' cache ................................................................................................[done]
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Zypper update: "Network is unreachable" ERROR

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Hmm, just tried one here, seems to be fine?
    The problem is that this error isnt constantly there... and there is no way to 100% reproduce it. in some cases i am able to do update without encountering this issue and sometimes it just appears... very nasty one... actually you have to sit behind your pc to perform an update with this.. every time hitting R-retry for retrying .. sort of a manual update haha

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Zypper update: "Network is unreachable" ERROR

    Quote Originally Posted by aramgrigoryan View Post
    The problem is that this error isnt constantly there... and there is no way to 100% reproduce it. in some cases i am able to do update without encountering this issue and sometimes it just appears... very nasty one... actually you have to sit behind your pc to perform an update with this.. every time hitting R-retry for retrying .. sort of a manual update haha
    Hi
    Then I would guess it's a mirror/mirrorbrain issue with redirection as well as the mirror being updated. See if you can find a mirror that has all your repos on (probably the one in my example is pretty reliable), modify your repo url's and see how that goes.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: Zypper update: "Network is unreachable" ERROR

    Quote Originally Posted by aramgrigoryan View Post
    The problem is that this error isnt constantly there... and there is no way to 100% reproduce it. in some cases i am able to do update without encountering this issue and sometimes it just appears... very nasty one... actually you have to sit behind your pc to perform an update with this.. every time hitting R-retry for retrying .. sort of a manual update haha

    I got the same problem and finally found that it was the DNS IP address. I assigned the DNS of the ISP to the name server in Yast network settings then zypper works fine.

Posting Permissions

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