Brew `migrating cask marked to marked-app` failed
Caveat: This is probably a very very rare corner case. I use nix darwin to manage homebrew, and homebrew to manage Marked. I also use OCLP to run MacOS 15.5 on a 2015 MacBook Pro.
Today I ran darwin-rebuild switch
and Homebrew tried and failed to migrate marked to marked-app. I ran brew uninstall marked
, edited my flake to use marked-app
not marked
, and then darwin-rebuild switch
worked. My logs below in case this affects other brew users with more common setup.
Nix flake is here if you want to see the brew config: https://github.com/dansteeves68/nix/blob/29915b196e1176ea7e18cc54a6...
==> Migrating cask marked to marked-app
Using homebrew/services
Using nrlquaker/createzap
Using 1password
Using alfred
Installing arc
Using cursor
Using fantastical
Using firefox
Installing marked
==> Upgrading 1 outdated package:
marked-app 2.6.33,1057 -> 2.6.46,1071
==> Upgrading marked-app
==> Downloading https://updates.marked2app.com/Marked2.6.461071.dmg
==> Backing App 'Marked 2.app' up to '/usr/local/Caskroom/marked-app/2.6.33,1057/Marked 2.app'
==> Removing App '/Applications/Marked 2.app'
==> Moving App 'Marked 2.app' to '/Applications/Marked 2.app'
listxattr for destination failed: 2
Warning: Reverting upgrade for Cask marked-app
Error: marked-app: It seems there is already an App at '/Applications/Marked 2.app'.
==> Purging files for version 2.6.46,1071 of Cask marked-app
==> Purging files for version 2.6.46,1071 of Cask marked-app
==> Purging files for version 2.6.33,1057 of Cask marked-app
Installing marked has failed!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 25 Jun, 2025 01:52 PM
I actually have nothing to do with the Homebrew Cask for Marked, and don't know enough about it to troubleshoot. I would try tracking down the author of that cask.
Looking at the log, though, it looks like a listxattr command is failing, so the Move step is never executing. Some kind of quarantine bit or something in the xattrs for the app bundle? If the installed app never got moved out of /Applications, you could use xattr to see if there's anything weird about the app bundle it initially installed...
Support Staff 2 Posted by Brett on 25 Jun, 2025 01:53 PM
Also, is your Avatar a Chuck Close painting? I love that one.
3 Posted by Dan Steeves on 25 Jun, 2025 02:58 PM
> Also, is your Avatar a Chuck Close painting? I love that one.
Indeed, in many cases. Not sure if you're seeing Frank or Self but I've
used both. Fell in love with his work when I saw Frank at MIA in
Minneapolis.
On Wed, Jun 25, 2025 at 8:53 AM Brett <[email blocked]>
wrote:
Support Staff 4 Posted by Brett on 14 Jul, 2025 11:59 AM
Me too! I went to the Minneapolis College of Art and Design and spent a LOT of time in the MIA.