[Bug 2139436] Re: cargo fetch fails with "invalid version 0 on git_proxy_options" error

Brent Kerby 2139436 at bugs.launchpad.net
Fri Mar 6 16:14:06 UTC 2026


@neotryum Would rustc-1.91 work for your use case? This package has the
fix and is now available in Ubuntu 24.04. Because of the Rust
toolchain's backwards compatibility, switching to an updated toolchain
should generally work without issue.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.85 in Ubuntu.
https://bugs.launchpad.net/bugs/2139436

Title:
  cargo fetch fails with "invalid version 0 on git_proxy_options" error

Status in rustc-1.83 package in Ubuntu:
  New
Status in rustc-1.84 package in Ubuntu:
  New
Status in rustc-1.85 package in Ubuntu:
  Confirmed
Status in rustc-1.89 package in Ubuntu:
  New
Status in rustc-1.83 source package in Jammy:
  New
Status in rustc-1.84 source package in Jammy:
  New
Status in rustc-1.85 source package in Jammy:
  New
Status in rustc-1.89 source package in Jammy:
  New
Status in rustc-1.83 source package in Noble:
  New
Status in rustc-1.84 source package in Noble:
  New
Status in rustc-1.85 source package in Noble:
  New
Status in rustc-1.89 source package in Noble:
  New

Bug description:
  Hello!

  I actually tried rustc-1.85, 1.89, 1.84, 1.83, and all of them fail.
  Looks like only 1.82 version (cargo-1.82) works and < 1.82 including
  default 1.75.

  Checked both Ubuntu 22.04 and 24.04. Both are the same.

  The problem happens when git-ssh dependencies are used. Looks like
  this may be related to incompatibility of cargo and libgit versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2139436/+subscriptions




More information about the foundations-bugs mailing list