apt upgrade - 对端重置连接

apt upgrade - 对端重置连接

Jammy 安装非常新。设置中没有做任何更改。我可以apt update毫无问题地使用。没有代理。没有 VPN。我尝试了:

  • 两个不同的 WiFi

  • 等待一周,以防问题出在服务器端

  • 根据建议添加修复缺失标志

  • apt-get update -> 无需更新

  • apt-get upgrade -> 同样的结果是

  • 逐个升级这些软件包 -> 看起来 apt 无论如何都会尝试一次性更新它们,但出现同样的错误

    ewa@ewa-desktop:~$ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      libldap-2.5-0 libldap-common linux-firmware python3-update-manager
      update-manager update-manager-core
    6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 267 MB/268 MB of archives.
    After this operation, 466 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
    Ign:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29
    Get:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
    Ign:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29
    Get:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
    Ign:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29
    Get:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
    Ign:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29
    Get:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
    Err:1 http://pl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29
      Error reading from server - read (104: Connection reset by peer) [IP: 153.19.251.225 80]
    E: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_20220329.git681281e4-0ubuntu3.29_all.deb  Error reading from server - read (104: Connection reset by peer) [IP: 153.19.251.225 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    

答案1

在软件更新程序应用程序中,在设置...下,您可以在已知的存储库/镜像之间进行选择。

选择您现在正在使用的存储库以外的其他存储库,例如 Ubuntu 主存储库,但我认为任何一个都可以。

相关内容