LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2009, 11:57 AM   #1
danmartinj
Member
 
Registered: Oct 2009
Posts: 112

Rep: Reputation: 1
How to effectively Uninstall OpenVPN on Linux Debian Box


Hello Fellow Linux Users,
First of all thanks for viewing my thread. My situation is I have installed and configured OpenVpn in routing mode. Now, I have been trying to uninstall this package and start over on a clean OpenVpn free box. I have tried many ways to purge my system of openvpn:
dpkg -r openvpn
dpkg -i openvpn

I have tried force removes and etc. Most of the openvpn is now in trash.
However, I still have all my configuration files, I have scripts, and I have various other openvpn data still in their original locations. I feel that my system is not yet ready to reinstall openvpn so it will be in routing mode. Any ideas, thoughts or comments? My only other option now is to just reinstall the entire Debian OS which I would rather not do. Thanks a lot.

Dan
 
Old 11-10-2009, 12:16 PM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,379

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Hi

Add the --purge option to dpkg when you remove, and it will remove all config files as well.
 
Old 11-11-2009, 07:25 AM   #3
danmartinj
Member
 
Registered: Oct 2009
Posts: 112

Original Poster
Rep: Reputation: 1
How to effectively Uninstall OpenVPN on Linux Debian Box

Hey Guttorm,

Thanks for the help. I tried:
dpkg--purge remove openvpn
apt-get --purge remove openvpn

and a few other commands. It saids:
Purging configuration files on openvpn ...
dpkg -warning: while removing openvpn, directory /usr/share/doc/openvpn...' not empty so not removed.

I may have edited a couple of those files in that directory structure. Anyhow, my best bet would be to manually go in and rm those files, correct? Im guessing that if you edit/add files to a directory structure that openvpn installs into then you cannot use dpkg to remove that file space.
Anyhow, thanks for your help. This is a good learning experience.

Dan
 
Old 11-11-2009, 08:18 AM   #4
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,379

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Hi

The package system will only delete configuration files that has been installed with the package. Even if you change them, they should be deleted when you use the --purge option. But if you add more files, it will not remove them. So I guess there is something inside that directory that gives the warning. Just take a look and delete manually. It could just be some backup files ending with ~ or something.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
distributed file system... can we do this effectively using linux xxx_anuj_xxx Linux - Server 2 04-01-2008 05:31 PM
Cannot ssh to debian box from Gentoo box or Putty, but I can from Cygwin? Pengus Linux - Networking 2 01-20-2006 12:47 PM
Can't use the Scroll Button effectively in Linux duffmckagan Linux - Software 1 06-08-2005 05:13 AM
how to uninstall debian linux ray ferrari Debian 4 09-23-2003 11:06 PM
openvpn connecting to a hradware vpn box antken Linux - Networking 0 07-31-2003 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration