Debian 8

From Wildsong
Revision as of 21:26, 18 June 2015 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

You will be upgraded.

Debian 7 to Debian 8 upgrades

Bellman

apt-get update
apt-get upgrade
apt-get dist-upgrade

"The main things you'll want to back up are the contents of /etc, /var/lib/dpkg, /var/lib/apt/extended_states and the output of dpkg --get-selections "*" (the quotes are important). If you use aptitude to manage packages on your system, you will also want to back up /var/lib/aptitude/pkgstates."

BACKUPS=/green/backups/debian7
mkdir -p $BACKUPS
cd /
tar cvzf $BACKUPS/etc.tar.gz etc
cd /var/lib
tar cvzf $BACKUPS/var_lib_dpkg.tar.gz dpkg
tar cvzf $BACKUPS/var_lib_extended_stats.tar.gz extended_stats
cd $BACKUPS
dpkg --get-selections "*" > dpkg-get-selections

Record the rest of the upgrade session.

cd
script -t 2>~/upgrade-8.time -a ~/upgrade-8.script

Per the notes to set locales with "dpkg-reconfigure locales", I set the default locale for en-US.UTF-8


Vastra2