You are not logged in.

#1 2010-02-08 22:04:21

intgr
Member
Registered: 2009-10-02
Posts: 48

Unsynchronized mirrors: Rage with me!

Unsynchronized mirrors: Rage with me!

Don't you just hate it when you can't upgrade/install some package because the mirrors are yet again out of sync with the database? So I decided to make this rage comic.

PS: sudoers "Defaults insults" ftw smile

rage-arch.png

Last edited by intgr (2010-02-08 22:35:15)

Offline

#2 2010-02-08 22:06:11

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: Unsynchronized mirrors: Rage with me!

Oh no! This will give Arch bad reputation! O_O;;;; How could you!

Offline

#3 2010-02-08 22:13:10

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: Unsynchronized mirrors: Rage with me!

You know I was thinking in this direction...
Few days ago, I decided to check the mirrorlist and make sure if my mirrors are in sync. Well as it turns out my mirrors were like day out of sync. So I went and find mirrors that were near to me and in sync.
Since then I started to think about a script which would get the mirrors that are most in-sync and then use ratemirrors to determine the fastest for use.
I have no idea if this already exist and how hard would it be to make it, but I think something like that would really be needed.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2010-02-08 22:25:31

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Unsynchronized mirrors: Rage with me!

Primoz wrote:

You know I was thinking in this direction...
Few days ago, I decided to check the mirrorlist and make sure if my mirrors are in sync. Well as it turns out my mirrors were like day out of sync. So I went and find mirrors that were near to me and in sync.
Since then I started to think about a script which would get the mirrors that are most in-sync and then use ratemirrors to determine the fastest for use.
I have no idea if this already exist and how hard would it be to make it, but I think something like that would really be needed.

Check out reflector (pacman -S reflector).
Read the man page before you use it as there's a couple of gotchas (like using -r on its own).


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2010-02-08 23:18:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unsynchronized mirrors: Rage with me!

intgr - are you really using just one mirror? No wonder you have problems...

I have every mirror uncommented in my mirrorlist, with my five favourites at the top. On the rare occasion that all five of those throw a "Not Found", invariably one of the others serves up the file, and pacman moves on unperturbed.

You should try it. smile

Offline

#6 2010-02-08 23:27:31

intgr
Member
Registered: 2009-10-02
Posts: 48

Re: Unsynchronized mirrors: Rage with me!

tomk wrote:

intgr - are you really using just one mirror? No wonder you have problems...

Nope, I only used 1 there because I couldn't fit more in the panel tongue

In fact I have 20 mirrors uncommented, yet sometimes I still manage to update at moments when all of them are missing a file or two. Especially with the recent libpng/libjpeg breakage, I couldn't update my boxes for 2 days!

I've heard that i686 guys have it easier than x86_64 because that subtree gets synced first -- i686 is first alphabetically.

Offline

#7 2010-02-09 00:19:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unsynchronized mirrors: Rage with me!

I'm x86_64.. and it just works for me, as described above.

Offline

#8 2010-02-09 00:30:51

santodelaespada
Member
Registered: 2009-04-15
Posts: 50

Re: Unsynchronized mirrors: Rage with me!

I'm getting a little bit tired with this kind of stuff, makes me miss my debian.
between the xorg 1.6 -> 1.7 update last year, the crappy intel kms driver (not arch specific) and this, I allmost beat two computers to the dead. Only to find out later the problem comes with the update.

sad sad rolling "down the hill" release

Offline

#9 2010-02-09 00:38:21

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Unsynchronized mirrors: Rage with me!

Use kernel.org mirror. It syncs every hour, and points to multiple servers. I had everything I needed from the jpng update within one day.

Offline

#10 2010-02-09 06:53:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unsynchronized mirrors: Rage with me!

santodelaespada - if you don't like using Arch, don't use Arch. Simple really. smile

Offline

#11 2010-02-09 16:18:13

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Unsynchronized mirrors: Rage with me!

santodelaespada wrote:

I'm getting a little bit tired with this kind of stuff, makes me miss my debian.
between the xorg 1.6 -> 1.7 update last year, the crappy intel kms driver (not arch specific) and this, I allmost beat two computers to the dead. Only to find out later the problem comes with the update.

sad sad rolling "down the hill" release

I think a little common sense comes into play though. For example it isn't too bright to start trying to upgrade to KDE 4.4 when it is so new unless you a) know what you are doing b) have checked the usual places for notes and problems c) know that your mirrors are set up correctly and ready for this.  Arch definitely is a distro which expects the user to (usually) exercise common sense as well as to possess at least an intermediate amount of knowledge.

Having said this I do think the mirror/update system could use some refinements, though nothing is perfect and there are tradeoffs for most things I can think of to help with the various problems.

PS- The comic is hilarious! smile

Last edited by davidm (2010-02-09 16:19:44)

Offline

#12 2010-02-09 16:41:26

codestation
Member
Registered: 2009-10-12
Posts: 6

Re: Unsynchronized mirrors: Rage with me!

davidm wrote:

I think a little common sense comes into play though. For example it isn't too bright to start trying to upgrade to KDE 4.4 when it is so new unless you a) know what you are doing b) have checked the usual places for notes and problems c) know that your mirrors are set up correctly and ready for this.  Arch definitely is a distro which expects the user to (usually) exercise common sense as well as to possess at least an intermediate amount of knowledge.

I think that the problem here is that why they update the db with the new package list before the mirrors finished the sync? This doesnt only affect the users that are upgraging, what about those who are installing KDE for the first time? They simply cant install it because that almost all the mirrors are out of sync with the pacman db. I expect too that the devs to (usually) exercise common sense and wait at least for the 90% of the mirrors to be in sync before updating the package list in the db.

Offline

#13 2010-02-09 17:23:16

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: Unsynchronized mirrors: Rage with me!

davidm wrote:

PS- The comic is hilarious! smile

Yeah! Do more comics! Post them here and to the arch linux magazine! smile

Offline

#14 2010-02-09 19:57:13

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Unsynchronized mirrors: Rage with me!

codestation wrote:
davidm wrote:

I think a little common sense comes into play though. For example it isn't too bright to start trying to upgrade to KDE 4.4 when it is so new unless you a) know what you are doing b) have checked the usual places for notes and problems c) know that your mirrors are set up correctly and ready for this.  Arch definitely is a distro which expects the user to (usually) exercise common sense as well as to possess at least an intermediate amount of knowledge.

I think that the problem here is that why they update the db with the new package list before the mirrors finished the sync? This doesnt only affect the users that are upgraging, what about those who are installing KDE for the first time? They simply cant install it because that almost all the mirrors are out of sync with the pacman db. I expect too that the devs to (usually) exercise common sense and wait at least for the 90% of the mirrors to be in sync before updating the package list in the db.

There are likely some technical issues at play here. You are speaking in part of the package list being updated but the individual packages not yet being physically transferred to that mirror yet, right?  I suppose that could be handled better but would likely mean some technical changes to the way mirrors work (I don't have a lot of knowledge of the scripts ran on them to say how easy that would be to implement or the time involved, although I see it as possible).

Because of your earlier post I started thinking more of ways to help some with the mirror issues and came up with these ideas: http://bbs.archlinux.org/viewtopic.php?id=90665  This would not solve the window between the database being updated and all packages not being on the mirror though.  I think the mirror itself would have to e changed to remove that time window.

Last edited by davidm (2010-02-09 19:59:40)

Offline

#15 2010-02-09 20:15:52

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Unsynchronized mirrors: Rage with me!

Awesome and yet very true comic big_smile

Offline

#16 2010-02-09 20:28:16

Staerseus
Member
From: Prague
Registered: 2009-11-07
Posts: 109
Website

Re: Unsynchronized mirrors: Rage with me!

I like this repo, I had some troubles with the Czech one, but this one is really actual:

Server = http://mirror.giantix-server.de/archlin … /os/x86_64

EDIT: The comic is really good .-)

Last edited by Staerseus (2010-02-09 20:28:53)


Thanks for the GNU/Linux. EDIT:Thanks for the GNU/Linux, Linux guru, for the manuals and wikis.

Offline

#17 2010-02-11 22:14:01

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: Unsynchronized mirrors: Rage with me!

@intgr i just saw your comic in the ALM smile *thumbs up*

Are you gonna make somemore for future issues of ALM? smile

Offline

#18 2010-02-12 18:36:08

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: Unsynchronized mirrors: Rage with me!

I hope not, cause that would mean that he is angry at something!

Offline

#19 2010-02-12 22:04:08

intgr
Member
Registered: 2009-10-02
Posts: 48

Re: Unsynchronized mirrors: Rage with me!

whacath wrote:

Are you gonna make somemore for future issues of ALM? smile

I don't think I've been blessed with a great deal of comic nor artistic talent, so I'm afraid anything I can come up with will be just another version of the same thing which will get old very quickly.

For who's not familiar with the meme, I didn't even draw the thing myself, I just copy-pasted from other rage comics. smile

Anyway, we'll see, maybe I'll give it another try if I find something rage-worthy.

Offline

#20 2010-02-12 22:37:31

jmdennis
Member
Registered: 2009-03-21
Posts: 61

Re: Unsynchronized mirrors: Rage with me!

I am glad to see the comic.  I have uncommented all my mirrors in the US and get not found.  Even when using the slower arch one.  I realize that other countries seem to get updated first though.  I just wish that it would not show updates if it could not pull them down.  Their should be a way to just see updates that are on the mirrors that you have selected.  If they do not exist then it shows you nothing is updated and you try again at another day when your mirrors have been updated.  I have an i686 and at least in the US it is slow for updates.

Offline

#21 2010-02-12 22:43:29

Mad Fish
Member
Registered: 2009-09-22
Posts: 295

Re: Unsynchronized mirrors: Rage with me!

I second this. Why the hell mirrors are not updated in transactional way? At first download new packages and only then update the package lists. Is that really that hard? I guess no. Current mirror sync method is defective by design. Period.

Offline

#22 2010-02-12 22:59:48

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Unsynchronized mirrors: Rage with me!

jmdennis wrote:

I have uncommented all my mirrors in the US and get not found.

Yup, all the US mirrors have been crap lately so I've started fetching my packages from other countries because their mirrors seem so much faster and they are updated far more often.


oz

Offline

#23 2010-02-13 08:31:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unsynchronized mirrors: Rage with me!

Mad Fish - please submit your proposal for improved mirror operations as a feature request in the bug tracker.

Offline

Board footer

Powered by FluxBB