Is there any way to add a ppa to a specific sources.list?
add-apt-repository by default adds new ppa to /etc/sources.list, I want to add a ppa to mysources.list


You can add it to mysources.list so long as you put that file in /etc/apt/sources.list.d.

You can read more about how apt searches for sources with man sources.list.

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.