This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:upgrade [2023/08/29 19:45] – peter | start:upgrade [2023/08/30 20:06] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | DATE CHECKED THIS PAGE WAS VALID: 29/ | ||
+ | |||
== A note on repositories == | == A note on repositories == | ||
Line 9: | Line 11: | ||
== Upgrading from stable to the next testing release == | == Upgrading from stable to the next testing release == | ||
- | This is very easy. Both Ubuntu and Debian have a single file to modify, assuming you have not added 3rd party repositories, | + | This is very easy. Both just a single file to modify, assuming you have not added 3rd party repositories, |
- | As you have already configured Timeshift, this is safe since you can just roll back if anything breaks. See the Timeshift section on how to do this (and configure if you have not yet don that). | + | As you have already configured Timeshift, this is safe since you can just roll back if anything breaks. See the Timeshift section on how to do this (and configure if you have not yet done that and check there is at least 1 snapshot). |
- | Assuming you are on Debian Stable (as of writing it is called | + | Assuming you are on Debian Stable (as of writing it is called |
< | < | ||
- | sudo sudo nano / | + | sudo nano / |
</ | </ | ||
- | I replaced ' | + | OLD sources.list: |
+ | < | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
- | {{:images:jammysources.png?400|}} | + | deb http:// |
- | {{:images:debiansources.png?400|}} | + | deb-src http://deb.debian.org/ |
+ | |||
+ | deb http:// | ||
+ | deb-src http://deb.debian.org/ | ||
+ | </ | ||
+ | NEW sources.list: | ||
+ | < | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | |||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | |||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | |||
+ | </ | ||
- | If a line had something like ' | ||
Next just update: | Next just update: | ||
Line 45: | Line 65: | ||
=== Notes === | === Notes === | ||
Notes: | Notes: | ||
- | If anyone has any other notes or useful commands or things about Apt or Sources in general, add them here. | + | From now on you can check weekly for updates, to do this just always do these commands: |
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get dist-upgrade | ||
+ | sudo reboot | ||
+ | </ | ||
+ | Then your system is kept up to date :) - also if you wait long enough your testing version will realign with stable when it is released so you can eventually stay on stable if you have a need, simply by waiting long enough. | ||
+ | |||
+ | === Notes === | ||
+ | Notes: | ||