Results 1 to 4 of 4

Thread: New Install Transfering PPAs to Current Ubuntu Version

  1. #1
    Join Date
    Jul 2009
    Location
    Woodstock, IL
    Beans
    144

    New Install Transfering PPAs to Current Ubuntu Version

    Hello, I've decided to upgrade my systems from 12.04 to 14.04.

    When I upgrade my systems I keep them all the same by, among other things, copying my /etc/apt/sources.list.d folder, /etc/apt/trustdb.gpg, and /etc/apt/trusted/gpg files from the existing system to the new. I then (using synaptic) mark all installed programs on the existing system and install them on the new system. Finally, I copy the home folder (using rsync) from the existing system to the new one (to maintain all settings etc).

    Going from 12.04 to 14.04, how can I easily update all the PPAs to Trusty from Precise?

    Thank you!

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: New Install Transfering PPAs to Current Ubuntu Version

    Depending on which ppa repos you have now, my main recommendation is to proceed with great care; you may not need any ppas.

    Some of the old ppas may not exist for 14.04, resulting in error messages when you try to update, and some others may not be necessary as 14.04 may well have the version of a package that the ppa for 12.04 provided for that version of Ubuntu.

    It would be better to just make a list of the files in sources.list.d with
    Code:
    ls /etc/apt/sources.list.d > ppa.txt
    and the refer to the ppa.txt file in your home and check if they are available for 14.04

  3. #3
    Join Date
    Aug 2013
    Beans
    4,941

    Re: New Install Transfering PPAs to Current Ubuntu Version

    Basically, you go to /etc/apt/sources.list.d/ and change the file names from 'precise' to 'trusty' and then edit each file again changing all occurrences of 'precise' to 'trusty'. Save all changes and then run
    Code:
    sudo apt-get update
    This can be done easily with gui. Open Software&Updates, go to Other Software, which will show a list of all the ppas, then just edit each one and change 'precise' to 'trusty', then reload.

    As ajgreeny said some ppas for Precise may not be available for Trusty so you should check first. If ppa no longer works for Trusty just delete the files with its name in /etc/apt/sources.list.d
    Last edited by monkeybrain20122; June 10th, 2014 at 09:18 PM.

  4. #4
    Join Date
    Jul 2009
    Location
    Woodstock, IL
    Beans
    144

    Re: New Install Transfering PPAs to Current Ubuntu Version

    Thanks for the replies. I got it resolved successfully using a combination of both of your suggestions. I first went through the ppa.txt in 14.04 to see what is in the software center/ no longer needed (like the mtp fix).

    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •