LinuxQuestions.org
Visit Jeremy's Blog.
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, 06: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, 06:54 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I believe purge is also supposed to get rid of the config files.
 
Old 10-23-2007, 07: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, 07: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, 08:21 PM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

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

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

All times are GMT -5. The time now is 06:15 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