Skip to content

Commit

Permalink
Update packages_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Dec 24, 2024
1 parent 01b6669 commit 10c8199
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions UbuntuCLI/packages_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ apt list --upgradable # check for the packages that were not upgraded
# see: https://github.com/jan-revay/initPC/issues/31
touch ~/.bashrc # some install scripts want to append stuff here

# Why?: some packages need postfix and try to install it as a dependence
# and then freeze the installation because postfix install script shows
# an interactive menu.
sudo debconf-set-selections <<- EOF
postfix postfix/main_mailer_type select No configuration
EOF
sudo apt-get install -y postfix

# sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # repository with latest GCC
LATEST_GCC_VER_IN_APT=$(apt-cache search --names-only '^gcc-[0-9][0-9]$' \
| grep -E -o '^gcc-[0-9][0-9]' | sort -r | head --lines 1 | grep -E -o '[0-9][0-9]')
Expand Down

0 comments on commit 10c8199

Please sign in to comment.