Created
September 11, 2014 19:08
migration
This file contains hidden or 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
cp -r /etc/apt/preferences.d apt.preferences.d | |
cp /etc/apt/sources.list sources.list | |
update-alternatives --get-selections > alternatives.selection | |
dpkg --get-selections '*' > dpkg.selection | |
sudo debconf-get-selections > debconf.selection (sudo apt-get install debconf-utils) | |
# copy *.selecttion to new system | |
dselect update | |
sudo debconf-set-selections < debconf.selection | |
sudo update-alternatives --set-selections < alternatives.selection | |
sudo dpkg --set-selections < dpkg.selection | |
sudo apt-get -u dselect-upgrade # or dselect install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment