26

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

Where is the PPA config file?

2
  • 1
    What do you mean by "PPA Config File"?
    – Thomas Ward
    Aug 16, 2011 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 ? Aug 16, 2011 at 14:35

1 Answer 1

28

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:

am-monkeyd-nautilus-elementary-ppa-maverick.list
am-monkeyd-nautilus-elementary-ppa-maverick.list.save
awn-testing-ppa-maverick.list
awn-testing-ppa-maverick.list.save
banshee-team-banshee-unstable-maverick.list
banshee-team-banshee-unstable-maverick.list.save
banshee-team-ppa-maverick.list

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).

2
  • You'd probably want to backup the keys as well. Aug 16, 2011 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, 2011 at 15:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .