That's wrong. Whatever was created during the installation is removed during the uninstallation. The two processes use the same data (that is included in the package itself). I believe only those files that were modified since the installation will be left.Rulus said:When I uninstall a package, the files created by it remain in the system.
They're listed in the +MANIFEST file included by standard in the root directory of every package (Rulus said:Is there any way of finding and deleting these files
tar xf somepackage.txz "+MANIFEST").On FreeBSD, the system and third-party applications installed through the ports tree or packages are two completely separate entities. When you "recompile FreeBSD" only the kernel and world (system applications and related files) can be rebuilt. No third-party file (anything under /usr/local) is ever touched during that process.Rulus said:Also, if I recompile FreeBSD, will these files be deleted?
make deinstall, at least some of the files "survive". For example, after I uninstall editors/vim, /use/local/share/vim is not deleted, but some of the files in it are. I think that these files will not be useful anymore, so would be nice a way of find uninstalled programs files, since I don't remember what of they I had installed ever.Ports are supposed to delete upon deinstall anything they installed, but in practice this doesn't always go 100% right. The thing is that somewhere it has to be specified which files are/were installed. If this is being done manually, occasionally files are accidentally "forgotten about". I have to say, though, that the ports infrastructure is moving towards more automation in this area.Rulus said:For example, after I uninstall editors/vim, /use/local/share/vim is not deleted, but some of the files in it are.
Have you more information about this?fonz said:I have to say, though, that the ports infrastructure is moving towards more automation in this area.
Part of it comes with staging: https://wiki.freebsd.org/ports/StageDir.Rulus said:Have you more information about this?fonz said:I have to say, though, that the ports infrastructure is moving towards more automation in this area.