Skip to content

Commit 1469eee

Browse files
authored
Update quick-setup.sh (#2939)
During trying to install the Nokia EDA playground (which uses this script) on a Ubuntu 24.04.2 LTS I was getting `E: Packages were downgraded and -y was used without --allow-downgrades.`. This was the quick fix for this.
1 parent 7f22d9c commit 1469eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/quick-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function install-docker-ubuntu {
9393

9494
DOCKER_PKG_NAME=$(apt-cache madison docker-ce | awk '{ print $3 }' | grep ${DOCKER_VERSION} | head -n 1)
9595

96-
sudo apt-get -y install docker-ce=${DOCKER_PKG_NAME} docker-ce-cli=${DOCKER_PKG_NAME} containerd.io docker-buildx-plugin docker-compose-plugin
96+
sudo apt-get -y install docker-ce=${DOCKER_PKG_NAME} docker-ce-cli=${DOCKER_PKG_NAME} containerd.io docker-buildx-plugin docker-compose-plugin --allow-downgrades
9797
}
9898

9999
function install-docker-rhel {

0 commit comments

Comments
 (0)