Skip to content

Failed to Quarantine : Insufficient Parameters #21090

@lalitaalaalitah

Description

@lalitaalaalitah

brew doctor output

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Missing https://github.com/Homebrew/brew git origin remote.

Without a correctly configured origin, Homebrew won't update
properly. You can solve this by adding the remote:
  git -C "/usr/local/Homebrew/Library/.homebrew-is-managed-by-nix" remote add origin https://github.com/Homebrew/brew

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  hackintool

Verification

  • I ran brew update twice and am still able to reproduce my issue.
  • My "brew doctor output" above says Your system is ready to brew or a definitely unrelated Tier message.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 4.6.19
ORIGIN: (none)
HEAD: (none)
Last commit: never
Branch: (none)
Core tap JSON: 16 Nov 10:01 UTC
Core cask tap JSON: 16 Nov 10:01 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew/Library/.homebrew-is-managed-by-nix
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nvim
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 32
Homebrew Ruby: 3.4.7 => /nix/store/j6j2xwzdb0p2pcz8axv38li616b2bkj0-ruby-3.4.7/bin/ruby
CPU: 32-core 64-bit cometlake
Clang: 17.0.0 build 1700
Git: 2.51.0 => /nix/store/y7yd3dl2vnksqb3insqbhkpl57315kkq-git-minimal-2.51.0/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.7-x86_64
CLT: 26.0.0.0.1.1757719676
Xcode: 26.1.1

What were you trying to do (and why)?

I was trying to install new brew package with

brew install --cask sublime-text
brew install --cask losslesscut

What happened (include all command output)?

brew install losslesscut --debug

==> Auto-updating Homebrew...
Adjust how often this is run with $HOMEBREW_AUTO_UPDATE_SECS or disable with
$HOMEBREW_NO_AUTO_UPDATE=1. Hide these hints with $HOMEBREW_NO_ENV_HINTS=1 (see man brew).
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading https://github.com/mifi/lossless-cut/releases/download/v3.67.1/LosslessCut-mac
Already downloaded: /Users/user_1/Library/Caches/Homebrew/downloads/4557acdbd85d7c6ddc1bfa94ec73d9956001753fbe119e468cb15261480e5405--LosslessCut-mac-x64.dmg
==> Checking quarantine support
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/user_1/Library/Caches/Homebrew/downloads/4557acdbd85d7c6ddc1bfa94ec73d9956001753fbe119e468cb15261480e5405--LosslessCut-mac-x64.dmg
==> /Users/user_1/Library/Caches/Homebrew/downloads/4557acdbd85d7c6ddc1bfa94ec73d9956001753fbe119e468cb15261480e5405--LosslessCut-mac-x64.dmg is not quarantined
==> Quarantining /Users/user_1/Library/Caches/Homebrew/downloads/4557acdbd85d7c6ddc1bfa94ec73d9956001753fbe119e468cb15261480e5405--LosslessCut-mac-x64.dmg
Error: Failed to quarantine /Users/user_1/Library/Caches/Homebrew/downloads/4557acdbd85d7c6ddc1bfa94ec73d9956001753fbe119e468cb15261480e5405--LosslessCut-mac-x64.dmg. Here's the reason:
Insufficient parameters
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/quarantine.rb:167:in 'Cask::Quarantine.cask!'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/download.rb:106:in 'Cask::Download#quarantine'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/download.rb:65:in 'Cask::Download#fetch'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/installer.rb:249:in 'Cask::Installer#download'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/installer.rb:121:in 'Cask::Installer#fetch'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cask/installer.rb:153:in 'Cask::Installer#install'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cmd/install.rb:291:in 'block in Homebrew::Cmd::InstallCmd#run'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cmd/install.rb:280:in 'Array#each'
/nix/store/xn565sliczmrijavyh0vsgwykyn1s0mw-brew-4.6.19-patched/Library/Homebrew/cmd/install.rb:280:in 'Homebrew::Cmd::InstallCmd#run'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in '

'

What did you expect to happen?

I have integrated brew with nix-darwin. I was running rebuild command and the error popped up.
Then I tried to run brew install commands directly. They also returned same error.

I expected brew to install softwares without giving any error.

Step-by-step reproduction instructions (by running brew commands)

Run for casks:

 brew install --cask sublime-text
brew install --cask losslesscut

You get same error Failed to quarantine and Here's the reason: Insufficient parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions