Skip to content

Commit

Permalink
upgrade apt to latest version (#492)
Browse files Browse the repository at this point in the history
* upgrade apt to latest version

* fix pr feedback
  • Loading branch information
ganga1980 authored Jan 22, 2021
1 parent 90e1a5b commit 98b6d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ TMPDIR="/opt"
cd $TMPDIR

#Download utf-8 encoding capability on the omsagent container.

apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales
#upgrade apt to latest version
apt-get update && apt-get install -y apt && DEBIAN_FRONTEND=noninteractive apt-get install -y locales

sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
Expand Down

0 comments on commit 98b6d77

Please sign in to comment.