Closed edwintorok closed 2 years ago
Ah I see this is fixed already: https://github.com/ocaml/opam/commit/78093ea4299fb7a50bb5d9e939f39b24bc5cacbe I'll open a bug on Fedora's bugzilla asking for a backport.
As you saw, the fix is already on master, and it is integrated in opam 2.1.1 that will be releases in few days,
Thanks, I've opened a bug on Fedora's bugtracker to make them aware (https://bugzilla.redhat.com/show_bug.cgi?id=2020451). If there is a new upstream release soon thats good.
Running something as simple as 'opam search oauth2' took 6m26s. Looking at
opam
with strace shows that it is waiting for a process, and that process is:Running the command manually reveals why:
It prints a question that never gets a reply. There doesn't seem to be a way to 'accept' this question (I can manually run the command and accept it, but on next run it just asks again. Only happens when run wtih -C'.
The repo is one I added manually (not sure why it is picky only about this one, never asks about the other rpmfusion repo that I added:
Anyway this can be solved easily by redirecting the stdin of
yum
to be/dev/null
: then it immediately proceeds to printing the output (another way is to add-y
so you getyum -q -C list
.This happens on Fedora 35.