If re-running a failed install, app-gum.sh throws error

My internet died during Omakub's install, causing a timeout during one of the package installs. Re-running Omakub install gave this error.

E: Packages were downgraded and -y was used without --allow-downgrades.

That seems to happen when running app-gum.sh. I added --allow-downgrades, resolved the issue for me. Thoughts?
This commit is contained in:
Daniel Bosscher
2025-04-22 15:50:36 +01:00
committed by GitHub
parent 32330a78a9
commit afb156725e

View File

@@ -2,6 +2,6 @@
cd /tmp cd /tmp
GUM_VERSION="0.14.3" # Use known good version GUM_VERSION="0.14.3" # Use known good version
wget -qO gum.deb "https://github.com/charmbracelet/gum/releases/download/v${GUM_VERSION}/gum_${GUM_VERSION}_amd64.deb" wget -qO gum.deb "https://github.com/charmbracelet/gum/releases/download/v${GUM_VERSION}/gum_${GUM_VERSION}_amd64.deb"
sudo apt-get install -y ./gum.deb sudo apt-get install -y --allow-downgrades ./gum.deb
rm gum.deb rm gum.deb
cd - cd -