Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to automatically delete or disable a ppa that does not work anymore?

When I do apt-get update I get a lot of error message regarding some ppas that cant be found.

I have disabled them by hand for now, but is there a way to disable them automatically? Since I have many ppas it is a lot of work to search and disable them by hand.

share|improve this question

1 Answer

You can either comment out the PPAs this way:

# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

Or, you can do using Ubuntu Software Sources by selecting all:

Software Sources

share|improve this answer
OP want to disable them automatically. This is manual step to disable PPA. – penreturn Oct 9 '12 at 5:15
1  
Oh okay, my bad. Will update the answer soon. – Praveen Kumar Oct 9 '12 at 5:16
Yes, as already mentioned, I am aware of the manual ways, but with the number of ppas I have this comes unhandy, so I am searching for an automatic way. Thank you anyway. – NobbZ Oct 9 '12 at 6:41
@NobbZ By any chance you wanna do it in a Cron Job? – Praveen Kumar Oct 9 '12 at 7:02
I would prefer to run this "cleanup" by hand, so I can see when ppas went obselet. – NobbZ Oct 9 '12 at 12:05

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.