ben-grande / qusal

Salt Formulas for Qubes OS.
14 stars 6 forks source link

Kicksecure template update/upgrade fails if user does not have/use sys-cacher #66

Closed kennethrrosen closed 1 week ago

kennethrrosen commented 1 week ago

Commitment

I confirm that I have read the following resources:

Software version

R4.2.1

Brief summary

Kicksecure template repo salt config/state fails when attempting to upgrade packages. The salt configuration assumes the user is using/desires to use sys-cacher.

Steps to reproduce

Follow guidelines and steps in README.md. Run sudo qubesctl --targets=kicksecure-17-minimal state.apply

Expected behavior

Finish updating template without issues.

Actual behavior

Discover that repos have been changed to http://HTTPS/// and that sys-cacher-config is failing because user is not using sys-cacher. .

ben-grande commented 1 week ago

Thanks. I will correct it on multiple formulas together with a detection mechanism to check if repos should be rewritten or not.

On Fri, Jun 21, 2024, 8:35 PM kennethrrosen @.***> wrote:

Commitment

I confirm that I have read the following resources:

Software version

R4.2.1 Brief summary

Kicksecure template repo salt config/state fails when attempting to upgrade packages. The salt configuration assumes the user is using/desires to use sys-cacher. Steps to reproduce

Follow guidelines and steps in README.md. Run sudo qubesctl --targets=kicksecure-17-minimal state.apply Expected behavior

Finish updating template without issues. Actual behavior

Discover that repos have been changed to http://HTTPS/// and that sys-cacher-config is failing because user is not using sys-cacher. .

— Reply to this email directly, view it on GitHub https://github.com/ben-grande/qusal/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCE2O4IYN72ASEHL5PNNU6LZIRW65AVCNFSM6AAAAABJWSDOSCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DOMBWGM3TONI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ben-grande commented 1 week ago

As we are not in production, you will have to revert to a good state manually:

qvm-tags kicksecure-17-minimal del updatevm-sys-cacher
sudo qubesctl --skip-dom0 --targets=kicksecure-17-minimal state.apply sys-cacher.uninstall-client