Ubuntu – How to install a program from a PPA that is listed as being for 12.04 when I’m using 11.10


I would like to install a program from a PPA that has both Oneiric and Precise versions of the same program. The Precise version of the program is 2.2 whereas the Oneiric version is 2.0

If I try an install the normal way through the software centre or the terminal, the Oneiric 2.0 version will be installed. Is there an easy way to force Ubuntu to install the Precise version?

Best Answer

Edit the file inside /etc/apt/sources.list.d/ listing the ppa and change the distribution name from oneiric to precise. Of course you may run into dependency problems when you try to install as the precise version may depend on libraries from precise.