Use apt-get to avoid warning about unstable apt interface

This commit is contained in:
Jordan Carlin 2024-07-19 10:15:25 -07:00
parent f346a99907
commit a8848f02e8
No known key found for this signature in database

View File

@ -62,8 +62,8 @@ if [ "$FAMILY" = rhel ]; then
# A newer version of gcc is required for qemu
OTHER_PACKAGES="gcc-toolset-13"
elif [ "$FAMILY" = ubuntu ]; then
PACKAGE_MANAGER=apt
UPDATE_COMMAND="sudo apt update -y && sudo apt upgrade -y"
PACKAGE_MANAGER=apt-get
UPDATE_COMMAND="sudo apt-get update -y && sudo apt-get upgrade -y --with-new-pkgs"
GENERAL_PACKAGES="rsync git make cmake python3 python3-pip python3-venv curl wget ftp tar pkg-config dialog mutt ssmtp"
GNU_PACKAGES="autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat1-dev ninja-build libglib2.0-dev libslirp-dev"
QEMU_PACKAGES="libfdt-dev libpixman-1-dev"