caskformula / homebrew-caskformula

Tap containing formulae for casks
83 stars 34 forks source link

Error downloading package/source from debian repository #65

Open jusech5 opened 5 years ago

jusech5 commented 5 years ago

In mac I try to install via brew command:

In first try:

curl: (22) The requested URL returned error: 404 Not Found
Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "inkscape"
Download failed: https://mirrors.kernel.org/debian/pool/main/i/inkscape/inkscape_0.92.2.orig.tar.bz2

In second try:

$ brew install inkscape
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
tika

==> Installing inkscape from caskformula/caskformula
==> Downloading https://launchpad.net/inkscape/0.92.x/0.92.2/+download/inkscape-0.92.2.tar.bz2
==> Downloading from https://launchpadlibrarian.net/332184472/inkscape-0.92.2.tar.bz2
######################################################################## 100.0%
==> Downloading https://gitlab.com/inkscape/inkscape/commit/93ccf03162cd2e46d962822d5507865f3451168c.diff
######################################################################## 100.0%
Error: An exception occurred within a child process:
  ChecksumMismatchError: SHA256 mismatch
Expected: 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d
Actual: 7ce4f70f1cb03cd0bab7dc94821a89bf71600bd59c763ae0d78c48f33db3d9ac
Archive: /Users/jorge/Library/Caches/Homebrew/downloads/369b021412bac03164fd51cdf072f9e402caea5fabf430466d2d9779d6208a36--93ccf03162cd2e46d962822d5507865f3451168c.diff
To retry an incomplete download, remove the file above.
ghost commented 5 years ago

The documentation needs to be updated on inscapes site. Installing a cask looks like this now: $ brew tap homebrew/cask $ brew cask install inkscape ==> Satisfying dependencies ==> Downloading https://inkscape.org/gallery/item/11269/Inkscape-0.92.2-1-x11-10 ==> Downloading from https://media.inkscape.org/dl/resources/file/Inkscape-0.92. ######################################################################## 100.0% ==> Verifying SHA-256 checksum for Cask 'inkscape'. ==> Installing Cask inkscape ==> Moving App 'Inkscape.app' to '/Applications/Inkscape.app'. ==> Linking Binary 'inkscape' to '/usr/local/bin/inkscape'. 🍺 inkscape was successfully installed!