joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.43k stars 403 forks source link

Uninstalling pigpiod attempted to remove /opt #588

Closed mrankine closed 3 months ago

mrankine commented 8 months ago

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