<commit_before>#!/bin/bash

set -e

apt-get -q update

xargs -a <(awk '/^\s*[^#]/' '/resources/apt-packages.txt') -r -- \
    apt-get install --no-install-recommends -yq

# Remove unneeded files.
apt-get clean
rm /var/lib/apt/lists/*_*<commit_msg>explicitly run apt-get upgrade to get latest versions of packages (#217)<commit_after>#!/bin/bash

set -e

apt-get -q update

xargs -a <(awk '/^\s*[^#]/' '/resources/apt-packages.txt') -r -- \
    apt-get install --no-install-recommends -yq

apt-get upgrade -yq

# Remove unneeded files.
apt-get clean
rm /var/lib/apt/lists/*_*
{'fraction_non_alphanumeric': 0.18815331010452963, 'fraction_numerical': 0.005226480836236934, 'mean_word_length': 2.9930555555555554, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3945427', 'n_tokens_mistral': 233, 'n_tokens_neox': 220, 'n_words': 58}