GNU/Linux, opam 2.5.1
[ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "Download command failed:
\"/usr/bin/wget --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.1 -L -o
/tmp/opam-64870-8cf2f1/index.tar.gz.part -- https://se.math.spbu.ru/opam/index.tar.gz\" exited with
code 2")
'opam update --verbose' failed.
While stracing I got the following message.
read(6, "/usr/bin/wget: unrecognized option '--write-out'\n/usr/bin/wget: option '--retry' is ambiguous; possibilities: '--retry-connrefused' '--retry-on-host-error' '--retry-on-http-error'\n/usr/bin/wget: unrecognized option '--retry-delay'\nUsage: wget [OPTION]... [URL]...\n\nTry `wget --help' for more options.\n", 65536) = 301
Indeed, I can't find --write-out switch on wget manpage, but I does exist on curl manpage. Could it be a source of issue?
GNU/Linux, opam 2.5.1
While stracing I got the following message.
Indeed, I can't find
--write-outswitch on wget manpage, but I does exist on curl manpage. Could it be a source of issue?