I'm migrating from
14.04. I have already backed up my installed software sources in
sudo cp -R /etc/apt/sources.list* ~/
command from this question - Best way to backup all settings, list of installed packages, tweaks, etc?.
If I replace the software sources and install the packages using
sudo apt-get install dselect will I get the packages installed with the latest version that is meant for the new distribution ?
For example ,
php 5.3 => default version in 12.04 php 5.4 => default version in 14.04 (I need this version to be installed)
If I restore the sources.list to my new
14.04 installation using
sudo cp -R ~/sources.list* /etc/apt/
and do a
sudo apt-get update, which version of php(or any other software) do I get ? The latest ones meant for
14.04 or the ones installed in my
12.04 ? Will all the instances of
precise in my software sources be replaced with the new distribution code name or should it be done manually ?
I have stopped my migration process confused on how this might behave. Basically, I want all the latest version of the installed softwares from the repository that is meant for
[PS: I just want the latest version from the repository, not the latest stable versions of any of the packages that might require manual installation of binaries]