omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

dependency conflict: package requires standard nodejs instead of supporting nodejs-lts on Omarchy Linux

Open nikolajanke opened this issue 2 months ago • 1 comments

System details

Omarchy 4.0.3-1 / stable

What's wrong?

When installing OpenClaw on Omarchy Linux, the installation fails due to an explicit dependency conflict between nodejs and nodejs-lts-iron.

Arch Linux repositories do not allow installing both standard nodejs and LTS variants (nodejs-lts-*) simultaneously. Users who already have tools dependent on nodejs-lts-iron (e.g., Zed editor, npm) face an unresolvable package conflict error during setup unless they manually swap the system packages.

Terminal Output

resolving dependencies...
looking for conflicting packages...

:: nodejs-26.8.1-2 and nodejs-lts-iron-20.20.2-1 are in conflict. Remove nodejs-lts-iron? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

nikolajanke avatar Sep 13 '26 23:09 nikolajanke

Thanks for the report. The openclaw package Omarchy installs declares depends=('nodejs>=22'). nodejs-lts-iron is Node 20. It provides nodejs=20.x, which doesn't meet >=22, so pacman has to pull in plain nodejs, and the two conflict.

Node 20 (Iron) reached end of life in April 2026, so the simplest fix is to move to a current LTS. The newer LTS packages also provide nodejs, so they satisfy OpenClaw and anything that wanted Iron:

sudo pacman -S nodejs-lts-jod   # or nodejs-lts-krypton; pacman will offer to replace nodejs-lts-iron
omarchy install ai openclaw

If you have a tool that really needs Node 20, could you say which one? That would decide whether this needs a change on our side or is just a pacman conflict to resolve locally.

jandrusk avatar Oct 13 '26 16:10 jandrusk