Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851495 - sys-apps/file-5.42: Fetched file: file-5.42.tar.gz VERIFY FAILED!
Summary: sys-apps/file-5.42: Fetched file: file-5.42.tar.gz VERIFY FAILED!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 08:30 UTC by yongxiang
Modified: 2022-06-12 09:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2022-06-12 08:30:30 UTC
emerge -f sys-apps/file

>>> Fetching (1 of 1) sys-apps/file-5.42::gentoo
>>> Downloading 'http://mirrors.aliyun.com/gentoo/distfiles/44/file-5.42.tar.gz'
--2022-06-12 16:25:43--  http://mirrors.aliyun.com/gentoo/distfiles/44/file-5.42.tar.gz
Connecting to 127.0.0.1:8118... connected.
Proxy request sent, awaiting response... 404 Not Found
2022-06-12 16:25:43 ERROR 404: Not Found.

>>> Downloading 'ftp://ftp.astron.com/pub/file/file-5.42.tar.gz'
--2022-06-12 16:25:43--  ftp://ftp.astron.com/pub/file/file-5.42.tar.gz
           => ‘/var/cache/distfiles/file-5.42.tar.gz.__download__’
Resolving ftp.astron.com... 38.117.134.18, 2620:106:3003:1f00:9e8e:99ff:fe15:cae4
Connecting to ftp.astron.com|38.117.134.18|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/file ... done.
==> SIZE file-5.42.tar.gz ... 1105846
==> PASV ... done.    ==> RETR file-5.42.tar.gz ... done.
Length: 1105846 (1.1M) (unauthoritative)

file-5.42.tar.gz                  100%[=============================================================>]   1.12M  10.1KB/s    in 89s

2022-06-12 16:27:16 (12.9 KB/s) - ‘/var/cache/distfiles/file-5.42.tar.gz.__download__’ saved [1171414]

!!! Fetched file: file-5.42.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1171414
!!! Expected: 1105846
Refetching... File renamed to '/var/cache/distfiles/file-5.42.tar.gz._checksum_failure_.f9rmlt88'

!!! Couldn't download 'file-5.42.tar.gz'. Aborting.
 * Fetch failed for 'sys-apps/file-5.42'

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 08:57:55 UTC
$ wget http://mirrors.aliyun.com/gentoo/distfiles/44/file-5.42.tar.gz
--2022-06-12 09:56:45--  http://mirrors.aliyun.com/gentoo/distfiles/44/file-5.42.tar.gz
Resolving mirrors.aliyun.com... 79.133.176.211, 79.133.176.210, 79.133.176.206, ...
Connecting to mirrors.aliyun.com|79.133.176.211|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-06-12 09:56:49 ERROR 404: Not Found.

And if I compare the copy in /var/cache/distfiles, it's indentical to the one from upstream.

The copy I just fetched from upstream has 1105846.
Comment 2 yongxiang 2022-06-12 09:15:20 UTC
I tested on another vps and the file size is also correct.