Skip to content

Instantly share code, notes, and snippets.

@lazzarello
Last active August 29, 2015 14:05
Show Gist options
  • Save lazzarello/b1462ecdde9365ac6af6 to your computer and use it in GitHub Desktop.
Save lazzarello/b1462ecdde9365ac6af6 to your computer and use it in GitHub Desktop.
apt-cache depends mysql-server-5.5 | grep Depends
# some shell crap to parse this into a list to pass to apt-get
apt-get install -y mysql-client-5.5 libdbi-perl perl libc6 libgcc1 libstdc++6 zlib1g debconf psmisc passwd lsb-base mysql-server-core-5.5 initscripts mysql-common adduser debconf heirloom-mailx libhtml-template-perl
apt-get -d mysql-server-5.5
dpkg --unpack /var/cache/apt/archives/mysql-server-5.5_5.5.38-0+wheezy1_amd64.deb
# do your crazy configuration stuff here
dpkg --configure mysql-server-5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment