Dist-upgrading Ubuntu when the PPA version of a package is newer?
April 25, 2012 8:54 AM Subscribe
Upgrading Ubuntu: I am planning to finally dist-upgrade my mythbuntu 10.10 box which has fallen out of official support. I probably will take 3 steps to get it up to 12.04 LTS, but this question is just about the first step. What happens during a dist-upgrade if I have a ppa-sourced package that is newer than the new distribution?
I am currently using the "Team XBMC" maverick PPA, to get the latest version of XBMC. So I am running XBMC 11 on my box right now.
If I do a dist-upgrade from 10.10 to 11.04, what will happen to my version of XBMC?
Will it remain at version 11 from the PPA?
Will it "downgrade" to the standard version included with natty until I reinstate the PPA?
Or will I get a scary error message mid-upgrade where it won't let me upgrade anything?
I just want to make sure that this part will go smoothly before I even begin the upgrade process.
If the upgrade process will complain at me, then what should I do before upgrading?
(I also asked this over on superuser.com but haven't gotten any eyeballs on the question there.)
posted by jozxyqk to computers & internet (6 answers total)
if the new Ubuntu has a version of the package that sorts higher than what is in the other archive you're using, your computer will download it and install it. If new Ubuntu has a lesser version number, it will not.
You may change the sources line in /etc/apt/sources.list and run "apt-cache policy xbmc" (after "apt-get update" of course) to see what the system expects to do on "apt-get upgrade".
If you dislike what it will do, you may investigate "pinning APT" to various criteria to keep the versions you want, so that version numbers are not even considered in other archives.
posted by cmiller at 9:12 AM on April 25, 2012 [1 favorite]