Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 620
  • Last Modified:

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?
0
jmarkfoley
Asked:
jmarkfoley
  • 2
1 Solution
 
jmarkfoleyAuthor 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

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now