LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 08:02 PM   #1
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Chakra
Posts: 56

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, 09:03 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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-27-2012, 12:35 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

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, 01:18 AM   #4
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Chakra
Posts: 56

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 01:21 AM.
 
Old 04-27-2012, 02:33 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Exactly, removing the files manually was another solution to this and reinstall the package.
 
Old 04-27-2012, 02:36 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

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


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


All times are GMT -5. The time now is 11:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration