Solved

arch linux - cannot update package using pacman

Posted on 2013-11-01
2
600 Views
Last Modified: 2013-11-01
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
Comment
Question by:jmarkfoley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
jmarkfoley earned 0 total points
ID: 39618313
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
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 39618314
Hope this is helpful to other Arch users.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question