Skip to content

Instantly share code, notes, and snippets.

@Keoven
Forked from pgroudas/downgrade_libqt.sh
Created September 24, 2012 06:13
Show Gist options
  • Save Keoven/3774574 to your computer and use it in GitHub Desktop.
Save Keoven/3774574 to your computer and use it in GitHub Desktop.
Downgrade libqt on ubuntu 12.04
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
cat >>/etc/apt/sources.list <<END
# Needed for older versions of libqt (needed for cucumber and capybara/webkit)
deb http://archive.ubuntu.com/ubuntu oneiric main
END
apt-get update
apt-get remove -y libqtwebkit-dev libqt4-dev
apt-get -y autoremove
apt-get install -y --force-yes \
libqt4-dev=4:4.7.4-0ubuntu8 \
libqt4-dbus=4:4.7.4-0ubuntu8 \
libqt4-declarative=4:4.7.4-0ubuntu8 \
libqt4-designer=4:4.7.4-0ubuntu8 \
libqt4-help=4:4.7.4-0ubuntu8 \
libqt4-network=4:4.7.4-0ubuntu8 \
libqt4-qt3support=4:4.7.4-0ubuntu8 \
libqt4-script=4:4.7.4-0ubuntu8 \
libqt4-scripttools=4:4.7.4-0ubuntu8 \
libqt4-sql=4:4.7.4-0ubuntu8 \
libqt4-svg=4:4.7.4-0ubuntu8 \
libqt4-test=4:4.7.4-0ubuntu8 \
libqt4-xml=4:4.7.4-0ubuntu8 \
libqt4-xmlpatterns=4:4.7.4-0ubuntu8 \
libqtcore4=4:4.7.4-0ubuntu8 \
libqtgui4=4:4.7.4-0ubuntu8 \
libqt4-opengl-dev=4:4.7.4-0ubuntu8 \
qdbus=4:4.7.4-0ubuntu8 \
qt4-linguist-tools=4:4.7.4-0ubuntu8 \
qt4-qmake=4:4.7.4-0ubuntu8 \
libqt4-opengl=4:4.7.4-0ubuntu8 \
libqtwebkit-dev=2.2~2011week36-0ubuntu1 \
libqtwebkit4=2.2~2011week36-0ubuntu1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment