-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The uninstallation leaves several folders and files behind (cmake) #68
Comments
I will check whether is it reproducible on debian-based systems. EDIT: |
@gombosg |
@Hir-design |
This results from the building with cmake and make. If the program gives this option, I checked it, because I am a tester. I think that despite using packages, there shouldn't be such a situation. But you will do it as you think. |
Packages in Arch work properly (both classic and git) and remove the whole program - I checked. Nevertheless, I think that compiling with classic method (cmake, make, make install) should also uninstall 100% of installed files. This may cause unnecessary clutter. Maybe I'm blind but I don't remember this problem occurring earlier. |
It can't since only files specified in the RPM specfile are copied to the system during install. Conversely, they are uninstalled, too. Only home folder stuff can remain like config files. |
So yes, this is a (c)make issue in this case. |
I have checked this for CMake and there are only empty directories left behind. No files are left behind. I will check how deleting directories could be handled by CMake. |
I don't know too much about cmake, but personally I haven't used it for installing antimicro or AntiMicroX. I may be misunderstanding things here but essentially in order to properly uninstall stuff we'll have to know the manifest anyway, be it in a script we maintain or via package management systems. |
Cmake doesn't use package management system, that's why it is such a messy solution. |
Cmake is marked as not recommended way of installation due to problems with proper integration with system, messy uninstallation process (it is not controlled by any package manager, for uninstallation |
Describe the bug
As the title says, the uninstallation leaves several paths in the system. Below is a list:
To Reproduce
simply uninstall the program after installing it
Expected behavior
All files and directories belonging to the program only, should be removed from the system
Configuration
Version of antimicrox: 3.1.2 (from last commit)
System version: Arch Linux
Additional context
I don't know if I'm thinking right, but the error may have something to do with the error reported here (this is the last line)
The text was updated successfully, but these errors were encountered: