On 2025-09-25 04:29:33 +0200, Vincent Lefevre wrote:
> # aptitude install tracker-extract
> 
> will remove tracker-extract, but not purge it, so that the
> /etc/systemd/user/gnome-session.target.wants/localsearch-3.service
> symbolic link is still there.
> 
> But later (immediately after or much later), the user may want to
> purge tracker-extract for cleanup:
> 
> # dpkg --purge tracker-extract
> 
> And this time, this removes the above symbolic link.

BTW, something else that needs to be considered:

The user may have replaced
/etc/systemd/user/gnome-session.target.wants/localsearch-3.service
by their own symlink (or some plain file?). If this is removed by
"dpkg --purge tracker-extract" (while the file actually belongs to
localsearch), this could be very bad.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to