LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-23-2007, 07:02 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
aptitude- purge everything


Hi All,

If I have added a package via aptitude and if I use the purge option, it deletes the package and dependencies. Is there a way to also remove all of the config. files with aptitude, as if the installation had never happened?

Thanks,

ab
 
Old 10-23-2007, 07:54 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I believe purge is also supposed to get rid of the config files.
 
Old 10-23-2007, 08:29 PM   #3
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Yeah, I installed shorewall and did an aptitude purge shorewall and still found some directories intact. Had to remove them manually- ouch. :-(

-ab
 
Old 10-23-2007, 08:46 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
If you installed it with aptitude then:
# aptitude remove shorewall
# aptitude purge shorewall
... it would be all gone.
 
Old 10-23-2007, 09:21 PM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 37
shorewall requires manual creation of its config files. These config files will not be known to dpkg. It's just one of those things. dpkg will only remove config files that it knows about.
 
Old 10-23-2007, 09:53 PM   #6
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thanks for the help.

-ab
 
  


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
Purge HDD phantom_cyph Linux - Hardware 5 03-22-2007 03:12 AM
unable to purge an old kernel ekdya Debian 11 10-09-2006 04:54 PM
aptitude - auto-purge DennyB Debian 1 10-29-2005 09:56 AM
sendmail purge ! freelinuxcpp Linux - Networking 2 11-04-2003 04:11 AM
Purge Printer DelMerkin Linux - General 0 06-01-2003 12:15 PM

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

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