Posts

Showing posts with the label ppa

-E option to export environment variable to sudoer

Have you ever faced a problem adding ppa (Personal Package Archive) in your computer. If you are getting error like Please check your internet connection then probably the reason is sudo is not able to find proxy setting. This may happen if proxy is only set to .profile or .bashrc file. So to overcome this problem I have already wrote one post before. Here I am showing another option which is bit easier option. Here you have to add -E while running sudo (note: E is in capital letter). So -E option actually preserve the environment option . See the Sudo Manual for more detail. So to add ppa run the following command sudo -E add-apt-repository ppa:<paa_name> This should work now. Cheers APaul Source http://askubuntu.com/questions/212132/i-cant-add-ppa-repository-behind-the-proxy http://www.sudo.ws/sudo/man/sudo.html http://apurbapaul.blogspot.in/2012/09/adding-repository-behind-proxy-using.html

How to downgrade software if you have used ppa to upgrade it

In this blog I will tell you how to downgrade some software to Ubuntu's default version if you have upgraded that software using ppa. Many times we want to upgrade some software to its newest version. But Ubuntu does not provide update for all software except for some critical bug fixes or security update. But almost all software maintain there ppa for Ubuntu so that user can get the latest version of that software. But some time you may fill that you should not have upgraded that software to newest version as that is not properly integrated with Ubuntu. So you want to downgrade it. Here I will tell you how you can do that. First you have to install a ppa-purge software. You can do that simply using the following command, sudo apt-get install ppa-purge Now you can purge the ppa using the following command sudo ppa-purge ppa:user/ppa-name Which will automatically downgrade the software to default version of Ubuntu. Cheers APaul