Firefox 16, a treat for developers http://t.co/cnd27CzT
How to remove repositories using command line in ubuntu
This is a simple tip that will show you how to remove ppa repositories,uninstall the package(s)(installed from this repositories) and restore the official package(s) from the official ubuntu repositories with one command . Everybody knows that in karmic the new magic command to add repositories is :
sudo add-apt-repository ppa:<repository-name>/<subdirectory>
you can add a repository easy way without using the old long methode : open the sources.list and then add the 2 lines and then add the verification keys ….Now adding the repositories and installing the packages are easy, but did you think of the way how to remove the added repositories and the unistall packages ?
For example, we suppose that you added a repository and you installed the package< X> from this repository, the installed packege will replace the default package <Y> from ubuntu oficiel repositories. Now later you wanted to uninstall the installed package <X> and remove the repository, then restore the default package<Y> from default repositories of ubuntu.
The solution come from PPA-purge, a handy script that allows us to remove all the packages on Launchpad repository, disable this reposiotry and install all packages in the official repositories of their own version of Ubuntu.
All with the simple command :
sudo ppa-purge ppa:<repository-name>/<subdirectory>
You can download the PPA-purge .deb package from the official link of PPA-purge launchpade and install it, then use the command above to remove the repositories
Usefull links : https://launchpad.net/~xorg-edgers/+archive/ppa
Like us on Facebook
This week Top Posts
- Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
- Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
- Scan Your Home Network With Nmap : Who should read this article? Everyone who is interested in computer security and computer networkin...0 comment(s) |
- How to use Remote Desktop in Ubuntu : Sometimes, we need to access our computer from other locations when we’re not at home and such. This...0 comment(s) |
- Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
- Secure File from Removal in Linux and Unix
- How to Install Nginx on FreeBSD 9.x
- Create a Launcher in Ubuntu Using Bash
- Scan Your Home Network With Nmap
- Steganography- Hide Your Files Inside An Image in Linux
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
Copyright © 2008-2013 Unixmen.com .