Results 1 to 6 of 6

Thread: Zypper refresh && zypper dup take forever

  1. #1

    Default Zypper refresh && zypper dup take forever

    I am unable to refresh repositories and/or do distribution upgrade due to timeouts. I've tried different mirrors (finding Tumbleweed mirrors is another handicap).

    Code:
    [Fri May 03 20:40:36 root@flux /home/flux] 
    # zypper ref
    Repository 'NVIDIA' is up to date.                                                                                                                                                                                 
    Repository 'server:proxy' is up to date.                                                                                                                                                                           
    Repository 'system:packagemanager' is up to date.                                                                                                                                                                  
    Repository 'server:monitoring' is up to date.                                                                                                                                                                      
    Repository 'network:time' is up to date. 
    Retrieving repository 'openSUSE:Factory' metadata -------------------------------------------------------------------------------------------------------------------------------------------------------------[-]
    ^C
    
    [Fri May 03 22:00:25 root@flux /etc/zypp/repos.d] 
    # zypper clean --all
    All repositories have been cleaned up.
    
    [Fri May 03 22:00:45 root@flux /etc/zypp/repos.d] 
    # zypper ref
    Retrieving repository 'NVIDIA' metadata ...................................................................................................................................................................[error]
    Repository 'NVIDIA' is invalid.
    [NVIDIA|https://download.nvidia.com/opensuse/tumbleweed] Valid metadata not found at specified URL                                                                                                                
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'NVIDIA' because of the above error.
    Retrieving repository 'server:proxy' metadata ..............................................................................................................................................................[done]
    Building repository 'server:proxy' cache ...................................................................................................................................................................[done]
    Retrieving repository 'system:packagemanager' metadata --------------------------------------------------------------------------------------------------------------------------------------------------------[\]
    ^C
    
    During "zupper dup" there are frequent terminations, zypper.log-*.xz shows some errors like this -

    Code:
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):134 Send: script died unexpectedly
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):134 History:
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):134  - [32-Broken pipe]
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):134  
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):140 Bad plugin response from PluginScript[15493] /usr/lib/zypp/plugins/commit/snapper.py: PluginFrame[](0){0}
    2019-05-03 00:00:02 <2> flux(15428) [zypp::plugin] PluginExecutor.cc(doSend):141 (Expected ACK or _ENOMETHOD)
    2019-05-03 00:00:02 <1> flux(15428) [zypp::plugin++] PluginScript.cc(close):229 Close:PluginScript[15493] /usr/lib/zypp/plugins/commit/snapper.py
    2019-05-03 00:00:02 <1> flux(15428) [zypp::plugin++] PluginScript.cc(send):272 PluginScript[15493] /usr/lib/zypp/plugins/commit/snapper.py ->send PluginFrame[_DISCONNECT](0){0}
    2019-05-03 00:00:02 <3> flux(15428) [zypp::plugin] PluginScript.cc(send):326 write(): [32-Broken pipe]
    2019-05-03 00:00:02 <5> flux(15428) [zypp] Exception.cc(log):166 PluginScript.cc(send):328 THROW:    Send: script died unexpectedly
    2019-05-03 00:00:02 <5> flux(15428) [zypp] Exception.cc(log):166 History:
    2019-05-03 00:00:02 <5> flux(15428) [zypp] Exception.cc(log):166  - [32-Broken pipe]
    2019-05-03 00:00:02 <5> flux(15428) [zypp] Exception.cc(log):166 
    
    Where I can find complete urls for Tumbleweed rpm mirrors for these repositories -
    Code:
    [Fri May 03 22:44:52 root@flux /home/flux] 
    # zypper lr -d
    #  | Alias                                | Name                                  | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                       
                | Service
    ---+--------------------------------------+---------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------
    ------------+--------
     1 | NVIDIA                               | NVIDIA                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                           
                |         
     2 | http-download.opensuse.org-0f1ab5fb                     | server:proxy                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/proxy/openSUSE_Factory/ 
                |         
     3 | http-download.opensuse.org-25894e09                   | system:packagemanager                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/system:/packagemanager/openSUSE_
    Tumbleweed/ |         
     4 | http-download.opensuse.org-373b59f4                    | server:monitoring                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Fact
    ory/        |         
     5 | http-download.opensuse.org-7fdf6ec2                     | network:time                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/network:/time/openSUSE_Factory/ 
                |         
     6 | http-download.opensuse.org-8fe498bb                    | openSUSE:Factory                      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                         
                |         
     7 | http-download.opensuse.org-d6443855                   | system:snappy                         | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumblewe
    ed/         |         
     8 | openSUSE-20190205-0                                                 | openSUSE-20190205-0                   | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_200429081002E24171B4-
    0:0-part2   |         
     9 | openSUSE_Tools                                                            | openSUSE.org tools (openSUSE_Factory) | Yes     | ( p) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_Factory
    /           |         
    10 | packman.inode.at-openSUSE_Tumbleweed         | Packman Repository                    | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                         
                |         
    11 | repo-debug                                                                    | openSUSE-Tumbleweed-Debug             | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                   
                |         
    12 | repo-non-oss                                                                | openSUSE-Tumbleweed-Non-Oss           | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | https://mirror.freemirror.org/opensuse/opensuse/tumbleweed/repo/non-oss/  
                |         
    13 | repo-oss                                                                        | openSUSE-Tumbleweed-Oss               | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | https://mirror.freemirror.org/opensuse/opensuse/tumbleweed/repo/oss/      
                |         
    14 | repo-source                                                                  | openSUSE-Tumbleweed-Source            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                  
                |         
    15 | repo-update                                                                  | openSUSE-Tumbleweed-Update            | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                           
    

  2. #2
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    993

    Default Re: Zypper refresh && zypper dup take forever

    Could well be a transient or cache problem. Repo works fine here:

    Code:
    erlangen:~ # zypper lr nvidia
    Alias          : nvidia                                          
    Name           : nvidia                                          
    URI            : https://download.nvidia.com/opensuse/tumbleweed/
    Enabled        : Yes                                             
    GPG Check      : (r ) Yes                                        
    Priority       : 99 (default priority)                           
    Autorefresh    : On                                              
    Keep Packages  : Off                                             
    Type           : rpm-md                                          
    GPG Key URI    :                                                 
    Path Prefix    :                                                 
    Parent Service :                                                 
    Keywords       : ---                                             
    Repo Info Path : /etc/zypp/repos.d/nvidia.repo                   
    MD Cache Path  : /var/cache/zypp/raw/nvidia                      
    erlangen:~ #
    Try "zypper refresh --force".
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  3. #3

    Default Re: Zypper refresh && zypper dup take forever

    Quote Originally Posted by karlmistelberger View Post
    Could well be a transient or cache problem. Repo works fine here:

    Code:
    erlangen:~ # zypper lr nvidia
    Alias          : nvidia                                          
    Name           : nvidia                                          
    URI            : https://download.nvidia.com/opensuse/tumbleweed/
    Enabled        : Yes                                             
    GPG Check      : (r ) Yes                                        
    Priority       : 99 (default priority)                           
    Autorefresh    : On                                              
    Keep Packages  : Off                                             
    Type           : rpm-md                                          
    GPG Key URI    :                                                 
    Path Prefix    :                                                 
    Parent Service :                                                 
    Keywords       : ---                                             
    Repo Info Path : /etc/zypp/repos.d/nvidia.repo                   
    MD Cache Path  : /var/cache/zypp/raw/nvidia                      
    erlangen:~ #
    Try "zypper refresh --force".
    NVIDIA repo does that occasionally but repo-non-oss, serverroxy & repo-oss die often.

  4. #4
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    993

    Default Re: Zypper refresh && zypper dup take forever

    Quote Originally Posted by chigurh View Post
    NVIDIA repo does that occasionally but repo-non-oss, serverroxy & repo-oss die often.
    Seems to be a connection or networking problem. I have eight repositories using download.opensuse.org and never experienced such problems since a decade:

    Code:
    erlangen:~ # zypper lr -uEP 
    #  | Alias                               | Name                                      | Enabled | GPG Check | Refresh | Priority | URI                                                                                       
    ---+-------------------------------------+-------------------------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------------------
     3 | Packman                             | Packman                                   | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/                                       
     5 | download.opensuse.org-non-oss       | Haupt-Repository (NON-OSS)                | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/                                     
     6 | download.opensuse.org-oss           | Haupt-Repository (OSS)                    | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/                                         
     7 | download.opensuse.org-tumbleweed    | Hauptaktualisierungs-Repository           | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/                                           
     1 | Application_Geo                     | Application_Geo                           | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Tumbleweed/           
     2 | Google-Chrome                       | Google-Chrome                             | Yes     | (r ) Yes  | Yes     |  100     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                       
     9 | home_malcolmlewis_TESTING           | Testing packages... (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/
    10 | home_seife_testing                  | testing (openSUSE_Factory)                | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/seife:/testing/openSUSE_Factory/          
    11 | http-download.opensuse.org-75c214b0 | home:Herbster0815                         | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/Herbster0815/openSUSE_Tumbleweed/         
    14 | http-opensuse-guide.org-37124e10    | libdvdcss repository                      | Yes     | (r ) Yes  | Yes     |  100     | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                       
    15 | jalbum                              | jalbum                                    | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/                                              
    16 | myrepo                              | myrepo                                    | Yes     | ( p) Yes  | Yes     |  100     | dir:/home/karl/Downloads/myrepo                                                           
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  5. #5

    Default Re: Zypper refresh && zypper dup take forever

    Quote Originally Posted by karlmistelberger View Post
    Seems to be a connection or networking problem. I have eight repositories using download.opensuse.org and never experienced such problems since a decade:

    Code:
    erlangen:~ # zypper lr -uEP 
    #  | Alias                               | Name                                      | Enabled | GPG Check | Refresh | Priority | URI                                                                                       
    ---+-------------------------------------+-------------------------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------------------
     3 | Packman                             | Packman                                   | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/                                       
     5 | download.opensuse.org-non-oss       | Haupt-Repository (NON-OSS)                | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/                                     
     6 | download.opensuse.org-oss           | Haupt-Repository (OSS)                    | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/                                         
     7 | download.opensuse.org-tumbleweed    | Hauptaktualisierungs-Repository           | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/                                           
     1 | Application_Geo                     | Application_Geo                           | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Tumbleweed/           
     2 | Google-Chrome                       | Google-Chrome                             | Yes     | (r ) Yes  | Yes     |  100     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                       
     9 | home_malcolmlewis_TESTING           | Testing packages... (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/
    10 | home_seife_testing                  | testing (openSUSE_Factory)                | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/seife:/testing/openSUSE_Factory/          
    11 | http-download.opensuse.org-75c214b0 | home:Herbster0815                         | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/home:/Herbster0815/openSUSE_Tumbleweed/         
    14 | http-opensuse-guide.org-37124e10    | libdvdcss repository                      | Yes     | (r ) Yes  | Yes     |  100     | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                       
    15 | jalbum                              | jalbum                                    | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/                                              
    16 | myrepo                              | myrepo                                    | Yes     | ( p) Yes  | Yes     |  100     | dir:/home/karl/Downloads/myrepo                                                           
    erlangen:~ #
    Network is fine. If I find proper repo mirrors I will be fine.
    Code:
    [Sat May 04 02:45:28 flux@flux ~] # speedtest-cli 
    Retrieving speedtest.net configuration...
    Testing from XXXXXXXXXXXXX (XXX.XX.XXX.XX)...
    Retrieving speedtest.net server list...
    Selecting best server based on ping...
    Hosted by Starry, Inc. (Ashburn, VA) [0.98 km]: 3.827 ms
    Testing download speed................................................................................
    Download: 21.88 Mbit/s
    Testing upload speed......................................................................................................
    Upload: 20.34 Mbit/s

  6. #6
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    993

    Default Re: Zypper refresh && zypper dup take forever

    Quote Originally Posted by chigurh View Post
    Network is fine. If I find proper repo mirrors I will be fine.
    Code:
    [Sat May 04 02:45:28 flux@flux ~] # speedtest-cli 
    Retrieving speedtest.net configuration...
    Testing from XXXXXXXXXXXXX (XXX.XX.XXX.XX)...
    Retrieving speedtest.net server list...
    Selecting best server based on ping...
    Hosted by Starry, Inc. (Ashburn, VA) [0.98 km]: 3.827 ms
    Testing download speed................................................................................
    Download: 21.88 Mbit/s
    Testing upload speed......................................................................................................
    Upload: 20.34 Mbit/s
    Sure, but what about: https://mirrors.opensuse.org/ Select a mirror nearby instead of download.opensuse.org.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

Posting Permissions

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