Trashcan stuck, won't empty

Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
OK, Catalina 10.15.1. I had a lot of old installers in the Applications folder, so I moved them off the drive by copying them to an external for storage, then dumped them into the Trash. Emptied Trash, got a message that one, "Install macOS High Sierra" could not be deleted as it was needed by the system. ???? So I looked at it in the trash and what is there is a folder named "Contents" and in it "SharedSupport" and in that is "InstallESD.dmg." Tried to delete that with right click and Delete Immediately, but got the error message that it can't be modified or deleted because it is needed by macOS.

No problem, boot in Safe Mode, run First Aid, reboot. Same results

No problem, boot in Recover, run First Aid on both drives, reboot. Same results.

Download OnyX for Catalina, run the maintenance scripts. Reboot. Same results.

Terminal, cd to ~/.Trash. Run ls, but get message that it is not permitted. OK, run 'sudo ls' to get it, same message.

So now I'm here. Any ideas what I try next? I could put the trash back, then see if I can change permissions, but I suspect that will be blocked as well. While you think about it, I'll go do that. BRB.
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
So I dragged it back to the Applications folder, used Get Info to see who can do what, but I'm totally blocked from doing anything because it says I don't have authority. My account is an Admin account, so about the only way I can see to get rid of it is to be Root. Maybe rm will do now that it's not in .Trash?
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
Nope. The issue is that it is in /Applications and not ~/Applications and in Catalina those files are on Macintosh HD and not Macintosh HD Data. So nothing I can do is doing anything to change it. HMMM, maybe if I put it back in the trash and drag it to Documents instead of Applications I can get to it. BRB.
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
So I tried to drag it from the Trash to my Documents folder that should be on the Data drive. It appeared there, but again cannot be modified in any way. I tried Get Info and tried to add me to the permissions, not permitted. Tried changing name, no. Tried putting it on an external USB stick, but it copied, not moved, and the original cannot be touched.

I guess a call to Apple is in order. Why the #&$*# would Catalina think that an installer from High Sierra was so needed that it cannot be deleted?
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Tried putting it on an external USB stick, but it copied, not moved, and the original cannot be touched.


Did you try using the Finders "Secure empty trash"?

Sometimes it will actually work for Deleting some stubborn files.


- Patrick
======
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
yes. No change. Doggone thing just won't go away. On chat with Apple
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
Stumped Apple Tech support. Being escalated and told to call back tomorrow.
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
Did you try using the Finders "Secure empty trash"?

Sometimes it will actually work for Deleting some stubborn files.


- Patrick
======
Let me clarify. There is no "Secure Empty Trash" option any more, and hasn't been for a while. I have been to Terminal and used just about every variant of rm I can think of. I'm thinking of booting back to Mojave from my backup, then seeing if I can get rid of it from there, but I suspect the permissions aren't going to let me do that, either. Somehow, I have to have sufficient permission to change the file, and that may be root. I'm hoping there is still a way to get to root in Catalina.
 

IWT


Joined
Jan 23, 2009
Messages
10,287
Reaction score
2,230
Points
113
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
M2 Max Studio Extra, 32GB memory, 4TB, Sonoma 14.4.1 Apple 5K Retina Studio Monitor
Jake,

You know far more than I do and not only have you tried everything, but apparently baffled Apple (firs tier anyway).

Our Admin, Charlie has provided a Link to Root access.

By contrast, my meagre suggestion is whether downloading the Combo Update for 10.15.1 might overwrite a conceivable problem with the standalone update?? This is the Link to that: Download macOS Catalina 10.15.1 Update

Ian
 

Rod


Joined
Jun 12, 2011
Messages
9,697
Reaction score
1,883
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
How about turning off SIP? I'm not sure how that operates in Catalina but should be possible.
Here are the instructions for Mojave;

To shut down SIP (System Integration Protection)
Restart holding Command + R
Go to the Utilities Menu
Select Terminal
Type; csrutil disable To restart; csrutil enable
 
Joined
Feb 1, 2011
Messages
4,433
Reaction score
2,148
Points
113
Location
Sacramento, California
Any ideas what I try next?

Here is something easy to try and worth a shot.

Download:

Trash It! (free)
Download NoName Scriptware's Trash It | NNSW

If you double-click on Trash It's program icon, it will delete
what is in your Trash with extreme prejudice.

If you drop either a folder or file(s) onto Trash It's program icon, 
it will delete what you dropped on it, no matter where those files or 
folders reside. (They don't have to be in the Trash can.)
 

Rod


Joined
Jun 12, 2011
Messages
9,697
Reaction score
1,883
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
Oooo! I like that.


Sent from my iPad using Mac-Forums
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
...Trash It's program icon, it will delete
what is in your Trash with extreme prejudice.


Oh...I like that adverb description. :Smirk:


- Patrick
======
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
Randy, Trash-it! did not work. No error messages, just didn't work. Asked for my password, then closed (not crashed, just closed). I guess it's not Catalina-ready.

I did find out last night how to get to Root, so I'm going to see what I can do with that.
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
How about turning off SIP? I'm not sure how that operates in Catalina but should be possible.
Here are the instructions for Mojave;

To shut down SIP (System Integration Protection)
Restart holding Command + R
Go to the Utilities Menu
Select Terminal
Type; csrutil disable To restart; csrutil enable
Winner! Thanks, Rod. I can't give you a reputation bump because it wants me to spread some love around first, but that worked perfectly. Avoided Root, which is, frankly, beyond what I wanted to do. PITA to have to boot three times, but hey, the trash is empty!
 

IWT


Joined
Jan 23, 2009
Messages
10,287
Reaction score
2,230
Points
113
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
M2 Max Studio Extra, 32GB memory, 4TB, Sonoma 14.4.1 Apple 5K Retina Studio Monitor
+1 for Rod.

Ian
 
Joined
May 21, 2012
Messages
10,745
Reaction score
1,192
Points
113
Location
Rhode Island
Your Mac's Specs
M1 Mac Studio, 11" iPad Pro 3rd Gen, iPhone 13 Pro Max, Watch Series 7, AirPods Pro
Randy, Trash-it! did not work. No error messages, just didn't work. Asked for my password, then closed (not crashed, just closed). I guess it's not Catalina-ready.

I did find out last night how to get to Root, so I'm going to see what I can do with that.
Does holding "Option" down when emptying the trash, do a secure erase?
 
OP
MacInWin
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
I did try that, but it didn't empty. Only turning off SIP worked.
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top