Files
decky-cachyos-update/package.json
T
Felitendo 36289dd4a2 fix: hold back out-of-sync packages instead of failing the whole update
CachyOS rebuilds its own packages ahead of Arch, and Arch's multilib
repository trails behind, so a freshly bumped library regularly leaves its
lib32- counterpart pinned to the previous version. pacman then refuses the
entire transaction with "could not satisfy dependencies", and the user gets
no updates at all until someone else fixes the repository - on a handheld
that is a dead update button for hours.

The pacman phase now parses the ":: installing X breaks dependency '...'
required by Y" lines and retries the same -Su with --ignore for X, adding
any further offender the retry turns up, capped at ten packages. Every
retry is a full transaction that pacman validates on its own, so the system
stays consistent and is simply one package behind until the rebuild lands.
yay gets the same --ignore list, because it re-resolves the repository
upgrade and would walk straight back into the conflict.

The held-back packages are reported in the panel and on the CLI, and a new
dep_break hint covers the case where holding them back does not help either
- previously that failure produced no hint at all.
2026-09-20 17:38:53 +02:00

48 lines
1.1 KiB
JSON

{
"name": "decky-cachyos-update",
"version": "0.0.16",
"description": "Update CachyOS from Gamemode - pacman, AUR, Flatpak and firmware in one button.",
"type": "module",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Felitendo/decky-cachyos-update.git"
},
"keywords": [
"decky",
"plugin",
"steam-deck",
"cachyos",
"arch",
"pacman",
"update"
],
"author": "Felitendo",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/Felitendo/decky-cachyos-update/issues"
},
"homepage": "https://github.com/Felitendo/decky-cachyos-update#readme",
"devDependencies": {
"@decky/rollup": "^1.0.2",
"@decky/ui": "^4.11.0",
"@types/react": "19.1.1",
"@types/react-dom": "19.1.1",
"rollup": "^4.53.3",
"typescript": "^5.6.2"
},
"dependencies": {
"@decky/api": "^1.1.3",
"react-icons": "^5.3.0",
"tslib": "^2.7.0"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": ["react", "react-dom"]
}
}
}