gpt4 book ai didi

visual-studio-code - Linux deb repo 似乎坏了

转载 作者:行者123 更新时间:2023-12-04 10:54:01 25 4
gpt4 key购买 nike

Linux deb repo 似乎包含一些错误:

这是我从 apt 更新中得到的:

Get:14 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [156 kB] Err:14 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages File has unexpected size (156354 != 156065). Mirror sync in progress? [IP: 13.74.252.37 80] Hashes of expected file: - Filesize:156065 [weak] - SHA512:12e6dffcd247d1ff067acfa61a3c4eb6078c326c2858feb4f6f141a1d809e22292a78282414a5c103038ea80bb63cd734c7516782c9809c341335083d4e7611b - SHA256:c850f35f1979831ac75641978c397e51519fa22313598ec12bde5f52277044c0 - SHA1:1f65f4a7388c22bcf7b7f30fb7bc337c60d94b2e [weak] - MD5Sum:4153a12e4a5629bfb14ed98f4c8ac234 [weak] Release file created at: Thu, 12 Dec 2019 19:59:19 +0000 Reading package lists... Done E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (156354 != 156065). Mirror sync in progress? [IP: 13.74.252.37 80] Hashes of expected file: - Filesize:156065 [weak] - SHA512:12e6dffcd247d1ff067acfa61a3c4eb6078c326c2858feb4f6f141a1d809e22292a78282414a5c103038ea80bb63cd734c7516782c9809c341335083d4e7611b - SHA256:c850f35f1979831ac75641978c397e51519fa22313598ec12bde5f52277044c0 - SHA1:1f65f4a7388c22bcf7b7f30fb7bc337c60d94b2e [weak] - MD5Sum:4153a12e4a5629bfb14ed98f4c8ac234 [weak]

https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2”实际文件大小为:156354文件“https://packages.microsoft.com/repos/vscode/dists/stable/InRelease”表明大小为 156065。

此外:

gpg --verify Release.gpg Release

gpg: Signature made jue 12 dic 2019 20:59:31 CET

gpg: using RSA key EB3E94ADBE1229CF

gpg: BAD signature from "Microsoft (Release signing) <gpgsecurity@microsoft.com>" [unknown]

最佳答案

尝试以下命令。首先,删除 source.list.d 中所有与 vscode 相关的文件,然后更新您的包。

sudo rm -rf /etc/apt/sources.list.d/vscode.list*
sudo apt-get update

关于visual-studio-code - Linux deb repo 似乎坏了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59325370/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com