On running apt purge pigpiod, I got a warning saying dpkg had tried to remove /opt. Although no damage was done, it probably shouldn't have attempted to remove a system root directory.
Purging configuration files for pigpiod (1.79-1+rpt1) ...
dpkg: warning: while removing pigpiod, directory '/opt' not empty so not removed
System: Linux karla 6.1.0-rpi4-rpi-v7 #1 SMP Raspbian 1:6.1.54-1+rpt2 (2023-10-05) armv7l GNU/Linux
OS: Raspberry Pi OS bookworm
On running
apt purge pigpiod
, I got a warning saying dpkg had tried to remove /opt. Although no damage was done, it probably shouldn't have attempted to remove a system root directory.System:
Linux karla 6.1.0-rpi4-rpi-v7 #1 SMP Raspbian 1:6.1.54-1+rpt2 (2023-10-05) armv7l GNU/Linux
OS: Raspberry Pi OS bookworm