canonical / chisel

GNU Affero General Public License v3.0
270 stars 42 forks source link

error: cannot talk to archive #125

Closed god-is-a-crab closed 7 months ago

god-is-a-crab commented 7 months ago

I have the latest release of chisel v0.9.0. Whenever I add the bash_config slice, I get an error cannot talk to archive.

$ ./chisel cut --root rootfs base-files_base base-files_release-info bash_config libstdc++6_libs
2024/03/08 15:15:37 Consulting release repository...
2024/03/08 15:15:38 Cached ubuntu-22.04 release is still up-to-date.
2024/03/08 15:15:38 Processing ubuntu-22.04 release...
2024/03/08 15:15:38 Selecting slices...
2024/03/08 15:15:38 Fetching ubuntu 22.04 jammy suite details...
2024/03/08 15:15:40 Release date: Thu, 21 Apr 2022 17:16:08 UTC
2024/03/08 15:15:40 Fetching index for ubuntu 22.04 jammy main component...
2024/03/08 15:15:40 Fetching index for ubuntu 22.04 jammy universe component...
2024/03/08 15:15:40 Fetching ubuntu 22.04 jammy-security suite details...
2024/03/08 15:15:41 Release date: Fri, 08 Mar 2024  4:18:30 UTC
2024/03/08 15:15:41 Fetching index for ubuntu 22.04 jammy-security main component...
2024/03/08 15:15:41 Fetching index for ubuntu 22.04 jammy-security universe component...
2024/03/08 15:15:41 Fetching ubuntu 22.04 jammy-updates suite details...
2024/03/08 15:15:41 Release date: Fri, 08 Mar 2024  4:19:31 UTC
2024/03/08 15:15:41 Fetching index for ubuntu 22.04 jammy-updates main component...
2024/03/08 15:15:41 Fetching index for ubuntu 22.04 jammy-updates universe component...
2024/03/08 15:15:41 Fetching pool/main/b/base-files/base-files_12ubuntu4.6_amd64.deb...
2024/03/08 15:15:41 Fetching pool/main/b/bash/bash_5.1-6ubuntu1_amd64.deb...
error: cannot talk to archive: Get "http://archive.ubuntu.com/ubuntu/dists/jammy/../../pool/main/b/bash/bash_5.1-6ubuntu1_amd64.deb": read tcp 10.0.2.15:40898->91.189.91.83:80: read: connection reset by peer

Is this something wrong with chisel? If I take out bash_config, it works fine.

$ ./chisel cut --root rootfs base-files_base base-files_release-info libstdc++6_libs
2024/03/08 15:15:18 Consulting release repository...
2024/03/08 15:15:19 Cached ubuntu-22.04 release is still up-to-date.
2024/03/08 15:15:19 Processing ubuntu-22.04 release...
2024/03/08 15:15:19 Selecting slices...
2024/03/08 15:15:19 Fetching ubuntu 22.04 jammy suite details...
2024/03/08 15:15:21 Release date: Thu, 21 Apr 2022 17:16:08 UTC
2024/03/08 15:15:21 Fetching index for ubuntu 22.04 jammy main component...
2024/03/08 15:15:21 Fetching index for ubuntu 22.04 jammy universe component...
2024/03/08 15:15:21 Fetching ubuntu 22.04 jammy-security suite details...
2024/03/08 15:15:21 Release date: Fri, 08 Mar 2024  4:18:30 UTC
2024/03/08 15:15:21 Fetching index for ubuntu 22.04 jammy-security main component...
2024/03/08 15:15:21 Fetching index for ubuntu 22.04 jammy-security universe component...
2024/03/08 15:15:21 Fetching ubuntu 22.04 jammy-updates suite details...
2024/03/08 15:15:22 Release date: Fri, 08 Mar 2024  4:19:31 UTC
2024/03/08 15:15:22 Fetching index for ubuntu 22.04 jammy-updates main component...
2024/03/08 15:15:22 Fetching index for ubuntu 22.04 jammy-updates universe component...
2024/03/08 15:15:22 Fetching pool/main/b/base-files/base-files_12ubuntu4.6_amd64.deb...
2024/03/08 15:15:22 Fetching pool/main/g/glibc/libc6_2.35-0ubuntu3.6_amd64.deb...
2024/03/08 15:15:22 Fetching pool/main/g/gcc-12/libgcc-s1_12.3.0-1ubuntu1~22.04_amd64.deb...
2024/03/08 15:15:22 Fetching pool/main/g/gcc-12/libstdc++6_12.3.0-1ubuntu1~22.04_amd64.deb...
2024/03/08 15:15:22 Extracting files from package "base-files"...
2024/03/08 15:15:22 Extracting files from package "libc6"...
2024/03/08 15:15:22 Extracting files from package "libgcc-s1"...
2024/03/08 15:15:22 Extracting files from package "libstdc++6"...
cjdcordeiro commented 7 months ago

Hi @god-is-a-crab

I can't reproduce it. It is a network-related error though and those are usually intermittent, and possibly caused by a variety of factors (network quality and reliability, archive availability...). Can you please try again?

god-is-a-crab commented 7 months ago

I'm on a different network and it's working. Thanks.