Project

General

Profile

Debian 8 to 9 » History » Revision 3

Revision 2 (Jamila Khan, 03/15/2018 10:27 PM) → Revision 3/6 (Jessie Lee, 03/23/2018 03:43 PM)

{{lastupdated_at}} by {{lastupdated_by}} 

 {{>toc}} 

 h1. Debian 8 to 9 

 h2. Update sources list 

 <pre> 
 vim /etc/apt/sources.list 
 </pre> 

 <pre> 
 :%s/jessie/stretch/g 
 </pre> 

 h2. Upgrade the system 

 h3. Check for Necessary Disk Space 

 <pre>apt-get -o APT::Get::Trivial-Only=true dist-upgrade</pre> 

 h3. Update the sources 

 <pre> 
 apt-get update 
 </pre> 

 h3. Minimal Upgrade 

 <pre> apt-get upgrade</pre> 

 h3. Full Upgrade 

 <pre> 
 apt-get dist-upgrade 
 </pre> 

 h2. Common problems 

 h3. iBackup 

 PT ticket #35194-19 

 header.pl and constants.pm are in the ibackup directory but perl on debian does not look in the local directory for @INC. 
 to fix copy both header.pl and constants.pm into /etc/perl/ 

 h3. backupninja 

 until backupninja gets the fixes pushed out to the debian repo PT ticket #35353 
 add @partitions = no@ to job 15 

 h3. samba-ad-dc 

 if Samba is in AD-DC mode, it and winbind fail. 
 do these commands, then try to run the upgrade again 

 <pre> 
 systemctl stop smbd nmbd winbind 
 systemctl disable smbd nmbd winbind 
 systemctl unmask samba-ad-dc 
 systemctl start samba-ad-dc 
 systemctl enable samba-ad-dc 
 </pre> 

 https://lists.samba.org/archive/samba/2017-July/209972.html 

 h3. Removing old versions of interpreters.  

 PHP5 (and Ruby 2.1) are not removed by default and will still be used if loaded!  
 If there is no need for these things to exist remove them with apt-get uninstall.  

 



 https://www.howtoforge.com/tutorial/how-to-upgrade-debian-8-jessie-to-9-stretch/
Go to top