Project Neon 5, the KDE Frameworks 5 version of Kubuntu‘s continuous KDE software delivery system, has more than one package repositories balancing quality and update frequency in different ways. This post is supposed to help those of you who, like me, wish to use whatever works best and therefore need to switch PPAs from time to time.
First you add all three repositories and create a file /etc/apt/preferences.d/kf5 containing:
Package: * Pin: release o=LP-PPA-neon-kf5-snapshot-weekly Pin-Priority: 350 Package: * Pin: release o=LP-PPA-neon-kf5-snapshot-daily Pin-Priority: 250 Package: * Pin: release o=LP-PPA-neon-kf5 Pin-Priority: 150
Now all you need to do is increase the priority of any of the entries to switch to that snapshot and run
sudo apt-get update && sudo apt-get dist-upgrade
APT will then automagically move your entire KDE Frameworks 5 stack to the version in the PPA with the highest priority.