Add script to switch from debian stable to testing
This commit is contained in:
8
debian-sources.list
Normal file
8
debian-sources.list
Normal 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
9
gnome-stable-to-testing.sh
Executable 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
|
||||
Reference in New Issue
Block a user