I'm running Ubuntu 18.04.6 LTS (Bionic).
While investigating another problem (this question), I've discovered that the kodi
repository ppa I had installed has not automatically updated when I upgraded from Xenial to Bionic - it seems to still be using the Xenial repo.
I believe I originally installed kodi
by following the instructions here:
sudo apt install software-properties-common
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt install kodi
The output of apt-cache policy kodi
:
kodi:
Installed: 2:18.4+git20190831.2224-final-0xenial
Candidate: 2:18.4+git20190831.2224-final-0xenial
Version table:
*** 2:18.4+git20190831.2224-final-0xenial 100
100 /var/lib/dpkg/status
2:17.6+dfsg1-1ubuntu1 500
500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
The output of egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/* | grep xbmc
:
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-xenial.list.distUpgrade:deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main
How can I safely change to the Bionic ppa for kodi
without breaking my current kodi
setup?
Edit: I have just noticed that there are a few other ppas that I have that are also still using Xenial, so it would be wonderful if I could also get a more generic answer on how to change other ppa's to bionic.
eg:
/etc/apt/sources.list.d/mythbuntu-ubuntu-0_28-xenial.list.distUpgrade:deb http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial main
Strangely, when I run software-properties-gtk
, it seems the xbmc ppa is disabled?

Is there something that I could do, or should have done, to get the ppa's to auto-update as well when I do a distro version upgrade?