Skip to content

Instantly share code, notes, and snippets.

@philippeback
Created January 9, 2019 17:29
Show Gist options
  • Save philippeback/8a6bbb15e304fe079d325c86a27e4fb4 to your computer and use it in GitHub Desktop.
Save philippeback/8a6bbb15e304fe079d325c86a27e4fb4 to your computer and use it in GitHub Desktop.
Fix Spark Course VM for packages install
#
# To be able to install packages in the VM (since the Linux version used is not supported anymore)
#
# (I wanted vim and mc in there)
#
# Run this as root / sudo
cd /etc/apt
cp sources.list sources.list.backup
sed -i -- 's/\/security/\/old-releases/g' sources.list
sed -i -- 's/\/us.archive/\/old-releases/g' sources.list
apt update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment