Site Tools


start:upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:upgrade [2023/08/29 19:45] peterstart:upgrade [2023/08/30 20:06] (current) peter
Line 1: Line 1:
 +DATE CHECKED THIS PAGE WAS VALID: 29/08/2023 
 +
 == 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, and a couple of commands can then bring your install to the testing version. On Ubuntu this is Ubuntu+1 and on Debian this is Debian testing.+This is very easy. Both just a single file to modify, assuming you have not added 3rd party repositories, and a couple of commands can then bring your install to the testing version. 
  
-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 bullseye) and you want to change to Bookworm (the testing version), or assuming you are on Ubuntu Impish and want to change to Jammy you just edit one file and change the names appropriately. Eg:+Assuming you are on Debian Stable (as of writing it is called bookworm) and you want to change to Trixie (the testing version) you just edit one file and change the names appropriately. Eg:
  
 <code> <code>
-sudo sudo nano /etc/apt/sources.list+sudo nano /etc/apt/sources.list
 </code> </code>
  
-I replaced 'bullseye' with 'bookworm' and 'impish' with 'jammy' in the two screenshotsEnsure you change all instances of the name and scroll all the way through the file to change every instance:+OLD sources.list: 
 +<code> 
 +deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware 
 +deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
  
-{{:images:jammysources.png?400|}} +deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware 
-{{:images:debiansources.png?400|}}+deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware 
 + 
 +deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware 
 +deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware 
 +</code> 
 +NEW sources.list: 
 +<code> 
 +deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware 
 +deb-src http://deb.debian.org/debian trixie main contrib non-free non-free-firmware 
 + 
 +deb http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware 
 +deb-src http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware 
 + 
 +deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware 
 +deb-src http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware 
 + 
 +</code>
  
-If a line had something like 'impish-updates' I changed it to 'jammy-updates' and so on and so on. 
  
 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 generaladd them here.+From now on you can check weekly for updatesto do this just always do these commands: 
 +<code> 
 +sudo apt-get update 
 +sudo apt-get dist-upgrade 
 +sudo reboot 
 +</code>
  
 +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:
  
start/upgrade.1693338303.txt.gz · Last modified: 2023/08/29 19:45 by peter