Bug 414671

Summary: repository mirror
Product: [openSUSE] openSUSE 10.3 Reporter: Adi Nugroho <internux>
Component: YaST2Assignee: Peter Poeml <poeml>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: dmacvicar, internux, mvidner
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Adi Nugroho 2008-08-05 10:34:07 UTC
Since I was failed to upgrade to openSUSE 11.0 (too many bugs), I reinstall my openSUSE 10.3.

Unfortunately, the online update takes soooo long. Usually, it need not more than one day. Now, it is more than a week !!!
Now I just installing postgresql and some needed packets. Usually, it is about one hour. Now it is more than a day, and it is not finished yet :(

I start tcpdump, and finally I found why it is slower.
Usually, YaST automatically give me kambing.vlsm.org as repository.
Now, tcpdump shows that it is downloading from repo.ugm.ac.id.

I would be very happy if you can change back the repository to kambing.vlsm.org.

Thank you in advance.

Regards,
Adi Nugroho
Comment 1 Cyril Hrubis 2008-08-06 16:05:12 UTC
Where did the installer gets repositories, did you just select default ones, or add it manually? Repositories can be easily changed in yast. Please attach y2logs.
Comment 2 Adi Nugroho 2008-08-08 20:57:19 UTC
Created attachment 232533 [details]
y2log
Comment 3 Adi Nugroho 2008-08-08 20:59:24 UTC
I was just use the default values.
In YaST --> Software --> Community Repositories, I just use:
* Main Repository (OSS)
* Main Repository (Non OSS)
* Main Update Repository 

I have attached y2logs. Hopefully it is help, because I have just added from
YaST --> Software --> Community Repositories:
* Packman
and http://software.opensuse.org/download/Education:/desktop/openSUSE_10.3/

( the last repo was also failed. I will report in another bug report)

Just a suggestion....
It would be nice if yast has fallback.
It will automatically redirect to nearest mirror (like it did now), but if it
is fail, it should back to main server.
Comment 4 Cyril Hrubis 2008-08-11 08:55:26 UTC
Please next time remove NEEDINFO status by selecting "This comment/attachment 
provides ..." checkbox after supplying needed information. Reassigning to yast2 maintainers.
Comment 5 Martin Vidner 2008-08-11 12:48:56 UTC
I'm not sure what we can do, but Peter should have a better idea.
See also http://en.opensuse.org/Mirror_Selection
Comment 6 Adi Nugroho 2008-08-16 02:02:22 UTC
Additional information...

I need some multimedia codecs.
So, I went to http://opensuse-community.org/Multimedia
and clicked http://opensuse-community.org/codecs-kde.ymp
Since I clicked something from opensuse-community.org, for sure I pretending to dowload from it.

Unfortunately, the problem came again....
It has been more than a week, and it not yet finished. It always fail, and I have retry again and again.
I do tcpdump, and yes, it is because I am actually downloading from repo.ugm.ac.id. That is why it is much much slower than before, when opensuse automagically slect kambing.vlsm.org as nearest repo server.
Comment 7 Peter Poeml 2008-08-25 10:49:47 UTC
This eventually is a duplicate of bug 369531. The problem you report
here is affecting many people and a common scenario. The plan is to
enhance libzypp by using a metalink client to download packages for
failover and speed optimization. 
See also http://en.opensuse.org/Libzypp/Failover

Regarding those two mirrors (kambing.ui.edu and repo.ugm.ac.id), I have
seen some stability issues with kambing, but does it work better /
faster for you than ugm? We are sending much less requests to kambing at
this time. On the other hand, I added ugm in July only after I
discovered by accident, so we don't have as much experience with it. So
it would be most important to know your perspective on this, your
location, etc. Thanks.

But definitely, YaST needs a way to give users influence on this. Like
giving mirrors priorities, giving the choice to prefer a local mirror,
and figure out the fastest mirror by itself (which the above mentioned
proposal allows).
Comment 8 Adi Nugroho 2008-09-19 09:30:21 UTC
I have just reinstal my opensuse, including opensuse education (wow, opensuse education is nice).
And, when I do online update, it is going to kambing.ui.edu.
Thank you very much.
It is running very fast now.
Comment 9 Peter Poeml 2008-09-19 13:49:24 UTC
Thank you for the feedback.