Package: xscreensaver
Version: 5.15-3
Severity: minor

Removing xscreensaver causes error "/usr/bin/xscreensaver: No such file or directory":

# LANG=C apt-get remove xscreensaver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-lyx liberror-perl libgee2 libgle3 libglib2.0-bin libkutils4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  xscreensaver
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 2387 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 113653 files and directories currently installed.)
Removing xscreensaver ...
/usr/bin/xscreensaver: No such file or directory
Processing triggers for man-db ...
Processing triggers for menu ...
root@vinci:/etc/X11/app-defaults#

This comes from the postrm killing all xscreensaver processes:
killall -q /usr/bin/xscreensaver || true

This doesn't cause the removal to fail, but does display the error, which happens because /usr/bin/xscreensaver no longer exists during postrm. killall apparently always prints such an error when the file doesn't exist.

One obvious fix would be to move this to prerm, which would probably be cleaner too, however there is no prerm yet.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to