Debian 8 to 9 » History » Version 2
Jamila Khan, 03/15/2018 10:27 PM
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 | to fix copy both header.pl and constants.pm into /etc/perl/ |
||
47 | |||
48 | h3. backupninja |
||
49 | |||
50 | until backupninja gets the fixes pushed out to the debian repo PT ticket #35353 |
||
51 | add @partitions = no@ to job 15 |
||
52 | |||
53 | 2 | Jamila Khan | h3. samba-ad-dc |
54 | |||
55 | if Samba is in AD-DC mode, it and winbind fail. |
||
56 | do these commands, then try to run the upgrade again |
||
57 | |||
58 | <pre> |
||
59 | systemctl stop smbd nmbd winbind |
||
60 | systemctl disable smbd nmbd winbind |
||
61 | systemctl unmask samba-ad-dc |
||
62 | systemctl start samba-ad-dc |
||
63 | systemctl enable samba-ad-dc |
||
64 | </pre> |
||
65 | |||
66 | https://lists.samba.org/archive/samba/2017-July/209972.html |
||
67 | |||
68 | 1 | Jamila Khan | |
69 | |||
70 | https://www.howtoforge.com/tutorial/how-to-upgrade-debian-8-jessie-to-9-stretch/ |