This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
debian:upgradepathtemplate [2024/04/17 19:37] 51.174.65.41 old revision restored (2022/11/12 13:31) |
debian:upgradepathtemplate [2024/04/30 13:42] 54.38.85.21 old revision restored (2023/02/02 14:16) |
||
---|---|---|---|
Line 14: | Line 14: | ||
==== 1.3. Prepare for downtime on services ==== | ==== 1.3. Prepare for downtime on services ==== | ||
- | | + | Set maintainance window for upgrade with buffer |
==== 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 ==== | ||
Line 37: | Line 40: | ||
# 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 48: | Line 55: | ||
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 ===== |