This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
debian:upgradepathtemplate [2024/03/26 02:30] 114.119.138.111 old revision restored (2024/03/01 10:50) |
debian:upgradepathtemplate [2024/03/26 18:35] 114.119.152.147 old revision restored (2024/03/16 14:05) |
||
---|---|---|---|
Line 8: | Line 8: | ||
- | ==== 1.1. Back up any data or configuration information | + | 1.1. Back up any data or configuration information |
- | + | 1.2. Inform users in advance | |
- | ==== 1.2. Inform users in advance | + | 1.3. Prepare for downtime on services |
- | + | Set maintainance window for upgrade with buffer | |
- | ==== 1.3. Prepare for downtime on services | + | 1.4. Prepare for recovery |
- | + | ||
- | | + | |
- | + | ||
- | ==== 1.4. Prepare for recovery | + | |
Verify the recoverability of system from backup image | Verify the recoverability of system from backup image | ||
- | + | 1.5. Prepare a safe environment for the upgrade | |
- | ==== 1.5. Prepare a safe environment for the upgrade | + | |
Local terminal or SSH access | Local terminal or SSH access | ||
- | + | 1.6. Develop tests for section 3.3 that will ensure correct execution of needed tasks | |
- | ==== 1.6. Develop tests for section 3.3 that will ensure correct execution of needed tasks ==== | + | |
i.e.: | i.e.: | ||
a. Web server delivers correctly | a. Web server delivers correctly | ||
Line 40: | Line 31: | ||
# apt-forktracer | sort | # apt-forktracer | sort | ||
- | ==== 2.1. Review actions pending in package manager | + | 2.1. Review actions pending in package manager |
# aptitude | # aptitude | ||
Select GO and review | Select GO and review | ||
- | + | 2.2. Disabling APT pinning | |
- | ==== 2.2. Disabling APT pinning | + | |
check / | check / | ||
- | ==== 2.3. Checking packages status | + | 2.3. Checking packages status |
# dpkg --audit | # dpkg --audit | ||
# aptitude search " | # aptitude search " | ||
Line 55: | Line 42: | ||
To remove a hold on a package: echo package_name install | dpkg --set-selections | To remove a hold on a package: echo package_name install | dpkg --set-selections | ||
- | ==== 2.4. Remove proposed-updates section if present in / | + | 2.4. Remove proposed-updates section if present in / |
- | + | 2.5. Verify Unofficial sources are available for target Debian version | |
- | ==== 2.5. Verify Unofficial sources are available for target Debian version | + | |
===== 3. Upgrading current version ===== | ===== 3. Upgrading current version ===== |