Can't empty trash; when I try, I receive this error: 'Cannot delete “universalinstaller” pathname is too long.'

iMac Retina 27” Late 2015

3.3 GHz Quadcore i5

32G RAM DDR3

Monterey12.6.9


Cannot empty Trash

message: “cannot delete “universalinstaller” pathname is too long.


Whether I choose Skip, Stop or Continue, the Trash Empty window closes.


[Re-Titled by Moderator]


Posted on Sep 20, 2023 9:17 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 5, 2023 8:30 AM

If you see the file in your recycle bin, open the Terminal window with applications->utilities->Terminal and type


rm "


drag the file into the terminal window

and then put a closing quote at the end of the text and hit Return on the keyboard.


Use command-shift-period if nothing is apparent in your trash can as the file may be invisible.


boot in safe mode if it still doesn't allow you. Safe mode is the shift key.


If it still doesn't allow you, you might have to use superuser authority. This is something I would only allow a Unix expert to do as it can wipe your hard drive.

Similar questions

1 reply
Question marked as Top-ranking reply

Oct 5, 2023 8:30 AM in response to jimmyfromva

If you see the file in your recycle bin, open the Terminal window with applications->utilities->Terminal and type


rm "


drag the file into the terminal window

and then put a closing quote at the end of the text and hit Return on the keyboard.


Use command-shift-period if nothing is apparent in your trash can as the file may be invisible.


boot in safe mode if it still doesn't allow you. Safe mode is the shift key.


If it still doesn't allow you, you might have to use superuser authority. This is something I would only allow a Unix expert to do as it can wipe your hard drive.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't empty trash; when I try, I receive this error: 'Cannot delete “universalinstaller” pathname is too long.'

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.