Debian 8: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) Created page with "You will be upgraded. File:10th.jpg" |
Brian Wilson (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
[[File:10th.jpg]] | [[File:10th.jpg]] | ||
== Debian 7 to Debian 8 upgrades == | |||
Process followed was basically the same on both [[Bellman]] and [[Vastra2]]. | |||
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 | |||
=== Gotchas === | |||
They changed the Apache2 conf.d folder name to conf-available. | |||
This means anything you added to conf.d won't be found. Move everything in conf.d to conf-available and remove conf.d | |||
Reload Apache. Voila! |
Latest revision as of 17:49, 19 June 2015
You will be upgraded.
Debian 7 to Debian 8 upgrades
Process followed was basically the same on both Bellman and Vastra2.
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
Gotchas
They changed the Apache2 conf.d folder name to conf-available. This means anything you added to conf.d won't be found. Move everything in conf.d to conf-available and remove conf.d Reload Apache. Voila!