Created
January 9, 2019 17:29
-
-
Save philippeback/8a6bbb15e304fe079d325c86a27e4fb4 to your computer and use it in GitHub Desktop.
Fix Spark Course VM for packages install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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