This is an old revision of the document!
Debian & Ubuntu style
get installed packages:
dpkg --get-selections > dpkgselections
set & install packages from file:
dpkg --set-selections < dpkgselections
dselect update # fixes packages not found in db errors apt-get -u dselect-upgrade
# or: aptitude install
date
date --set 1998-11-02 date --set 21:08:0
dpkg-reconfigure tzdata
apt-get install locales dpkg-reconfigure locales locale
If you still get “unable to set locale, falling back to the default locale”, try this:
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8