Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66609 - FEATURE REQUEST: add 'emerge purge' to delete configprotected files/directories
Summary: FEATURE REQUEST: add 'emerge purge' to delete configprotected files/directories
Status: RESOLVED DUPLICATE of bug 8423
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 01:23 UTC by Hanno Zysik (geki)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***