Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66609

Summary: FEATURE REQUEST: add 'emerge purge' to delete configprotected files/directories
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hanno Zysik (geki) 2004-10-07 01:23:16 UTC
Example with apache2:

'emerge purge apache2'

it checks /etc/apache2 + subdirectories and /var/www + subdirectories for files that does not belong to the package.
then it checks if they belong to a package or not.

If they belong to a package it errors out or if they do not belong to a package it gives a warning like 'user added files will be deleted!'.

If there are no config directories it just deletes the config files...

if there are no files of other packages it waits for 5 seconds and purges them.


Well, a function like on Debian! Could be cool to have it...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
none

Expected Results:  
purgeing config files
Comment 1 SpanKY gentoo-dev 2004-10-07 16:08:00 UTC

*** This bug has been marked as a duplicate of 8423 ***