Skip to content

brew upgrade fails #941

@PierreSash

Description

@PierreSash

Operating System and Version

MacOS Sequoia 15.7.3 (24G419)

Distribution

brew installer

Description

Hello,

I can't update Notepadnext with brew upgrade or brew install --no-quarantine notepadnext --force.

It only works when I manually delete the app /Applications/Notepadnext.app. However, the whole point of brew is that you don't have to do anything manually.

Btw. Great project!!! I love it.
Did I overlook somewhere how to participate in the translation? It would be my first translation (into German) if I try it. Instructions or information material would be great.

Best regards,
Sascha

Steps to Reproduce

brew install --no-quarantine notepadnext --force

Debug Information

Warning: Calling the `--[no-]quarantine` switch is deprecated! There is no replacement.
==> Fetching downloads for: dail8859/notepadnext/notepadnext
✔︎ Cask notepadnext (0.13)                            Verified     30.7MB/ 30.7MB
==> Fetching downloads for: dail8859/notepadnext/notepadnext
✔︎ Cask notepadnext (0.13)                            Verified     30.7MB/ 30.7MB
==> Upgrading 1 outdated package:
dail8859/notepadnext/notepadnext 0.12 -> 0.13
==> Upgrading notepadnext
==> Backing App 'Notepadnext.app' up to '/usr/local/Caskroom/notepadnext/0.12/No
==> Removing App '/Applications/Notepadnext.app'
==> Unlinking Binary '/usr/local/bin/notepad-next'
==> Moving App 'Notepadnext.app' to '/Applications/Notepadnext.app'
listxattr for destination failed: 2
==> Purging files for version 0.13 of Cask notepadnext
==> Purging files for version 0.13 of Cask notepadnext
Warning: Reverting upgrade for Cask notepadnext
Warning: It seems there is already an App at '/Applications/Notepadnext.app'; overwriting.
==> Removing App '/Applications/Notepadnext.app'
==> Moving App 'Notepadnext.app' to '/Applications/Notepadnext.app'
==> Linking Binary 'NotepadNext' to '/usr/local/bin/notepad-next'
Error: dail8859/notepadnext/notepadnext: Failure while executing; `/usr/bin/env /Library/Developer/CommandLineTools/usr/bin/swift -target x86_64-apple-macosx15 /usr/local/Homebrew/Library/Homebrew/cask/utils/copy-xattrs.swift /usr/local/Caskroom/notepadnext/0.13/Notepadnext.app /Applications/Notepadnext.app` exited with 1. Here's the output:
listxattr for destination failed: 2

Additional Details

e.g. screenshots, logs, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    macosRelated specifically to macOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions