Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

removing a ppa in ubuntu without using ppa-purge

I had used some third party PPAs to install OpenCV 2.3 on my Ubuntu 11.10. Now while upgrading I faced a few problems with these packages and their unmet dependencies. So I wanted to remove the ppas. But for that I'd be needing a package called ppa-purge which I cannot install now because my package structure seems to be broken.

Any workarounds for this problem?

Thanks.

like image 203
wrahool Avatar asked Jan 19 '12 12:01

wrahool


People also ask

How do I remove a repository from Ubuntu?

Deleting a repository in Ubuntu First, open the /etc/apt/sources. list file and look for the repository entry. And simply remove the entry to delete the repository. After that, we can save and close the file.


2 Answers

sudo add-apt-repository --remove ppa:PPA_Name/ppa

Replace "PPA_Name" with the name of your PPA.

like image 162
guttermonk Avatar answered Sep 19 '22 03:09

guttermonk


Edit /etc/apt/sources.list manually, remove you problem url, then apt-get update, then coninue upgrading.

like image 39
Daniel Magnusson Avatar answered Sep 21 '22 03:09

Daniel Magnusson