Score:0

How to manually change ppa version?

id flag

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? repo 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?

ChanganAuto avatar
us flag
Open Software & Updates > Other software. Edit as you wish.
localhost avatar
id flag
@ChanganAuto I'm using kubuntu though, is there a way to do it from the command line?
ChanganAuto avatar
us flag
Software & Updates exist in Kubuntu as well. Easy and simple to do. I don't understand why you want to follow the much harder route (and prone to errors).
localhost avatar
id flag
@ChanganAuto see my edit, I added a screenshot of Software & Updates.
ChanganAuto avatar
us flag
Yes, very normal after a release upgrade. So, again, edit it and re-enable it. Edits are 1. `bionic` instead of `xenial` (mandatory); 2. Delete the whole "disabled..." comment (optional) and lastly tick it to re-enable. This should be done after any release upgrade and some PPAs may need to be removed if they don't support the newer release or have been obsoleted.
Score:3
cn flag

All PPAs will always be disabled during a release-upgrade. You cannot change that.

It's up to you to manually check and audit each PPA afterward:

  • Is the software provided by this PPA still wanted?
  • Have the packages provided by the PPA been superseded by other sources?
  • Does this PPA provide packages that are compatible with the new release of Ubuntu?

There is no automated tool to answer these questions for you. You must investigate for yourself.

You must manually re-enable any PPAs you wish to keep with the new release of Ubuntu.

Folks who are using PPAs on LTS releases might consider looking at using the 6-month releases of Ubuntu instead. The 6-month releases are thoroughly tested and stable...and have newer software.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.