lislegaard,
@lislegaard@sonomu.club avatar

@freebliss

I am having problem updating Faircamp from 0.10.1 to 0.11.0

When I run brew upgrade faircamp I end up here.

I tried removing the file, but still same.

I am on a MacOS 11.4 system if that makes a difference.

freebliss,
@freebliss@post.lurk.org avatar

deleted_by_author

  • Loading...
  • kel,
    @kel@mastodon.online avatar

    @freebliss @themissingcow @lislegaard

    This is a file integrity fail, it means the download hasn't completed, or has become corrupted in some way.

    I would try to download again.

    Beyond that I am not sure, seems unusual, I haven't seen one of these in a good while!

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    As I wrote I deleted the file via finder and then did brew upgrade faircamp again, but I end up in the same place.

    Anything else I should do? Clear my whole chaches folder, some sort of force start from the beginning with the installation?

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    Sorry, I was distracted and I missed that and didn't make the connection.

    Next up I would try:

    brew cleanup

    brew update

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    You could also try to force the refetch

    -f, --force: Remove a previously cached version and re-fetch.

    so

    brew install faircamp -f

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Tried

    • cleanup + update + upgrade
    • brew install faircamp -f
    • delete everything in the caches folder
    • manually downloading the faircamp file via browser, rename it to the same name and replace the file in caches

    still same.

    i'll try a brew upgrade and just update everything. maybe something is arguing somewhere.

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    Hmm.. sounds like the formula may be broken?

    The brew formula must include the correct file name, if the name has changed and the formula hasn't been updated it will fail! in this way.

    Check:

    brew edit faircamp

    This will open the formula in a vi

    :q

    to quit!

    Note the brew dev mode change, switch back if not needed!

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Did brew edit faircamp, what am I looking for here?

    Comfortable navigating vi so no problem.

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    This is potentially a dangerous thing to do, if a hacker replaced the file and you circumvent the security check... well you know! Unlikely, but proceed at your own peril:

    Run brew install

    When the error comes up, check the expected and actual values.

    Then edit the brew formula to match the actual sha256.

    Run brew install again.

    If it doesn't run then, goodness knows 🤷‍♂️

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Hmmm.

    I uninstalled Faircamp, so now I also have nothing to edit, and I can't install it again because I get the same error.

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    Sorry, this doesn't make any sense to me.

    You ran:

    brew install faircamp

    got the error, then

    brew edit faircamp

    and got nothing?

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    No worries.

    I tried uninstalling

    brew uninstall faircamp (to try to remove everything)

    then brew install faircamp (to try start fresh)

    got the same error

    then when I do brew edit faircamp it says:
    Error: Invalid usage: faircamp doesn't exist on disk

    Sorry if unclear!

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    The only thing I can think of is

    brew tap

    see:

    https://docs.brew.sh/Taps

    but this hasn't been neccesary for some time to my knowledge.

    After that, I don't know.

    Maybe it's a Mac OS incompatibility.

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Thanks for all the help anyways! Do you know if there is a way to install 0.10.1 again in the meantime.

    (maybe it is finally time to update this whole machine's os and everything)

    kel,
    @kel@mastodon.online avatar

    @lislegaard @freebliss @themissingcow

    So tap didn't work either, very odd!

    Here you go

    https://docs.brew.sh/Tips-N'-Tricks

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Havn't tried tap yet, waiting for brew upgrade to finish.

    Thanks!

    lislegaard,
    @lislegaard@sonomu.club avatar

    @kel @freebliss @themissingcow

    Ok I just need to ask. Are we sure there isn't a mismatch between what homebrew is looking for and what is being provided?

    If I download https://codeberg.org/simonrepp/faircamp/archive/0.11.0.tar.gz

    Then go

    shasum -a 256 path-to-the-file

    I get 189361bd0d586e782990d48b1a2bfda5507091db7a28e119b1dc514ffdd9fca1

    But Homebrew is looking for dc92b9fd78e9e791f5fecd97a11690dc61b06af9168967c0f15d4db38c3c7dc5

    I don't really know about this stuff but do we not need to either update brew or the file?

    freebliss,
    @freebliss@post.lurk.org avatar

    deleted_by_author

  • Loading...
  • keefmarshall,
    @keefmarshall@mastodon.online avatar

    @freebliss @lislegaard @kel @themissingcow Possibly entirely unrelated but Codeberg did experience an absolutely massive denial of service attack a few days ago...

    freebliss,
    @freebliss@post.lurk.org avatar

    deleted_by_author

  • Loading...
  • keefmarshall,
    @keefmarshall@mastodon.online avatar

    @freebliss or, worse, a malicious actor got in somehow. But I'm guessing you've checked everything over.

    freebliss,
    @freebliss@post.lurk.org avatar

    deleted_by_author

  • Loading...
  • meljoann,
    @meljoann@topspicy.social avatar

    @freebliss @lislegaard @kel @themissingcow there was someone on Lemmy who had issues with a brew install, not sure if it’s related (they said they got it working after cleaning up their eno files) but here: https://beehaw.org/post/11098694

    freebliss,
    @freebliss@post.lurk.org avatar

    deleted_by_author

  • Loading...
  • keefmarshall,
    @keefmarshall@mastodon.online avatar

    @freebliss @meljoann I just recommended TextMate to another Faircamp Mac user.. of course I tend to use vi or VS Code but probably neither are especially helpful in these cases!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • khanakhh
  • rosin
  • Youngstown
  • slotface
  • cubers
  • mdbf
  • kavyap
  • osvaldo12
  • everett
  • Durango
  • JUstTest
  • tacticalgear
  • ngwrru68w68
  • ethstaker
  • normalnudes
  • modclub
  • cisconetworking
  • GTA5RPClips
  • anitta
  • tester
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines