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

Thread: YAST2 very slow to refresh repos

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default YAST2 very slow to refresh repos

    When I start yast2 it seems to hang at around 50% (the lower progress bar) while refreshing the repositories. It can sit there for a minute before moving on. Once yast2 has started and I add / remove repos the refresh happens very quickly. It's only when starting that it gets stuck.

    This is something that really only started after I upgraded to 11.2. In 11.1 the progress bar would move cross quickly and you could see the various repos flashing up above the progress bar. I didn't bother with it too much but it's starting to annoy me now. It also sometimes just hangs there permanently and I have to abort it.

    I've tried unconditionally updating the yast stuff but it hasn't helped. My network connection is fine and I have now problems or speed issues with browsing the repo urls from a browser.

    Any ideas on what may be causing this or how I can diagnose this?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: YAST2 very slow to refresh repos

    I had issues on Packman skynet mirrors yesterday.
    Does zypper do the same?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: YAST2 very slow to refresh repos

    I had the same problem with the packman repo from skynet. Just use one of the mirrors for packman. You can find a list of available mirrors on the opensuse website.

  4. #4
    Join Date
    May 2008
    Location
    Wilds of Arkansas
    Posts
    198

    Default Re: YAST2 very slow to refresh repos

    I had what sounds like a similar issue that was solved here it links to a post at this Forum but it also has a further repair to consider.

    Hope this helps.

  5. #5
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: YAST2 very slow to refresh repos

    Quote Originally Posted by caf4926 View Post
    I had issues on Packman skynet mirrors yesterday.
    Does zypper do the same?
    Don't really know how to use zypper so haven't tried it.

    @MattBClassic, thanks for the link. It seems that they speak about issues with aria2c and ISPs possibly throttling p2p traffic. I didn't quite understand how you can disable aria2. I tried deleting it with yast but it has a huge amount of dependencies associated to it.

    Would switching to the ftp instead of http protocal help? Is there any way to configure yast not to use aria2 or p2p protocols? It's just taken 7 minutes for yast to start.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  6. #6
    Join Date
    May 2008
    Location
    Wilds of Arkansas
    Posts
    198

    Default Re: YAST2 very slow to refresh repos

    Using zypper just means using a terminal with root to do your software adminstration. It is all command line driven. Now in the post Zypper lag? - openSUSE Forums
    You see the code: export ZYPP_ARIA2C=0 so what you do is to open a terminal get root rights with su followed by root PW and than enter the code.

    To make permanent, as FM mentioned, it (the code) needed to be added to ~/.bashrc

    Edit: I would not remove aria2c since I am not sure what consequences that may have.
    Last edited by MattBClassic; 08-Feb-2010 at 08:57. Reason: Afterthought.

  7. #7
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: YAST2 very slow to refresh repos

    Thanks for clarifying. I'll try that and see if there is an improvement.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  8. #8
    Join Date
    May 2008
    Location
    Wilds of Arkansas
    Posts
    198

    Default Re: YAST2 very slow to refresh repos

    Just as a reference it took me 5minutes to do a Software management load today without using SM for more than a week (BTW my phone connection went buggy over the weekend so I am only getting 300kbs). Then it only took 30 seconds to load when I waited a few minutes and restarted it.

  9. #9
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: YAST2 very slow to refresh repos

    Well I tried
    Code:
    export ZYPP_ARIA2C=0
    and it doesn't seem to be making any difference.

    The strange thing this problem really started after installing 11.2. In 11.1 the loading and refreshing of repos was very quick.

    I'm experiencing the slow repo loading on both my 11.2 machines so implies that it's something to do with the connection to the servers. If my ISP is interferring with p2p protocols then is there anyway to force yast / zypper to use ftp or something else?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: YAST2 very slow to refresh repos

    In another thread it was writen that there have been server problems at opensuse.org

    On my laptop I switched the repos to use one of the german mirrors, no lags at all.

    So, it looks like this is not the zypper problem described (that would have been the same for mirrors), but server outage instead.

    There also might be something going on on the KDE4 front, that's slowing down the servers.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

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
  •