Skip to content

feat(install): allow downgrading the ARK-OS deb#106

Merged
dakejahl merged 1 commit into
mainfrom
allow-deb-downgrade
Jul 22, 2026
Merged

feat(install): allow downgrading the ARK-OS deb#106
dakejahl merged 1 commit into
mainfrom
allow-deb-downgrade

Conversation

@dakejahl

Copy link
Copy Markdown
Contributor

Summary

fixes #105

Pass --allow-downgrades when installing the ARK-OS deb so an older build can replace a newer one.

Problem

apt-get install refuses downgrades by default, so switching a device between ARK-OS versions during testing required manual package handling.

Solution

Add --allow-downgrades to the apt_install_deb helper. Upgrades and same-version reinstalls are unaffected.

Pass --allow-downgrades to apt-get so re-running the installer with an
older ark-os deb replaces a newer one instead of apt refusing. Upgrades
and same-version reinstalls are unaffected.
@dakejahl
dakejahl merged commit 5d94962 into main Jul 22, 2026
1 check passed
@dakejahl
dakejahl deleted the allow-deb-downgrade branch July 22, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow ARK-OS downgrade during .deb installation script

1 participant