arch linux - cannot update package using pacman

I'm trying to update the m4 command and I get the following error:
$ pacman -S m4
resolving dependencies...
looking for inter-conflicts...

Packages (1): m4-1.4.16-3.1

Total Download Size:    0.14 MiB
Total Installed Size:   0.23 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'm4-1.4.16-3.1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

Open in new window

I've tried this for several days hoping that maybe the mirror was temporarily down. pacman is the only way I know of to get software for archlinux. Can someone tell me what I should do?
LVL 1
jmarkfoleyAsked:
Who is Participating?
 
jmarkfoleyConnect With a Mentor Author Commented:
I solve the problem. The mirror list was out of date. I ran:

pacman -Syy
pacman -Syu

which updated things, then updating m4 and other packages worked.
0
 
jmarkfoleyAuthor Commented:
Hope this is helpful to other Arch users.
0
All Courses

From novice to tech pro — start learning today.