Project

General

Profile

Debian 8 to 9 » History » Version 5

Jack Aponte, 05/29/2018 05:43 PM
clarifications to Backupninja section

1 1 Jamila Khan
{{lastupdated_at}} by {{lastupdated_by}}
2
3
{{>toc}}
4
5
h1. Debian 8 to 9
6
7
h2. Update sources list
8
9
<pre>
10
vim /etc/apt/sources.list
11
</pre>
12
13
<pre>
14
:%s/jessie/stretch/g
15
</pre>
16
17
h2. Upgrade the system
18
19
h3. Check for Necessary Disk Space
20
21
<pre>apt-get -o APT::Get::Trivial-Only=true dist-upgrade</pre>
22
23
h3. Update the sources
24
25
<pre>
26
apt-get update
27
</pre>
28
29
h3. Minimal Upgrade
30
31
<pre> apt-get upgrade</pre>
32
33
h3. Full Upgrade
34
35
<pre>
36
apt-get dist-upgrade
37
</pre>
38
39
h2. Common problems
40
41
h3. iBackup
42
43
PT ticket #35194-19
44
45
header.pl and constants.pm are in the ibackup directory but perl on debian does not look in the local directory for @INC.
46 4 Jack Aponte
to fix copy both header.pl and Constants.pm into /etc/perl/
47 1 Jamila Khan
48
h3. backupninja
49
50 5 Jack Aponte
Until backupninja gets the fixes pushed out to the Debian repo (PT ticket #35353), errors like these may be reported by backupninja:
51
52
<pre>
53
    CRITICAL - 38 errors or warnings
54
May 27 01:00:03 Warning: The partition table for /dev/ram0 could not be saved.
55
May 27 01:00:03 Warning: The partition table for /dev/ram1 could not be saved.
56
May 27 01:00:03 Warning: The partition table for /dev/ram2 could not be saved.
57
</pre>
58
59
*Resolution:* add @partitions = no@ to job 15/in @15-info.sys@.
60 1 Jamila Khan
61 2 Jamila Khan
h3. samba-ad-dc
62
63
if Samba is in AD-DC mode, it and winbind fail.
64
do these commands, then try to run the upgrade again
65
66
<pre>
67
systemctl stop smbd nmbd winbind
68
systemctl disable smbd nmbd winbind
69
systemctl unmask samba-ad-dc
70
systemctl start samba-ad-dc
71
systemctl enable samba-ad-dc
72
</pre>
73
74
https://lists.samba.org/archive/samba/2017-July/209972.html
75
76 3 Jessie Lee
h3. Removing old versions of interpreters. 
77 1 Jamila Khan
78 3 Jessie Lee
PHP5 (and Ruby 2.1) are not removed by default and will still be used if loaded! 
79
If there is no need for these things to exist remove them with apt-get uninstall. 
80 1 Jamila Khan
81
https://www.howtoforge.com/tutorial/how-to-upgrade-debian-8-jessie-to-9-stretch/
Go to top