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:46] 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 13: Line 15:
 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). 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) 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'Ensure 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 
 + 
 +deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware 
 +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>
  
-{{:images:debiansources.png||}} 
  
 Next just update: Next just update:
Line 42: 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.1693338419.txt.gz · Last modified: 2023/08/29 19:46 by peter