nix-darwin icon indicating copy to clipboard operation
nix-darwin copied to clipboard

Error: brew

Open PlumpMath opened this issue 3 years ago • 3 comments

Installing android-file-transfer ==> Downloading https://dl.google.com/dl/androidjumper/mtp/5071136/androidfiletransfer.dmg Error: could not find a temporary directory /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:35:in tmpdir' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:112:in tmpdir' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:120:in create' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:87:in mktmpdir' /usr/local/Homebrew/Library/Homebrew/unpack_strategy.rb:146:in extract_nestedly' /usr/local/Homebrew/Library/Homebrew/cask/installer.rb:217:in extract_primary_container' /usr/local/Homebrew/Library/Homebrew/cask/installer.rb:78:in stage' /usr/local/Homebrew/Library/Homebrew/cask/installer.rb:106:in install' /usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:79:in block in install_casks' /usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:78:in each' /usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:78:in install_casks' /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:183:in install' /usr/local/Homebrew/Library/Homebrew/brew.rb:93:in `

' ==> Installing Cask android-file-transfer ==> Purging files for version 5071136 of Cask android-file-transfer Installing android-file-transfer has failed!

Homebrew Bundle failed! 1 Brewfile dependency failed to install.

. Reinstalling directly with brew doesn't give any errors. like brew reinstall --cask brew-pkgs

PlumpMath avatar Aug 17 '22 05:08 PlumpMath

I added android-file-transfer to my homebrew.casks and it installed without issue, so at present I'm unable to reproduce this.

malob avatar Aug 29 '22 18:08 malob

Oh, I didn't set the settings. Is there an option I am missing or am doing wrong?

homebrew = {
  taps = [ "homebrew/core" "homebrew/cask" "homebrew/cask-versions" ];

  brews = [ "bat" ];

  casks = [ "android-file-transfer" ];

  brewPrefix = if pkgs.stdenv.hostPlatform.isAarch64 then "/opt/homebrew/bin" else "/usr/local/bin";
enable = true;
autoUpdate = true;
cleanup = "zap"; # keep it clean
global = {
  brewfile = true;
  noLock = true;
};

};

Thanks.

PlumpMath avatar Aug 31 '22 10:08 PlumpMath

homebrew.autoUpdate homebrew.cleanup homebrew.global.noLock

As changed today, I removed them all.

PlumpMath avatar Sep 06 '22 16:09 PlumpMath

I'm closing this issue, please comment if you're still having issues

Enzime avatar Jul 23 '23 08:07 Enzime