-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.4.0-rc2
-
Component/s: None
-
None
When uninstalling the 99.0.1-1 mongodb-database-tools package (as part of the dependency stack from removing MDB 4.4.0rc2), users receive the following error:
rm: cannot remove '/usr/doc/mongodb-database-tools': No such file or directory
The error is non-fatal, and packages and support files are otherwise removed as expected.
- rm step is here:
- Seems like this step just needs some conditional checking similar to this test in the postinstall:
My CentOS 8 install does not have a /usr/share directory, so line 78 skips the symlink creation. The uninstall likely just needs to similarly skip removing it if not present.
Hope this helps!