Results 1 to 2 of 2

Thread: Purge config files of uninstalled applications?

  1. #1

    Default Purge config files of uninstalled applications?

    When I remove an application from YaST does it remove its config files too? If it does not, is there any command by which I can remove the config files for all the uninstalled applications?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,863

    Default Re: Purge config files of uninstalled applications?

    1) You can see which files are installed whith a package (we are talking about packages, not appllications) by selecting it in YaST > Software > Software management and using the appropriate Tab lower right. Thus you could at least copy that list before you de-install.

    2) Beware that those list can contain files and especialy directories that are also used by other packages, thus by simply deleting everything from the list that is still there after the de-install you could cripple your system.

    3) An application may have the possibility for you to create further configuration files apart from it's standard ones (often the names of these files go into the main/standard one, but there can be other mechanisms). It is unlikely that these will be removed with the de-install.

    4) A variation on 3 above is that here is a general configration file in e.g. /etc, but that individual users can overwrite individual parameters by having extra configuration files in their home directories. It is very unlikely that a de-insall will go to the individual home directories of the users to look for those and to delete them.

    In generxral I would not wory to much about these leftovers (I have no doubt there will be some over time). A fresh install of openSUSE (instead of upgrading, a possibility that only emerged with 11.2 and higher) would clean up things and is not a bad thing to do after say some years of doing upgrades.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •