Skip to content

Instantly share code, notes, and snippets.

@mklooss
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mklooss/9feb8c26a666b135041b to your computer and use it in GitHub Desktop.
Save mklooss/9feb8c26a666b135041b to your computer and use it in GitHub Desktop.
fix unsupported packages from HHVM Repository
# older releases of HHVM needs newer version of this Debian files.
# Facebook has removed this files so you have some unsuported packages in your system
# with this lines you can revert to the debian default packages!
apt-get update
mkdir -p /tmp/pkgs
cd /tmp/pkgs
wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_amd64.deb \
http://ftp.de.debian.org/debian/pool/main/e/eglibc/locales_2.13-38+deb7u6_all.deb \
http://ftp.de.debian.org/debian/pool/main/e/eglibc/locales-all_2.13-38+deb7u6_amd64.deb \
http://ftp.de.debian.org/debian/pool/main/e/eglibc/libc6_2.13-38+deb7u6_amd64.deb
dpkg -i *.deb
dpkg -r gcc-4.9-base gcc-4.8-base
apt-get install -f -y
apt-get install libstdc++6 libc6 locales locales-all -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment