mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 12:34:21 +01:00
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:
@@ -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 -
|
||||||
|
|||||||
Reference in New Issue
Block a user