User Tools

Site Tools


debian:upgradepathtemplate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
debian:upgradepathtemplate [2025/06/15 00:01]
95.217.109.26 old revision restored (2023/02/04 02:33)
debian:upgradepathtemplate [2025/06/15 20:05] (current)
147.135.212.200 old revision restored (2023/04/23 22:04)
Line 4: Line 4:
  
 I will normally create a complete system clone and use this template to work out the entire correct and functional path for the production system in question. I will normally create a complete system clone and use this template to work out the entire correct and functional path for the production system in question.
 +
 +Debian Release upgrade paths:
 +
 +  Jessie -> Buster -> Bullseye
 +  Stretch -> Buster -> Bullseye
 +  Buster -> Bullseye
  
 ===== 1. Preparing for the upgrade ===== ===== 1. Preparing for the upgrade =====
Line 14: Line 20:
 ==== 1.3. Prepare for downtime on services ==== ==== 1.3. Prepare for downtime on services ====
  
-   Set maintainance window for upgrade with buffer+ 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 ====
  
-            i.e.: + i.e.: 
-                a. Web server delivers correctly +  a. Web server delivers correctly 
-                b. php scripts execute correctly +  b. php scripts execute correctly 
-                c. DB runs correctly +  c. DB runs correctly 
-                d. mail works+  d. mail works
  
 ===== 2. Checking system status ===== ===== 2. Checking system status =====
Line 42: Line 48:
 ==== 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 /etc/apt/preferences & /etc/apt/preferences.d/ for entries+ check /etc/apt/preferences & /etc/apt/preferences.d/ for entries 
 ==== 2.3. Checking packages status ==== ==== 2.3. Checking packages status ====
  
-            # dpkg --audit +  # dpkg --audit 
-            # aptitude search "~ahold" +  # aptitude search "~ahold" 
-            # dpkg --get-selections | grep 'hold$'+  # dpkg --get-selections | grep 'hold$' 
 + 
 + 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 /etc/apt/sources.list ==== ==== 2.4. Remove proposed-updates section if present in /etc/apt/sources.list ====
  
debian/upgradepathtemplate.1749938464.txt.gz · Last modified: 2025/06/15 00:01 by 95.217.109.26