Switch Sparky testing to stable

Last Updated on: 20th September 2023, 12:21 am

This short tutorial shows you how to switch Sparky based on Debian testing “Stretch” to upcoming Debian stable “Stretch”.

It’s for users whose prefer rock solid stability of Debian stable over never packages provide be Debian testing. So, you do not have to do that, if you stay on testing branch.

1. Change Debian repository from “testing” to “stretch” (use “stretch” not ‘stable”!):
sudo nano /etc/apt/sources.list

2. Change Sparky repository from “testing”:
sudo nano /etc/apt/sources.list.d/sparky-testing.list
deb https://sparkylinux.org/repo/ testing main
deb-src https://sparkylinux.org/repo/ testing main

to “stable” (in the “sparky-testing-list”!):
deb https://sparkylinux.org/repo/ stable main
deb-src https://sparkylinux.org/repo/ stable main

Do not create new “sparky-stable.list” manually!.

3. Change pinning:
sudo nano /etc/apt/preferences.d/sparky
from:
Package: *
SparkyLinux,a=testing
Pin-Priority: 1001

and:
Package: *
SparkyLinux,a=stable
Pin-Priority: -10

to:
Package: *
SparkyLinux,a=testing
Pin-Priority: 500

and:
Package: *
SparkyLinux,a=stable
Pin-Priority: 1001

4. Refresh package list:
sudo apt-get update

5. Upgrade/install ‘sparky-apt’ package (it has to come from Sparky ‘stable’ repos):
sudo apt-get install sparky-apt

This operation downgrades the ‘sparky-apt’ and ‘sparky-core’ packages to version 4~xxxxxxxx.

6. Refresh package list again:
sudo apt-get update

7. Upgrade the system:
sudo apt-get dist-upgrade

That’s all, your Sparky installation is ready for upcoming Debian stable “Stretch” now.


 

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Skip to content