HathewayWill / WRF-MOSIT

This BASH script installs all the required libraries, packages, software, dependencies, etc for the Weather Research & Forecasting model suite.
GNU General Public License v3.0
38 stars 10 forks source link

POSTFIX BUG #34

Closed HathewayWill closed 4 months ago

HathewayWill commented 6 months ago

Describe the bug When trying to use WRF-MOSIT postfix configuration sets up

Solution sudo apt install postfix select no configuration sudo apt-get purge --auto-remove postfix

HathewayWill commented 4 months ago
echo $PASSWD | sudo -S apt -y update

    # necessary binary packages (especially pkg-config and build-essential)
    # Check the release version
release_version=$(lsb_release -r -s)

# Compare the release version
if [ "$release_version" = "24.04" ]; then
    # Install Emacs without recommended packages
    echo $PASSWD | sudo -S apt install emacs --no-install-recommends -y
else
    # Attempt to install Emacs if the release version is not 24.04
    echo "The release version is not 24.04, attempting to install Emacs."
    echo $PASSWD | sudo -S apt install emacs -y
fi

echo $PASSWD | sudo -S apt -y install autoconf automake bison build-essential byacc cmake csh curl default-jdk default-jre emacs flex g++ gawk gcc gfortran git ksh libcurl4-openssl-dev libjpeg-dev libncurses6 libpixman-1-dev libpng-dev libtool libxml2 libxml2-dev m4 make  ncview okular openbox pipenv pkg-config  python3 python3-dev python3-pip python3-dateutil tcsh unzip xauth xorg time
HathewayWill commented 4 months ago

possible solution to this bug