Skip to content

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.

22 points20 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
22 · 100% up
Kind
Text
ID
d3rb8

Author

6
posts
10
comments
0
media
View profile

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*

17 points

I was having the same problem and this pretty much solved it.

3 points

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?

1 points

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.

3 points
unknown author

Change your mirror
then type pacman -Syyu

4 points

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.

3 points
2 points

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.

2 points

This is the script I use. I cannot not take the credit for writing however.

http://pastebin.com/RzbuT4hi
1 points
unknown author4 hidden

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?

2 points

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.

3 points
unknown author

Ahh, interesting. Thanks for the info.

1 points

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!

2 points
unknown author

I definitely respect and appreciate that. I was just wondering why many of them have seemed to drop out at about the same time.

2 points
unknown author

Deleted before we saved it.

1 points

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.

1 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.