[Pkg-rust-maintainers] Bug#1017828: cargo: Fails to update the crates index after the index was squashed
Uli Schlachter
psychon at znc.in
Sun Aug 21 10:24:04 BST 2022
Package: cargo
Version: 0.57.0-7+b1
Severity: important
Tags: upstream
X-Debbugs-Cc: psychon at znc.in
Hi,
recently I tried to update some dependencies of a crate and cargo e.g.
claimed that libc 0.2.126 is the newest version, even though 0.2.127 was
released on August 3rd. I reported [#11009] about this. Someone from
upstream then suggested that this is related to the update from libgit2
1.1 to libgit 1.3 [#9976] and that this issue was already fixed upstream
a while ago [#9979]. If I understand GitHub's UI correctly, the fix is
part of cargo 1.59.
Apparently, somewhere between libgit2 and cargo, something with forced
pushes... happens? I did not really understand the details.
Cheers,
Uli
[#11009]: https://github.com/rust-lang/cargo/issues/11009
[#9976]: https://github.com/rust-lang/cargo/issues/9976
[#9979]: https://github.com/rust-lang/cargo/pull/9979
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (50,
'experimental'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cargo depends on:
ii binutils 2.38.90.20220713-2
ii clang 1:14.0-55.1
ii clang-13 [c-compiler] 1:13.0.1-7
ii clang-14 [c-compiler] 1:14.0.6-2
ii gcc [c-compiler] 4:12.1.0-3
ii gcc-10 [c-compiler] 10.4.0-4
ii gcc-11 [c-compiler] 11.3.0-5
ii gcc-12 [c-compiler] 12.1.0-8
ii gcc-8 [c-compiler] 8.4.0-7
ii gcc-9 [c-compiler] 9.4.0-2
ii libc6 2.34-3
ii libcurl3-gnutls 7.84.0-2
ii libgcc-s1 12.1.0-8
ii libgit2-1.3 1.3.0+dfsg.1-3
ii libssh2-1 1.10.0-3+b1
ii libssl3 3.0.5-2
ii rustc 1.59.0+dfsg1-2
ii zlib1g 1:1.2.11.dfsg-4
cargo recommends no packages.
Versions of packages cargo suggests:
pn cargo-doc <none>
ii python3 3.10.5-3
-- no debconf information
--
I'd be delighted to offer any advice I can. When I have some, I'll let
you know.
More information about the Pkg-rust-maintainers
mailing list