Mac – Brew Cleanup – Error: Directory not empty @ dir_s_rmdir – /usr/local/Cellar/nginx/1.19.6

Recently running brew cleanup lead to following message

Error: Directory not empty @ dir_s_rmdir – /usr/local/Cellar/nginx/1.19.6

To resolve following issue i executed following command

sudo rm -R /usr/local/Cellar/nginx/1.19.6

Afterwards brew cleanup work and do it’s job.

Leave a Reply

Your email address will not be published. Required fields are marked *