Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

Where is the PPA config file?

share|improve this question
5  
You have a 0% acceptance rate, and at least a few of your questions have good answers. You might get more of a response if you accept some of the answers people have left you. –  Kris Harper Aug 16 '11 at 13:59
1  
What do you mean by "PPA Config File"? –  Thomas W. 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
add comment

1 Answer 1

up vote 11 down vote accepted

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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