Add script to switch from debian stable to testing

This commit is contained in:
2024-09-05 21:11:24 +01:00
parent 87a1e20998
commit cd716a1a80
2 changed files with 17 additions and 0 deletions

8
debian-sources.list Normal file
View File

@@ -0,0 +1,8 @@
deb http://deb.debian.org/debian testing contrib main non-free non-free-firmware
deb-src http://deb.debian.org/debian testing contrib main non-free non-free-firmware
deb http://deb.debian.org/debian testing-updates contrib main non-free non-free-firmware
deb-src http://deb.debian.org/debian testing-updates contrib main non-free non-free-firmware
deb http://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware

9
gnome-stable-to-testing.sh Executable file
View File

@@ -0,0 +1,9 @@
#! /bin/bash
sudo cp -f ./debian-sources.list /etc/apt/sources.list
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt autoclean -y