buresdv / Cork

A fast GUI for Homebrew written in SwiftUI
https://corkmac.app
2.33k stars 131 forks source link

Could not load packages #380

Closed ranvel closed 2 months ago

ranvel commented 3 months ago

What were you trying to do?

I am trying to load the application.

What was the problem?

Screenshot 2024-08-12 at 10 05 46

I get this error. I even tried restarting and reinstalling it.

Error logs

default 10:17:40.045722-0400    Cork    Scheduled event fired at <private>
default 10:17:43.557277-0400    Cork    No new updates found
default 10:17:43.557296-0400    Cork    Will purge temporary update trackers
default 10:19:37.419399-0400    Cork    Cached downloads contents: <private>
error   10:19:37.421339-0400    Cork    Could not get proxy host
error   10:19:37.432277-0400    Cork    Failed while accessing folder: Error Domain=Cork.PackageLoadingError Code=0
error   10:19:37.432425-0400    Cork    Couldn't find homebrew/core in local taps
error   10:19:37.432439-0400    Cork    Couldn't find homebrew/cask in local taps
default 10:19:37.913218-0400    Cork    Will attempt to place package name

App Version

1.4.4.2

App Acquisition

Bought

Final checklist

buresdv commented 2 months ago

I'm really sorry, I forgot about this issue due to real life obligations.

Does the error still appear in this linked version? Cork.zip

ranvel commented 2 months ago

No worries! I'm glad you got the real-life obligations sorted.

I don't know what happened, but I downloaded this on my M3 mbp, and it didn't work (same issue). Then I downloaded it on my Intel mac and it did work. Then I trashed my homebrew root (/opt/homebrew) and reinstalled the hombrew pkg. And then it did work.

So all is right in the world again. Thanks!

buresdv commented 2 months ago

Great to hear :) These problems are 99,9% caused by broken Homebrew installs