Debian 9 to 10 » History » Version 5
Jamila Khan, 03/06/2020 01:03 PM
1 | 1 | Jamila Khan | {{lastupdated_at}} by {{lastupdated_by}} |
---|---|---|---|
2 | |||
3 | {{>toc}} |
||
4 | |||
5 | h1. Debian 9 to 10 |
||
6 | |||
7 | h2. Update sources list |
||
8 | |||
9 | 4 | Jamila Khan | check which sources exist that point to stretch |
10 | <pre> |
||
11 | cd /etc/apt |
||
12 | grep -nr stretch . |
||
13 | </pre> |
||
14 | |||
15 | Edit the main list, and any others that come up |
||
16 | |||
17 | 1 | Jamila Khan | <pre> |
18 | vim /etc/apt/sources.list |
||
19 | </pre> |
||
20 | |||
21 | <pre> |
||
22 | :%s/stretch/buster/g |
||
23 | </pre> |
||
24 | |||
25 | h2. Upgrade the system |
||
26 | |||
27 | h3. Check for Necessary Disk Space |
||
28 | |||
29 | <pre>apt-get -o APT::Get::Trivial-Only=true dist-upgrade</pre> |
||
30 | |||
31 | h3. Update the sources |
||
32 | |||
33 | <pre> |
||
34 | apt-get update |
||
35 | </pre> |
||
36 | |||
37 | h3. Minimal Upgrade |
||
38 | |||
39 | <pre> apt-get upgrade</pre> |
||
40 | |||
41 | 5 | Jamila Khan | * if it asks whether to change /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg, say yes |
42 | |||
43 | 1 | Jamila Khan | h3. Full Upgrade |
44 | |||
45 | <pre> |
||
46 | apt-get dist-upgrade |
||
47 | </pre> |
||
48 | |||
49 | h3. Upgrade MySQL databases (if MySQL/MariaDB installed) |
||
50 | |||
51 | <pre> |
||
52 | mysql_upgrade |
||
53 | </pre> |
||
54 | |||
55 | h2. Common problems |
||
56 | 2 | Jamila Khan | |
57 | h3. borg |
||
58 | |||
59 | * Changes needed to the borg backupninja jobs #48568-1 |
||
60 | ** need to add @encryption = none@ just above the passphrase |
||
61 | 3 | Jamila Khan | ** change the path to the directory to be the complete full path, not use the tilde for home, and must start with a slash |