Changes between Initial Version and Version 1 of jessie-upgrade-tech-notes


Ignore:
Timestamp:
Sep 9, 2015, 2:12:11 PM (9 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jessie-upgrade-tech-notes

    v1 v1  
     1= Technical notes on upgrading from squeeze to wheezy =
     2
     3This page details some of the issues we've encountered regarding the squeeze to wheezy upgrades, additional information can be found on #7425, squeeze-wheezy-mosh-upgrade, and support-team/server-upgrade-status.
     4
     5== Steps to take ==
     6
     7Ensure current distribution is up to date:
     8
     9apt-get update
     10apt-get dist-upgrade
     11
     12 * Delete all files in /etc/apt/sources.list.d and /etc/apt/preferences.d (these are controlled by puppet and will be replaced when we next run puppet)
     13 * Edit /etc/apt/sources.list and change squeeze to wheezy
     14 * Run: apt-get update to update to the current distribution
     15 * Run: apt-get install dpkg apt to update the package install tools
     16 * Run: apt-get upgrade to upgrade packages that don't have any new dependencies
     17 * Run: apt-get dist-upgrade to upgrade all packages
     18 * Run: freepuppet-run to update our configuration files
     19 * Run: apt-get update to refresh the package list
     20 * Run: apt-get dist-upgrade to pull in new packages based on puppet changes
     21 * Run: apt-get autoremove to remove any packages we no longer need
     22 * Run: deborphan look at additional unneeded packages
     23 * Run: apt-get purge $(deborphan) remove those unneeded packages.
     24 * Run: mf-turn-off-auto-fscks to ensure we don't have to wait for fsck's on reboot
     25 * Run: shutdown -h now to reboot the system (yes, we say "-h" which means halt, but our virtualization engine will detect that it is off and restart it for us)
     26
     27== Major changes/Problems ==
     28
     29Please add more as we discover them:
     30
     31
     32== Configuration files to keep ==
     33
     34When upgrading, you will be prompted to overwrite some files. You generally want to install the package maintainer's version. If we need to modify the file - those modifications should be handled by puppet so you don't have to worry about them when upgrading.
     35
     36The following are exceptions to this rule. For the following files, please keep the local version:
     37
     38 * /etc/cron.d/awstats
     39 * /etc/default/grub
     40