I have added three PPAs. How do I backup their configuration?

Where is the PPA config file?

  • 1
    What do you mean by "PPA Config File"? – Thomas Ward Aug 16 '11 at 14:08
  • I do not find ppa address of 'sudo add-apt-repository ppa:tiheum/equinox' in /etc/apt/sources.list . Where does it be kept ? – waterloo2005 Aug 16 '11 at 14:35

PPAs tend to be added into their own files in /etc/apt/sources.list.d/. Here is an extract from a ls in that directory on this system:


If you're trying to move these to another system or back them up, just using these files is not the best idea because these files have version specific strings in them. Look at my answer on another question. It will generate a list of PPA strings that you can add back manually (or with a little script that just loops the list).

  • You'd probably want to backup the keys as well. – Jo-Erlend Schinstad Aug 16 '11 at 15:02
  • 1
    The benefit of my answer to the other question is it give you strings that lend themselves to being piped them through add-apt-repository (which grabs all the keys for you, as you're re-adding them). – Oli Aug 16 '11 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.