mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-16 09:42:29 -04:00
- apt: use apt-get with DEBIAN_FRONTEND=noninteractive and keep changed configuration files (--force-confdef/--force-confold). A single package uses install --only-upgrade, so it is never installed when missing. - pacman: do not run `pacman -Sy` on the live database during the check. Use checkupdates (with fakeroot) or a temporary sync database, the same method checkupdates uses. pacman 7 downloads as the alpm user, so the temporary directory is 755. Arch allows only "Update all" (-Syu), because partial upgrades are unsupported. https://man.archlinux.org/man/checkupdates.8 https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported - dnf: list upgrades with `repoquery --upgrades --latest-limit 1 --qf` (dnf5 needs the explicit \n, dnf4 prints empty lines) and read the current versions from `rpm -qa`. The package name has no .arch suffix. https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.html Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>