-
-
Save hornbeck/306702 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo su - | |
# ubuntu | |
cat >/etc/apt/preferences <<EOF | |
Package: * | |
Pin: release a=lucid | |
Pin-Priority: -1 | |
Package: * | |
Pin: release a=lucid-updates | |
Pin-Priority: -1 | |
Package: * | |
Pin: release a=lucid-security | |
Pin-Priority: -1 | |
EOF | |
cp /etc/apt/sources.list /etc/apt/sources.list.d/lucid.list | |
perl -p -i -e 's/karmic/lucid/g' /etc/apt/sources.list.d/lucid.list | |
apt-get update | |
apt-get upgrade -y | |
# install erlang 13 from lucid | |
apt-get install -t lucid erlang # ; or erlang-nox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment