Comments (11)
What is the output of sudo -l diskutil eject
? Are you able to manually mount and unmount disk images?
from homebrew-cask.
~ > sudo -l diskutil eject
Password:
diskutil eject
And using the Finder to open .dmg files (and then eject them) works as expected.
from homebrew-cask.
I wonder if it is getting stuck on the command after the eject command.
If so, it may have been fixed by Homebrew/brew#17526
from homebrew-cask.
I updated Homebrew:
~ > brew config
HOMEBREW_VERSION: 4.3.6-13-gaefd4db
ORIGIN: https://github.com/Homebrew/brew
HEAD: aefd4db7d4711df1d3d71a942d7e192a04908fd7
Last commit: 22 minutes ago
Core tap HEAD: 5914c264ab0bb91a495ae3e52e1b58397c68f806
Core tap last commit: 10 minutes ago
Core tap JSON: 18 Jun 13:18 UTC
Core cask tap HEAD: c72094b904311f732c8275804bbac56b4ab78501
Core cask tap last commit: 4 minutes ago
Core cask tap JSON: 18 Jun 13:18 UTC
[...]
Unfortunately, my problem persists. brew install --cask twine --verbose --debug
provides essentially the same output and hangs indefinitely at the same point.
from homebrew-cask.
Unhelpful probably, but couldn't replicate in a clean VM environment using either v4.3.3 or v4.3.6 of Homebrew.
Almost sounds like a resource being held open preventing eject, but can't think what it would be. Agree that it's probably not a twine
issue as mentioned it occurred to another Cask.
Immediately stupid question - have you tried rebooting?
Have you tried another cask besides twine
since it failed?
Wondering if somehow you are out of space in /private/tmp
, as I had that happen to me on my Intel mini with 128gb storage and obviously caused all kinds of strange behavior.
from homebrew-cask.
I've rebooted several times in the last 24 hours. I'm afraid it hasn't seemed to make a difference.
I don't know how to check the specific capacity of /private/tmp
, but fwiw, my primary Macintosh HD
volume has about 150 GB free.
Just now I tried (re)installing three casks: jordanbaird-ice
, streamlink-twitch-gui
, and chatterino
. Ice and Streamlink installed without issue, but Chatterino failed in the same way as Twine and Obsidian did (hanging forever while diskutil
is the active process).
Here's an ominous twist: after the failed Chatterino installation, I tried to run diskutil list
, and that also stalled indefinitely. Opening the Disk Utility GUI gets me this, also indefinitely:
![image](https://private-user-images.githubusercontent.com/1896569/340743456-4044183d-bc4f-4b79-a818-65674e7fff03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMjc4NDUsIm5iZiI6MTcyMTAyNzU0NSwicGF0aCI6Ii8xODk2NTY5LzM0MDc0MzQ1Ni00MDQ0MTgzZC1iYzRmLTRiNzktYTgxOC02NTY3NGU3ZmZmMDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTVUMDcxMjI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yzk4OGE1N2UyODdjY2I4N2Y5NTUwMjE3M2Q4MThlZDQ2NGI0YTFhZTE5ZWMzMWE5NWFjM2QzMTg0ZjUwMmMyNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.YUp2_9HcIGuz2sEiVxU8AnYs1GitBRM1CwyABuT_O_o)
Rebooting did not make either diskutil
or Disk Utility.app work correctly. (Neither did unmounting all of my external drives, if that's useful info.) So now I'm concerned that I somehow damaged my system when I ^C
'd out of a previous disk operation...
from homebrew-cask.
BLUF: At this stage with the new information, I don't think this is specifically a Homebrew issue, but do think you should be wary of your disk.
More -
I wouldn't think ^C
would damage anything, as you effectively either cancelled a disk eject of a read only filesystem (the dmg) or halted a file copy process - but neither of which would take the time duration you mentioned. But, I have personally destroyed a target disk before in a much more severe fashion when working with a failing disk (story at bottom), but ⬇️
It's possible you have bad sectors on your disk, and you've hit a point where installing or mounting something is trying to use that disk portion in I/O ops, either read or write. Having issues enumerating volumes could point to a broader issue, but that's not exactly a definitive diagnosis, but I'd at least say disk issues can't be ruled out.
Are you having any other issues outside of Homebrew with reading or writing data, running programs, etc?
I am not trying to strike fear here, but (as I am 100% sure you know) you should have backups and be aware that if your disk is actually failing it can cause very wonky behavior.
Personal story: I was trying to file copy a 2013 MBP spinning HDD that was ticking and starting failure in target disk mode to a external disk attached to another MBP. File copy hung partway through and froze, and corrupted the APFS volume of the disk I was transferring files to - the good SSD - when I ^C
'd it. Disk Utility would hang and view the drive as ruined. Only thing I could do was hook the drive up to my Linux machine with apfs
tools on it and recover what files I could.
from homebrew-cask.
Are you having any other issues outside of Homebrew with reading or writing data, running programs, etc?
None whatsoever that I've noticed. And about 11 years ago I had HDD issues that slowly progressed to catastrophic failure (which corrupted my backups too, ugh) so I'm familiar with at least some of the symptoms. And so far the only problems I'm seeing are these, and w/r/t Homebrew Cask specifically; formula-based brew
operations all seem to work fine, as does everything else on my machine.
I am not trying to strike fear here, but (as I am 100% sure you know) you should have backups and be aware that if your disk is actually failing it can cause very wonky behavior.
I appreciate the warning, and fortunately I have multiple verified backups of my data, if it comes to that.
from homebrew-cask.
Yeah, and I'm being transparent - I could be completely wrong and it is a Homebrew Cask issue, but I don't know what it would immediately be. One of the other maintainers may have a better idea, and I'll continue to give it some thought.
The fact it persists after reboots is the concerning part, since if you had situations with locked or open resources those would be cleared on restart. The worst problems are "sometime" problems.
Have you gotten any of twine
, obsidian
, or chatterino
installed via Homebrew, even if taking a few attempts?
from homebrew-cask.
The fact it persists after reboots is the concerning part, since if you had situations with locked or open resources those would be cleared on restart.
Right? That was concerning me too. And I really was quite sure I hadn't noticed any other signs of data corruption—at least, not on my main drive. But out of an abundance of caution, I tried rebooting again, except I unplugged all my external drives first... and would you believe it, suddenly everything was working.
It turns out that one of my external drives has some kind of filesystem fsck-up (inode/flag mismatches, whatever those are) which Disk Utility can identify but apparently can't repair. Since everything (Homebrew, Cask, and Disk Utility) is working as expected without that drive plugged in, I have to assume its filesystem problems were somehow causing diskutil
and friends to seize up while performing other operations on Homebrew's behalf. I suppose I'll have to replace that drive, which is hardly the end of the world.
And so, a little sheepishly, I'm closing this issue. I really appreciate everyone's time, especially @krehel for putting me onto the idea of a dodgy disk. Thanks! ❤️
from homebrew-cask.
Happy to help @zgracem - unfortunate circumstance but glad we got it potentially identified. What you mentioned makes sense - and diskutil
for all of its shortcomings does tell you something is wrong - by not working. 🤷♂️
Best of luck in resolution of your issue.
from homebrew-cask.
Related Issues (20)
- BetterAndBetter url changed HOT 1
- virtualdj download files have been moved by vendor.
- temurin@17 and the others are not installing HOT 4
- Failed to install Microsoft Edge when $home is located on ext. drive HOT 2
- redis-gui: `Error: Unexpected method 'appcast' called on Cask redis-gui.` HOT 1
- darktable needs minimum macos 3.5, app fail on 12.7.5, pls add a depend_on... HOT 1
- firefox@developer-edition doesn't upgrade HOT 5
- PocketCasts is outdated HOT 1
- adobe-acrobat-pro not updating HOT 2
- Link for metashapepro is wrong HOT 3
- Wrong package downloaded for appcleaner : brew install --cask appcleaner HOT 1
- Messenger cask broken HOT 6
- cloudflare-warp always remove config/credentials during upgrade
- ProtonMail Desktop Cask Download Link HOT 3
- gcc-arm-embedded-13.3-rel1 fails to install on case sensitive file system
- imhex 1.35.4 macOS x86_64 can't be opened HOT 2
- gns3 sha256 is wrong - cannot update to 2.2.48 HOT 3
- Error: Unexpected method 'appcast' called on Cask adoptopenjdk8. HOT 2
- `font-cantarell` uses old version of font that breaks in some use cases HOT 4
- Formula "fxfactory" continuously updating incorrect sha256 by BrewTestBot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask.