Page 1 of 1

Error while updating CLI

Posted: 01 Jul 2016, 10:10
by Whispering Klaxon
Hi folks,

I'm trying to update the command line tools, as per viewtopic.php?f=4&t=2049

Code: Select all

brew cask install filebot --force
I get the following response

Code: Select all

==> Downloading http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.5.6/FileBot_4.5.6.app.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'filebot' with message: Download failed: http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.5.6/FileBot_4.5.6.app.tar.gz
Any ideas? How can I specify that I want the newest version?



(edited for formatting)

Re: Error while updating CLI

Posted: 01 Jul 2016, 10:19
by rednoah
Please follow the upgrade filebot instructions. Looks like your brew package index is severly outdated:

Code: Select all

brew update && brew upgrade && brew cask install filebot --force
@see viewtopic.php?f=4&t=2049

Re: Error while updating CLI

Posted: 01 Jul 2016, 10:25
by Whispering Klaxon
Thank you.

I thought I had updated Brew. Apparently not. Oops.

Thanks for your help, trying that now.

(edited to add the outcome)

Here's what happened:

Code: Select all

$ brew update && brew upgrade && brew cask install filebot --force
warning: unable to unlink .yardopts: Permission denied
warning: unable to unlink CONTRIBUTING.md: Permission denied
warning: unable to unlink SUPPORTERS.md: Permission denied
fatal: cannot create directory at '.github': Permission denied
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
$ sudo brew update && brew upgrade && brew cask install filebot --force
Password:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mach (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Library/Homebrew/extend/pathname.rb:2:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Library/Homebrew/global.rb:3:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Library/brew.rb:15:in `<main>'
$