I installed "darling" and now want to delete it, but this shows up:
rm: cannot remove 'darling': Is a directory
When I ran rmdir
it says:
rmdir: failed to remove 'darling/': Directory not empty
Even ran sudo umount darling
, still no luck.
I installed "darling" and now want to delete it, but this shows up:
rm: cannot remove 'darling': Is a directory
When I ran rmdir
it says:
rmdir: failed to remove 'darling/': Directory not empty
Even ran sudo umount darling
, still no luck.
rmdir
will only remove empty directories.
rm
without options will only remove files
rm -d
behaves like rmdir
rm -r
will remove directories and any contents - be careful, especially if you use wildcards!
dpkg -l darling; dpkg -s darling; dpkg -S darling
and probably tell us a bit on how you installed it. – Raffa Oct 24 '23 at 07:32