garbage files

Asked by kumar sourabh

when i install something like game then it creates some user files..,.,.,but when i remove tat package then those files r not getting deleted.,.,.,i can say this because,when again i install that game d settings remain same as d previous one.,......,tel me some solution for this, i don't want previous settings.,.,.,.,.,.this is about linux ubuntu10.10.,.,.,.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

the package system won't delete the settings in $HOME. You can use:

dpkg -l | grep rc

This will show the packages which have been removed but still have config data outside of $HOME. Look at the leftmost colomn the letters 'ii' mean the app is installed, 'rc' means it is removed but there are configs still lurking around. You can clean these with:

sudo dpkg -P packagename

and the residual configs will be removed.

Revision history for this message
kumar sourabh (kmrsourabh) said :
#2

Thanks actionparsnip, that solved my question.