WLAN-Pi / wlanpi-hwtest

hwtest drives a suite of tests to determine diagnostic health for WLAN Pi Pro hardware.
Other
1 stars 0 forks source link

dpkg cannot cleanup pytest pycache on purge #26

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

When wlanpi-hwtest is removed via apt purge wlanpi-hwtest, we receive some dpkg warnings about pycache folders for pytest not being empty.

This is low priority as it does not appear to impact anything besides leaving some extra folders on the host when we purge the Debian package.

dpkg: warning: while removing wlanpi-hwtest, directory '/opt/wlanpi-hwtest/lib/python3.7/site-packages/pytest_metadata/ci/__pycache__' not empty so not removed
dpkg: warning: while removing wlanpi-hwtest, directory '/opt/wlanpi-hwtest/lib/python3.7/site-packages/pytest_metadata/__pycache__' not empty so not removed
dpkg: warning: while removing wlanpi-hwtest, directory '/opt/wlanpi-hwtest/lib/python3.7/site-packages/pytest_html/__pycache__' not empty so not removed
dpkg: warning: while removing wlanpi-hwtest, directory '/opt/wlanpi-hwtest/lib/python3.7/site-packages/hwtest/tests/__pycache__' not empty so not removed 
joshschmelzle commented 2 years ago

References: