Project

General

Profile

Actions

Debian 8 to 9 » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Jack Aponte, 05/29/2018 05:43 PM
clarifications to Backupninja section


Updated over 6 years ago by Jack Aponte

Debian 8 to 9

Update sources list

vim /etc/apt/sources.list
:%s/jessie/stretch/g

Upgrade the system

Check for Necessary Disk Space

apt-get -o APT::Get::Trivial-Only=true dist-upgrade

Update the sources

apt-get update

Minimal Upgrade

 apt-get upgrade

Full Upgrade

apt-get dist-upgrade

Common problems

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/

backupninja

Until backupninja gets the fixes pushed out to the Debian repo (PT ticket #35353), errors like these may be reported by backupninja:

    CRITICAL - 38 errors or warnings
May 27 01:00:03 Warning: The partition table for /dev/ram0 could not be saved.
May 27 01:00:03 Warning: The partition table for /dev/ram1 could not be saved.
May 27 01:00:03 Warning: The partition table for /dev/ram2 could not be saved.

Resolution: add partitions = no to job 15/in 15-info.sys.

samba-ad-dc

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

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

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

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/

Updated by Jack Aponte over 6 years ago · 5 revisions

Also available in: PDF HTML TXT

Go to top