View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000155 | Rocky-Linux-9 | General | public | 2022-07-20 06:32 | 2023-02-17 03:54 |
Reporter | Andris Pavēnis | Assigned To | Neil Hanlon | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000155: DNF refuses to install RPM packages with error message Interrupted by header callback: Server reports Content-Length: 107 but .. | ||||
Description | I'm getting error message: [MIRROR] elfutils-devel-0.186-1.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 54599 when trying to install elfutils-devel from Circle-CI build job (Our own docker image based on rockylinux:9). I added output of 'dnf install Is additional in section for additional information (looged in into Circle-CI job using SSH): I tried to run build the same project locally using 'circleci local execute --job=...' (the same Docker image based on rockylinux:9) and got the same problem with trying to install boost-devel: [MIRROR] boost-devel-1.75.0-6.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 11344532 (that worked OK some days ago using 'circleci local execute ...') | ||||
Steps To Reproduce | [MIRROR] boost-devel-1.75.0-6.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 11344532 | ||||
Additional Information | [rpmbuild@b60bda59c48f project]$ sudo dnf install elfutils-devel Rocky Linux 9 - AppStream 39 kB/s | 3.6 kB 00:00 FMI SmartMet Open Packages for Enterprise Linux - 9 - x86_64 4.2 kB/s | 2.9 kB 00:00 FMI SmartMet Open Packages for Enterprise Linux 9 - x86_64 - Debug 5.5 kB/s | 2.9 kB 00:00 FMI SmartMet Open External Packages for Enterprise Linux - 9 - x86_64 5.5 kB/s | 2.9 kB 00:00 FMI SmartMet Open External Packages for Enterprise Linux 9 - x86_64 - Debug 5.4 kB/s | 2.9 kB 00:00 FMI SmartMet Open External Packages for Enterprise Linux - 9 - x86_64 5.5 kB/s | 2.9 kB 00:00 FMI SmartMet Open Beta Packages for Enterprise Linux 9 - x86_64 - Beta versions 5.5 kB/s | 2.9 kB 00:00 Dependencies resolved. ================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================== Installing: elfutils-devel x86_64 0.186-1.el9 appstream 53 k Installing dependencies: elfutils-libelf-devel x86_64 0.186-1.el9 appstream 27 k libzstd-devel x86_64 1.5.1-2.el9 appstream 46 k xz-devel x86_64 5.2.5-8.el9_0 appstream 52 k zlib-devel x86_64 1.2.11-31.el9_0.1 appstream 44 k Transaction Summary ================================================================================================================================== Install 5 Packages Total size: 222 k Total download size: 53 k Installed size: 719 k Is this ok [y/N]: y Downloading Packages: [SKIPPED] xz-devel-5.2.5-8.el9_0.x86_64.rpm: Already downloaded [SKIPPED] elfutils-libelf-devel-0.186-1.el9.x86_64.rpm: Already downloaded [SKIPPED] libzstd-devel-1.5.1-2.el9.x86_64.rpm: Already downloaded [SKIPPED] zlib-devel-1.2.11-31.el9_0.1.x86_64.rpm: Already downloaded [MIRROR] elfutils-devel-0.186-1.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 54599 [MIRROR] elfutils-devel-0.186-1.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 54599 [MIRROR] elfutils-devel-0.186-1.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 54599 [MIRROR] elfutils-devel-0.186-1.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 107 but expected size is: 54599 [FAILED] elfutils-devel-0.186-1.el9.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Error downloading packages: elfutils-devel-0.186-1.el9.x86_64: Cannot download, all mirrors were already tried without success Content of /etc/yum.repos.d/rocky.repo (removed unrelated sections as elfutils-devel should come from apstream repo): [rpmbuild@b60bda59c48f project]$ cat /etc/yum.repos.d/rocky.repo # rocky.repo # # The mirrorlist system uses the connecting IP address of the client and the # update status of each mirror to pick current mirrors that are geographically # close to the client. You should use this for Rocky updates unless you are # manually picking other mirrors. # # If the mirrorlist does not work for you, you can try the commented out # baseurl line instead. .... [appstream] name=Rocky Linux $releasever - AppStream #mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever&rltype=$rltype baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=1 countme=1 metadata_expire=6h gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9-Testing ... | ||||
Tags | No tags attached. | ||||
Works from same Circle-CI job if mirrorlist is used instead of the default baseurl value. It should however work also with the default baseurl value. |
|
Hello. This update should bring the container to the correct release version that uses the mirror list. https://github.com/docker-library/official-images/pull/12825 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-20 06:32 | Andris Pavēnis | New Issue | |
2022-07-20 06:42 | Andris Pavēnis | Note Added: 0000289 | |
2022-07-20 07:01 | Louis Abel | Assigned To | => Neil Hanlon |
2022-07-20 07:01 | Louis Abel | Status | new => assigned |
2022-07-20 21:44 | Louis Abel | Note Added: 0000294 | |
2023-02-17 03:54 | Neil Hanlon | Status | assigned => closed |
2023-02-17 03:54 | Neil Hanlon | Resolution | open => fixed |