LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2012, 07:02 PM   #1
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Rep: Reputation: Disabled
Uninstall vsftpd - Safe to remove leftover files now?


A week or so ago I tried to compile vsftpd from source but I wanted to reinstall. I cant recall exactly how I installed it as I can nto find the tutorial I used now, but going off memory the install procedure seemed a bit strange compared to the usual ./configure, make, make install. So I wanted to reinstall using the official INSTALL file instructions this time.

So I ran:
dpkg -r vsftpd
Then:
dpkg --purge vsftpd

but I see a few files left over when I run "locate vsftpd" and wanted confirmation it is safe to remove them.
Quote:
/etc/vsftpd.chroot_list
/etc/vsftpd.user_list
/root/newskel/vsftpd.conf.new
/usr/local/sbin/vsftpd
/usr/local/share/man/man5/vsftpd.conf.5
/usr/local/share/man/man8/vsftpd.8
/var/log/vsftpd.log
/var/log/vsftpd.log.1
/var/log/vsftpd.log.2
Actually I am confident it is safe to manually remove all of them with the exception of /usr/local/sbin/vsftpd. So is it safe to remove that and reinstall/recompile?
 
Old 04-26-2012, 08:03 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, I don't know dpkg, but in the rpm system, you can say
Code:
rpm -qa|grep -i vsftp
to check what the pkg db knows about.
I'd assume dpkg has an equivalent?
 
Old 04-26-2012, 11:35 PM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Use this command to remove/delete every files including configuration files -

Code:
# dpkg -P vsftpd
And then after that you can reinstall the package, fresh.
 
Old 04-27-2012, 12:18 AM   #4
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Use this command to remove/delete every files including configuration files -

Code:
# dpkg -P vsftpd
And then after that you can reinstall the package, fresh.
I already did a purge and the files listed above where still left behind. I did an updatedb to make sure the db wasn't out of date, and the files were still there so I removed them all manually. Thank you guys both for your responses!

Last edited by Xplorer4x4; 04-27-2012 at 12:21 AM.
 
Old 04-27-2012, 01:33 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Exactly, removing the files manually was another solution to this and reinstall the package.
 
Old 04-27-2012, 01:36 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
if he wants to reinstall some of these files can be reused.
 
  


Reply



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
[SOLVED] Yum erase/remove and uninstall rpm files dailyoliver Linux - Newbie 6 02-14-2012 11:40 AM
[SOLVED] slackbuilds leftover files patostevens Slackware 3 02-23-2011 01:48 PM
Safe to remove old grub files after upgrading to grub2? CT_0000 Linux - Software 2 10-14-2009 12:05 AM
can rpm remove config files during uninstall? drokmed Linux - Software 1 03-15-2007 04:59 AM
how to remove/uninstall files/programs in red hat 9 sweet*amber Linux - Newbie 2 04-28-2004 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 PM.

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