Brew upgrade for 9.4.6 fails with SHA256 mismatch
Friday, 8 January 2021 · 5 messages
JM
Johan Mörén8 Jan 2021 12:15 #
Just wanted to let you know that the latest BaseX version can't be installed or upgraded via homebrew.
I get the following error message:
brew upgrade basex
==> Upgrading 1 outdated package:
basex 9.4.5 -> 9.4.6
==> Upgrading basex 9.4.5 -> 9.4.6
==> Downloading https://files.basex.org/releases/9.4.6/BaseX946.zip ######################################################################## 100.0%
Error: SHA256 mismatch
Expected: c6dd9ac56e72de19c88152c76a6e4052deccd4f0db7a4b072aaaa560b92318a5 Actual: 96012025d749062540f9b16f830d7b99876696b66534da2fe27c833d1b1fc43b File:
/Users/johmor/Library/Caches/Homebrew/downloads/befef7ec63e74dbf695bd24e06e16773055a9fb0c7f69d9d7e9fd1787766a377--BaseX946.zip To retry an incomplete download, remove the file above.
Regards,
Johan
CG
Christian Grün8 Jan 2021 12:45 #
Hi Johan,
Thanks for the observation.
Quoted text · Johan Mörén · 1 line
> Expected: c6dd9ac56e72de19c88152c76a6e4052deccd4f0db7a4b072aaaa560b92318a5
Do you know where this “expected” SHA256 value comes from?
Cheers,
Christian
JM
Johan Mörén8 Jan 2021 12:52 #
Hi Christian,
It's a property stated in the basex.rb formula file.
https://github.com/Homebrew/homebrew-core/blob/7da7fb15bfd1301a023b97ec91945c1985278edf/Formula/basex.rb#L6
/Johan
Quoted text · Christian Grün · 14 lines
On Fri, Jan 8, 2021 at 12:45 PM Christian Grün <christian.gruen at gmail.com> wrote: > Hi Johan, > > Thanks for the observation. > > > Expected: > c6dd9ac56e72de19c88152c76a6e4052deccd4f0db7a4b072aaaa560b92318a5 > > Do you know where this “expected” SHA256 value comes from? > > Cheers, > Christian >
CG
Christian Grün8 Jan 2021 13:21 #
Oh, thanks. So that was caused by our 9.4.6 version update (which the redundant library files removed).
I remember you contributed BaseX homebrew files in the past. Would you mind sending a homebrew pull request with the updated SHA256 value for us? That would be great!
Quoted text · Johan Mörén · 22 lines
On Fri, Jan 8, 2021 at 12:52 PM Johan Mörén <johan.moren at gmail.com> wrote: > > Hi Christian, > > It's a property stated in the basex.rb formula file. > > https://github.com/Homebrew/homebrew-core/blob/7da7fb15bfd1301a023b97ec91945c1985278edf/Formula/basex.rb#L6 > > /Johan > > On Fri, Jan 8, 2021 at 12:45 PM Christian Grün <christian.gruen at gmail.com> wrote: >> >> Hi Johan, >> >> Thanks for the observation. >> >> > Expected: c6dd9ac56e72de19c88152c76a6e4052deccd4f0db7a4b072aaaa560b92318a5 >> >> Do you know where this “expected” SHA256 value comes from? >> >> Cheers, >> Christian
JM
Johan Mörén8 Jan 2021 13:33 #
Sure!
Pull request sent.
/Johan
Quoted text · Christian Grün · 38 lines
On Fri, Jan 8, 2021 at 1:21 PM Christian Grün <christian.gruen at gmail.com> wrote: > Oh, thanks. So that was caused by our 9.4.6 version update (which the > redundant library files removed). > > I remember you contributed BaseX homebrew files in the past. Would you > mind sending a homebrew pull request with the updated SHA256 value for > us? That would be great! > > > > > On Fri, Jan 8, 2021 at 12:52 PM Johan Mörén <johan.moren at gmail.com> wrote: > > > > Hi Christian, > > > > It's a property stated in the basex.rb formula file. > > > > > https://github.com/Homebrew/homebrew-core/blob/7da7fb15bfd1301a023b97ec91945c1985278edf/Formula/basex.rb#L6 > > > > /Johan > > > > On Fri, Jan 8, 2021 at 12:45 PM Christian Grün < > christian.gruen at gmail.com> wrote: > >> > >> Hi Johan, > >> > >> Thanks for the observation. > >> > >> > Expected: > c6dd9ac56e72de19c88152c76a6e4052deccd4f0db7a4b072aaaa560b92318a5 > >> > >> Do you know where this “expected” SHA256 value comes from? > >> > >> Cheers, > >> Christian >
Written for BaseX 9.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery