APT remove tries to remove wrong directory #77

Open
opened 2026-01-29 16:28:44 +00:00 by claunia · 2 comments
Owner

Originally created by @leoshusar on GitHub (Apr 10, 2020).

Hi, I believe apt should not be trying to remove /usr/local/bin directory.

dpkg: warning: while removing app-name, directory '/usr/local/bin' not empty so not removed

Originally created by @leoshusar on GitHub (Apr 10, 2020). Hi, I believe apt should not be trying to remove `/usr/local/bin` directory. `dpkg: warning: while removing app-name, directory '/usr/local/bin' not empty so not removed`
Author
Owner

@mikebm94 commented on GitHub (Jun 27, 2020):

Hmm, when I remove my package, APT tries to remove the entire /usr/local directory.

dpkg: warning: while removing app-name, directory '/usr/local' not empty so not removed

@mikebm94 commented on GitHub (Jun 27, 2020): Hmm, when I remove my package, APT tries to remove the entire `/usr/local` directory. `dpkg: warning: while removing app-name, directory '/usr/local' not empty so not removed`
Author
Owner

@ichan-akira commented on GitHub (Sep 3, 2020):

I think this is by design with APT for DEB package, so there is nothing to worry about, you can check discussion at https://askubuntu.com/a/624961/937325

@ichan-akira commented on GitHub (Sep 3, 2020): I think this is by design with APT for DEB package, so there is nothing to worry about, you can check discussion at https://askubuntu.com/a/624961/937325
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#77