Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calibre install errors: version outdated #13270

Closed
lolgear opened this issue Aug 14, 2015 · 15 comments
Closed

calibre install errors: version outdated #13270

lolgear opened this issue Aug 14, 2015 · 15 comments

Comments

@lolgear
Copy link

lolgear commented Aug 14, 2015

Hi! I have an issue with calibre install:

$ brew cask install --verbose calibre
==> Downloading https://github.com/kovidgoyal/calibre/releases/download/v2.34.0/calibre-2.34.0.dmg
/usr/bin/curl -fLA Homebrew-cask v0.51+ (Ruby 2.0.0-481) https://github.com/kovidgoyal/calibre/releases/download/v2.34.0/calibre-2.34.0.dmg -C 0 -o /Library/Caches/Homebrew/calibre-2.34.0.dmg.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'calibre' with message: Download failed: https://github.com/kovidgoyal/calibre/releases/download/v2.34.0/calibre-2.34.0.dmg

also

$ brew upgrade brew-cask
Error: caskroom/cask/brew-cask 0.56.0 already installed
@scribblemaniac
Copy link
Contributor

Thank you for making a new issue. It appears that it needs to be upgraded to 2.35.0. Do you want to try doing this? It's not a very difficult change and we're here to help if necessary.

@lolgear
Copy link
Author

lolgear commented Aug 14, 2015

@scribblemaniac, yes, let's try, could you give instructions?

@scribblemaniac
Copy link
Contributor

Start by checking out CONTRIBUTING.md. Instead of adding a new cask though, you will have to find the calibre cask and edit the version and sha256 lines.

@lolgear
Copy link
Author

lolgear commented Aug 14, 2015

@scribblemaniac, well, I don't have calibre version installed. How could I get file and get sha_sum from it?

@scribblemaniac
Copy link
Contributor

You can download the latest version of calibre from https://github.com/kovidgoyal/calibre/releases/download/v2.35.0/calibre-2.35.0.dmg and in terminal run shasum -a 256 <path_to_downloaded_file>. Of course you fill in the downloaded file path. You don't need to install calibre to do this, only download the dmg.

@lolgear
Copy link
Author

lolgear commented Aug 14, 2015

@scribblemaniac, please, tell me rules or style for commit message.
"calibre: version updated to 2.35.0" will be enough?

@lolgear lolgear changed the title calibre install errors calibre install errors: version outdated Aug 14, 2015
@scribblemaniac
Copy link
Contributor

As long as you put the new version and the cask somewhere, it's a matter of personal preference. I personally prefer calibre.rb: Upgrade to v2.35.0, but many contributors have many different ways of doing it.

@lolgear
Copy link
Author

lolgear commented Aug 14, 2015

@scribblemaniac, should I make pull request to special branch as 'brew-cask-outdated'?

@scribblemaniac
Copy link
Contributor

Nope, just straight into master is fine.

@lolgear
Copy link
Author

lolgear commented Aug 14, 2015

@scribblemaniac , please, have a look at
#13271

@victorpopkov
Copy link
Member

Fixed in #13265 which was submitted earlier than #13271. But thank you @lolgear for your PR and try to contribute! You are awesome!

Feel free to reopen this issue if the problem persists.

@1zaman
Copy link
Contributor

1zaman commented Aug 14, 2015

See #10039

@scribblemaniac
Copy link
Contributor

@1zaman This issue has been fixed and is closed. The issue you pointed to is also closed and is not relevant here.

@1zaman
Copy link
Contributor

1zaman commented Aug 14, 2015

@scribblemaniac: The issue is temporarily fixed, but it will occur again the next week. The issue I referenced is closed, but definitely relevant.

@vitorgalvao
Copy link
Member

should I make pull request to special branch as 'brew-cask-outdated'?

Yes, @lolgear, you should always make changes into a new branch. Doing it directly on master many times has bad results.

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants