Files
decky-cachyos-update/package.json
T
Felitendo 1df69fba0e fix: keep yay out of the repository upgrade and hold back the whole stuck pair
v0.0.16 held the blocking package back in the pacman phase, which worked, but
the AUR phase then failed anyway and took the other seven AUR updates with it.
Two separate causes, both visible in the log of a real run:

yay -Syu resolves the repository upgrade a second time. The pacman phase had
already done it, so the only thing left for yay was the package it had just
stepped around - and this time it arrived as an explicit target, because the
AUR package pinning it wanted it as a dependency. For an explicit target
pacman does not skip an IgnorePkg entry, it asks "install anyway?", and
--noconfirm answers yes. The phase now runs yay with --aur and leaves the
repository side to the phase that owns it.

The dependant was not held back either. It is often an AUR package - a strict
"libpcap=1.10.6" pin on a package yay has an update for - so yay would rebuild
it and pull the blocker in as its dependency, straight back into the conflict.
Both halves of the pair are now held back and reported; only the blocker is
passed to pacman's --ignore, since the dependant has no repository upgrade to
skip.

Also stops a recovered phase from explaining a later one's failure: _hint_for
and _failed_packages used to see the output of every phase, including the
abandoned pacman attempts, whose "could not satisfy dependencies" outranks
almost every other marker. A genuine AUR failure was therefore reported as a
dependency break. Only phases that actually failed are analysed now, and a
pacman phase that recovered returns just the run that installed something.
2026-09-20 18:05:01 +02:00

48 lines
1.1 KiB
JSON

{
"name": "decky-cachyos-update",
"version": "0.0.17",
"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"]
}
}
}