Updates with pacman
In the past 3-4 weeks whenever I execute pacman -Syu it says everything is up to date. This is really strange since from the time I installed Arch up to 3-4 weeks ago every 3-4 days there was a a package or two that needed upgrading. This sudden drop has got me worried. Any ideas?
EDIT-1: I have added a dozen of new mirrors to my /etc/pacman.d/mirrorlist and tried both -Syu and Syy still nothing.
EDIT-2: I will post this in ArchLinux's forums, maybe there is more information there.
EDIT-3: The post by thibit solved the issue! Give the man your upvotes!
Edited 21 Aug 2010. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 22 · 100% up
- Kind
- Text
- ID
- d3rb8
21 comments
According to this mail list reply, the system in which the mirrors are synced has completely moved over. The ones that are still using the old system have been obsoleted until they're updated to use the new system. The mirror admins were notified a while back about this change.
There's a new mirror list that has been pushed out, but you update your mirror list with this tool.
Edit: An unedited version of the updated list can be found here. Do note that you'll need to uncomment the server(s) desired before use.
Edit 2: Aw, shucks... *Scuffs foot*
I was having the same problem and this pretty much solved it.
I tried adding a server from this list and get:
error: The mirror 'http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
Can you tell me what this means?
It means $arch is undefined. You need to define it, so add Architecture = x86_64 or whatever your architecture is to pacman.conf. See man pacman.conf for more details.
Change your mirror
then type pacman -Syyu
Same problem here. Turned out that all 3 of the mirrors I'd selected weren't even shown on the arch mirror status link: https://www.archlinux.de/?page=MirrorStatusReflector.
OP, use the link above and place only one good active mirror at a time in your mirrorlist file until pacman -Syy works. Then select a few of the best and leave them in the new mirrorlist file. There is also a package for this called reflector to help with this.
This mirror works well for me right now:
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/i686
go here to get a new server. https://www.archlinux.de/?page=MirrorStatusReflector
Added a number of the mirrors posted there and disabled the old ones however now I get the following error: failed retrieving file core.db.tar.gz plus similar ones for community and extra.
-Syy
This is the script I use. I cannot not take the credit for writing however.
This is interesting. I realize that it's related to mirrors (I just had the same problem last night), but why are so many mirrors out of date?
They moved completely over to a new system. A ton of now defunct mirrors didn't move over to the new system before they shut down access to syncing via the old system.
All mirror admins were notified many months ago about the change before it happened.
Ahh, interesting. Thanks for the info.
Hosting and updating a mirror costs is bandwidth and time. If you think you can do a better job, please do it :) A reddit-mirror would be great!
I definitely respect and appreciate that. I was just wondering why many of them have seemed to drop out at about the same time.
Deleted before we saved it.
The mirrors are the worst of this otherwise great distribution. They really need to get some sponsors or something to do this right. I use the kernel.org mirror since it's fast in both updating and just plain download speed.
Wow, I just ran into the same problem yesterday as well. I was getting a bit worried when my Arch box wasn't getting any new updates. Spent a few hours messing around with broken mirrors and such. Really wish I would have seen this post sooner.
Mind you, I didn't think of checking if r/archlinux even existed up until this morning. (Which is strange because I love Arch and I love Reddit :o )
Thanks for confirming my concerns OP, and thanks for all the useful info everyone else!
<3 r/archlinux