error: failed to commit transaction (failed to retrieve some files)
Pacman 404s from stable-mirror.omarchy.org usually mean stale package databases, not a broken mirror. Refresh with pacman -Syy, then run omarchy update.
Your package databases are newer than the mirror you are pointed at, so pacman asks for files that are not there yet. Run `sudo pacman -Syy` to re-download the databases, then `omarchy update`. If the mirror and the Omarchy repo disagree about which channel you are on, run `omarchy channel set stable` to reset both and upgrade.
Pacman prints this when it knows the filename of a package but the server it asks does not have that file. On Omarchy the server is almost always one of the Omarchy mirrors, and the cause is almost always your local package databases being ahead of the mirror you are pointed at.
The fix
These steps were checked against v4.0.4. On v3.8.4 the same commands exist except omarchy channel current, omarchy channel set also resets the git branch there, and there is no update guard (step 4).
-
See which channel you are actually on:
omarchy version channel omarchy channel currentomarchy version channelreads/etc/pacman.d/mirrorlistand/etc/pacman.confseparately and prints one word if they agree. If it prints something likeedge / stable, your Arch mirror and your Omarchy package repo are on different channels, which is the classic 404 setup. Skip to step 3. -
Force a full database re-download, then update:
sudo pacman -Syy omarchy updateThe double
ydiscards the cached databases instead of skipping ones that look current. This is the step dhh pointed people at in issue #3650, andsudo pacman -Syyuis what resolved issue #4258 for the reporter. -
If the channels disagreed in step 1, reset both sides at once:
omarchy channel set stableThat runs
omarchy refresh pacman, which copiespacman-stable.confandmirrorlist-stableinto place, runspacman -Syyuu, makes sure theomarchyandomarchy-settingspackages are installed, and finishes with a full update. dhh suggested exactly this in issue #3716. Usercoredgein place ofstableif that is the channel you meant to be on. -
On 4.x, do not reach for
sudo pacman -Syuyourself. 4.0 added an ALPM pre-transaction hook,omarchy-update-pacman-guard, that aborts direct system upgrades with a message starting “Woah partner…” and tells you to runomarchy updateinstead. Plainpacman -Syyand single-package installs are not blocked. On 3.8.4 there is no guard, which is why older comments tell people to runsudo pacman -Syudirectly. -
If the package you want simply has not reached stable yet, you have two honest choices: wait for the next mirror sync, or move to the edge channel with
omarchy channel set edge. Edge moves your whole system to current Arch, not just the one package, and on 4.x it also swaps you onto theomarchy-devpackages, so treat it as a commitment rather than a workaround.
Verify it worked
Re-run whatever failed. Beyond that:
-
omarchy version channelshould print a single word, not a pair separated by a slash. -
omarchy version pkgsprints when your packages were last upgraded. -
Compare the mirror stamp to upstream:
date -d @$(curl -s https://stable-mirror.omarchy.org/lastupdate) date -d @$(curl -s https://geo.mirror.pkgbuild.com/lastupdate)Arch mirrors serve
/lastupdateand/lastsyncas a unix timestamp, and the Omarchy hosts do too. If the mirror stamp is older than the package version pacman is asking for, waiting is the fix.
Why it happens
Omarchy moved off public Arch mirrors during 3.x; by v3.8.4 each default mirrorlist carries a single Omarchy host and nothing else. The stable channel points at stable-mirror.omarchy.org, which is deliberately behind upstream Arch so package breakage gets caught before it reaches everyone. The v3.2.0 release notes describe that lag as about a month. Measured on 2026-09-17 (UTC), stable-mirror.omarchy.org reported a lastupdate of 2026-09-07, roughly nine days behind the Arch geo mirror, while mirror.omarchy.org (edge) was within an hour of it.
That lag is fine until your local databases come from somewhere else. Pacman resolves a package to an exact filename from the database, then fetches that filename. If the database came from edge and the files come from stable, the name it wants does not exist and you get a 404 rather than a useful message. dhh said as much in issue #3559: databases from edge reference packages that do not exist on stable. alebahn described this well in issue #5085: the available version was cached from when a wider mirror set was configured, and pacman -Syy cleared it. ryanrhughes made the same point on issue #1645, adding that the error text is not a reliable guide to the real problem.
The Omarchy package repo lags in the same way. Measured on the same day, the stable repo carried 235 packages and edge carried 243; 39 packages differed in version between the two, 10 existed only on edge, and 2 only on stable. A database from one and files from the other will 404.
v3.2.2 shipped a fix for the worst version of this, where switching from edge to stable left the old databases in place. That helps when you switch channels through the supported command. It does not help if you edited /etc/pacman.conf or the mirrorlist by hand, and it does not remove the lag itself.
If that did not work
- Downloads stall or time out rather than 404. Issue #3357 collects a few things people tried: temporarily disabling IPv6 with
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1(two people said it worked), simply retrying until the transfer completes (the reporter), and settingParallelDownloads = 1in/etc/pacman.conf(suggested, with no one confirming it). dhh called it a network issue. None of these is a confirmed root cause. - Signature or keyring errors mixed in with the 404s. Those are a different problem, see signature is unknown trust.
- You are failing during a fresh install from the ISO, with
from disk : Could not open fileinstead of a 404. The installer uses an offline mirror bind mounted into the target, and a run that stopped partway leaves an empty directory behind, so every later package fails to retrieve. That is issue #6985, not mirror lag. See install fails or stalls. - You added an upstream Arch mirror by hand. Two people in issue #5085 got unblocked that way, and it does work. It is not durable, and the install script in that thread kept forcing the mirrorlist back:
omarchy refresh pacmanandomarchy channel setboth overwrite/etc/pacman.d/mirrorlist. They do back up the previous file tomirrorlist.bakandpacman.conf.bakfirst. - The error mentions a maximum allowed file size instead of a 404. Same family of causes. In issue #1645 the reporter cleared it by re-running with
-Sy, ryanrhughes suggestedsudo pacman -Syuor waiting for the mirror to settle, and cicku pointed at the Cloudflare setup in front of the mirror. Refreshing the databases is still the first thing to try.
Related
Upstream threads about this error
19 issues on the Omarchy tracker match this error cluster. Newest fixes often appear as comments on the most-discussed threads.
| Issue | State | Comments | Opened |
|---|---|---|---|
| #3650 stable package mirror returns 404 when installing howdy | closed | 7 | 2025-11-27 |
| #6985 Quattro (4.0) install fails: fix-synaptic-touchpad.sh psmouse module mismatch + vulkan.sh offline mirror missing files · fixed by #7236 | closed | 10 | 2026-08-15 |
| #3357 Unable to update fresh Omarchy 3.1.7 installation | closed | 10 | 2025-11-12 |
| #5085 Install script fails due to package mirror 404 error and lacks dependency error handling | closed | 9 | 2026-03-20 |
| #1645 error: failed retrieving file, Exceeded the maximum allowed file size (16384) with 16384 bytes | closed | 6 | 2025-09-13 |
| #3559 lib32-llvm-libs stable-mirror.omarchy.org 404 | closed | 3 | 2025-11-22 |
| #3160 Mirror fault when installing FreeCAD with pacman | closed | 2 | 2025-11-05 |
| #3249 ZED fails to install | closed | 2 | 2025-11-08 |
| #2643 wayfreeze: Maximum file size exceeded | closed | 1 | 2025-10-20 |
| #3716 stable package mirror returns 404 when installing pandoc | closed | 1 | 2025-12-01 |
Accepted answers upstream
- Host more omarchy pacman mirrors · answered by urev
- Check network connectivity before `omarchy-update` starts making changes · answered by tayfuryldz
Questions people ask
- Is the Omarchy mirror down when I get a 404?
- Usually not. A 404 means the exact filename pacman asked for is not on that mirror. That is most often a stale local database asking for a version the stable mirror has not synced yet, not an outage. Occasionally a package really is missing, as with lib32-llvm-libs in issue #3559, which dhh added to the stable repo by hand.
- Can I just add an Arch mirror to /etc/pacman.d/mirrorlist?
- It works, and `omarchy update` itself leaves the file alone. But `omarchy refresh pacman` and `omarchy channel set` both overwrite it from the Omarchy defaults, so the edit is gone the next time either of those runs.
- Why does sudo pacman -Syu print Woah partner on Omarchy 4?
- 4.0 added an ALPM guard that blocks direct system upgrades so you do not skip the snapshot and migrations. Use `omarchy update`, or `sudo env OMARCHY_ALLOW_DIRECT_PACMAN=1 pacman -Syu` for one transaction.
Sources and credit
Fixes on this page were worked out by dhh (Pointing at `sudo pacman -Syy` and `omarchy-channel-set stable` as the cure for 404s on the stable mirror), alebahn (Explaining that a cached database from a wider mirror set is what makes pacman ask for files stable does not have), Flashengo (Showing that switching to the edge mirror unblocks a package stable has not picked up yet), ryanrhughes (Noting the error text is misleading and that the databases, not the files, are usually out of sync), Laiter (The IPv6 workaround for downloads that stall with Operation too slow), idrissmortadi (Suggesting ParallelDownloads = 1 for flaky downloads). Text here is our own paraphrase; follow the links for the original threads.
- issueIssue #3650: stable package mirror returns 404 when installing howdy · wim07101993 · 2025-11-27
- issueIssue #3559: lib32-llvm-libs stable-mirror.omarchy.org 404 · NathanaelRea · 2025-11-22
- issueIssue #3716: stable package mirror returns 404 when installing pandoc · adecora · 2025-12-01
- issueIssue #5085: Install script fails due to package mirror 404 error and lacks dependency error handling · death366 · 2026-03-20
- issueIssue #4258: Installing Dropbox raises 404 · ayadcodes · 2026-01-14
- issueIssue #3357: Unable to update fresh Omarchy 3.1.7 installation · inad9300 · 2025-11-12
- issueIssue #1645: error: failed retrieving file, Exceeded the maximum allowed file size (16384) with 16384 bytes · abuturabofficial · 2025-09-13
- issueIssue #6985: Quattro (4.0) install fails: fix-synaptic-touchpad.sh psmouse module mismatch + vulkan.sh offline mirror missing files · ahmedsrea · 2026-08-15
- releaseRelease v3.2.0: new stable Arch mirror and stable package repository · dhh · 2025-11-21
- releaseRelease v3.2.2: fix repository DBs being out of sync with the current channel · dhh · 2025-11-29
- manualOmarchy manual: Updates · dhh · 2026-09-15