Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151914 - dev-perl/net-server-0.94 corrupted tarball on some mirrors
Summary: dev-perl/net-server-0.94 corrupted tarball on some mirrors
Status: RESOLVED WONTFIX
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 00:20 UTC by Vladyslav Bakayev
Modified: 2007-09-24 08:14 UTC (History)
2 users (show)

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


Attachments
emerge --info output (emerge-info.txt,2.83 KB, text/plain)
2006-10-19 00:23 UTC, Vladyslav Bakayev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav Bakayev 2006-10-19 00:20:37 UTC
If you will download the file from one of the CPAN sites, the MD5 does match expected one. If you'll retrieve it from one of the gentoo mirrors, it fails MD5 checks. The portage tree is up to date.

# emerge net-server
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-perl/net-server-0.94 to /
!!! Previously fetched file: 'Net-Server-0.94.tar.gz'
!!! Reason: Failed on MD5 verification
!!! Got:      5eea5a9c2466adc1023d2722d352898a
!!! Expected: 2dc5c27056e15b425c9b8421a51fc8dc
Refetching...

>>> Downloading 'http://ftp.easynet.nl/mirror/gentoo/distfiles/Net-Server-0.94.tar.gz'
--09:37:20--  http://ftp.easynet.nl/mirror/gentoo/distfiles/Net-Server-0.94.tar.gz
           => `/usr/portage/distfiles/Net-Server-0.94.tar.gz'
Resolving proxy.kharkov.com... 80.77.40.61
Connecting to proxy.kharkov.com|80.77.40.61|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 83,951 (82K) [application/x-gzip]

100%[====================================>] 83,951         2.00K/s    ETA 00:00

09:38:01 (2.00 KB/s) - `/usr/portage/distfiles/Net-Server-0.94.tar.gz' saved [83951/83951]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking Net-Server-0.94.tar.gz ;-) ...                                [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/Net-Server-0.94.tar.gz
!!! Reason: Failed on MD5 verification
!!! Got: 5eea5a9c2466adc1023d2722d352898a
!!! Expected: 2dc5c27056e15b425c9b8421a51fc8dc

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.5
Last Sync: Thu, 19 Oct 2006 06:00:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 berkdb bitmap-fonts cli cracklib crypt dlloader dri eds elibc_glibc emboss encode esd fortran gdbm gstreamer input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg pam pcre perl png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xmms xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Vladyslav Bakayev 2006-10-19 00:23:00 UTC
Created attachment 99998 [details]
emerge --info output
Comment 2 Vladyslav Bakayev 2006-10-19 00:23:35 UTC
# emerge net-server
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-perl/net-server-0.94 to /
!!! Previously fetched file: 'Net-Server-0.94.tar.gz'
!!! Reason: Failed on MD5 verification
!!! Got:      5eea5a9c2466adc1023d2722d352898a
!!! Expected: 2dc5c27056e15b425c9b8421a51fc8dc
Refetching...

>>> Downloading 'http://ftp.easynet.nl/mirror/gentoo/distfiles/Net-Server-0.94.tar.gz'
--09:37:20--  http://ftp.easynet.nl/mirror/gentoo/distfiles/Net-Server-0.94.tar.gz
           => `/usr/portage/distfiles/Net-Server-0.94.tar.gz'
Resolving proxy.kharkov.com... 80.77.40.61
Connecting to proxy.kharkov.com|80.77.40.61|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 83,951 (82K) [application/x-gzip]

100%[====================================>] 83,951         2.00K/s    ETA 00:00

09:38:01 (2.00 KB/s) - `/usr/portage/distfiles/Net-Server-0.94.tar.gz' saved [83951/83951]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking Net-Server-0.94.tar.gz ;-) ...                                [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/Net-Server-0.94.tar.gz
!!! Reason: Failed on MD5 verification
!!! Got: 5eea5a9c2466adc1023d2722d352898a
!!! Expected: 2dc5c27056e15b425c9b8421a51fc8dc
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 00:30:51 UTC
$ emerge -f --nodeps =dev-perl/net-server-0.94
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-perl/net-server-0.94 to /
>>> Downloading 'ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/distfiles/Net-Server-0.94.tar.gz'
--09:29:42--  ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/distfiles/Net-Server-0.94.tar.gz
           => `/usr/portage/distfiles/Net-Server-0.94.tar.gz'
Resolving ftp.sh.cvut.cz... 147.32.127.222
Connecting to ftp.sh.cvut.cz|147.32.127.222|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /MIRRORS/gentoo/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR Net-Server-0.94.tar.gz ... done.
Length: 83,951 (82K) (unauthoritative)

100%[===================================================================================================>] 83,951        --.--K/s             

09:29:45 (17.87 MB/s) - `/usr/portage/distfiles/Net-Server-0.94.tar.gz' saved [83951]

 * Net-Server-0.94.tar.gz MD5 ;-) ...                                                                                                    [ ok ]
 * Net-Server-0.94.tar.gz RMD160 ;-) ...                                                                                                 [ ok ]
 * Net-Server-0.94.tar.gz SHA1 ;-) ...                                                                                                   [ ok ]
 * Net-Server-0.94.tar.gz SHA256 ;-) ...                                                                                                 [ ok ]
 * Net-Server-0.94.tar.gz size ;-) ...                                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                   [ ok ]
 * checking Net-Server-0.94.tar.gz ;-) ...                                                                                               [ ok ]

$ md5sum /usr/portage/distfiles/Net-Server-0.94.tar.gz
2dc5c27056e15b425c9b8421a51fc8dc  /usr/portage/distfiles/Net-Server-0.94.tar.gz
Comment 4 Vladyslav Bakayev 2006-10-19 03:18:47 UTC
Different mirrors have different file contents. Correct one in your case (file reports it as "gzip compressed data", wrong one in few others (file says "data"):

$ for starturl in ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/; do echo ${starturl};wget -q ${starturl}distfiles/Net-Server-0.94.tar.gz;file Net-Server-0.94.tar.gz;rm Net-Server-0.94.tar.gz;done
ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/
Net-Server-0.94.tar.gz: gzip compressed data, was "Net-Server-0.94.tar", from Unix
http://ftp.easynet.nl/mirror/gentoo/
Net-Server-0.94.tar.gz: data
http://gentoo.inode.at/
Net-Server-0.94.tar.gz: data
ftp://trumpetti.atm.tut.fi/gentoo/
Net-Server-0.94.tar.gz: gzip compressed data, was "Net-Server-0.94.tar", from Unix
ftp://ftp.heanet.ie/pub/gentoo/
Net-Server-0.94.tar.gz: gzip compressed data, was "Net-Server-0.94.tar", from Unix

Should be checked, in my opinion.
Comment 5 Jeffrey Forman (RETIRED) gentoo-dev 2006-12-29 12:54:38 UTC
Apologies on the late response.

Is this still an issue? If so, please reopen the bug.
Comment 6 Vladyslav Bakayev 2006-12-29 14:12:57 UTC
yes, it is still an issue, Net-Server perl module still corrupted on several mirrors - seen this problem once again two days ago.
Comment 7 Shyam Mani (RETIRED) gentoo-dev 2007-05-08 12:23:54 UTC
Timeout, should be fixed by now. Closing.
Comment 8 Vladyslav Bakayev 2007-05-08 14:01:28 UTC
Timeout means noone took any action, and based on this the bug went closed?
Nice, nice.

I am quite sure that I am going to be a pain in the ass, but since 0.94 (see http://packages.gentoo.org/packages/?category=dev-perl;name=net-server) is the latest stable release for x86 and few other architectures, I would reopen the bug.

Hint: use the next command to check file on all listed http mirrors, replace http with ftp for ftp mirrors:

rm -f Net-Server-0.94.tar.gz*; \
wget -q -O - http://www.gentoo.org/main/en/mirrors.xml | \
grep 'a href="http://.*/a><br>' | \
cut -d'"' -f2 | \
while read starturl; do
 echo -en "${starturl} :\t"; \
 wget -q -t 1 -T 30 ${starturl}/distfiles/Net-Server-0.94.tar.gz; \
 test -f Net-Server-0.94.tar.gz && \
  md5sum Net-Server-0.94.tar.gz || \
  echo Failed to get file.; \
 rm -f Net-Server-0.94.tar.gz; \
done

Takes quite some time, but you would see at a glance status like this:
http://linuv.uv.es/mirror/gentoo/ :     Failed to get file.
http://ftp.caliu.info/gentoo :  2dc5c27056e15b425c9b8421a51fc8dc  Net-Server-0.94.tar.gz
http://ftp.du.se/pub/os/gentoo :        Failed to get file.
http://ds.thn.htu.se/linux/gentoo :     2dc5c27056e15b425c9b8421a51fc8dc  Net-Server-0.94.tar.gz

Grepping out correct md5 hash (2dc5c27056e15b425c9b8421a51fc8dc) gives clear view where the junk still is:

http://gentoo.inode.at/ :       5eea5a9c2466adc1023d2722d352898a  Net-Server-0.94.tar.gz
http://public.planetmirror.com/pub/gentoo/ :    d41d8cd98f00b204e9800998ecf8427e  Net-Server-0.94.tar.gz
Comment 9 Robert Baxter 2007-06-03 22:09:54 UTC
we're up to 0.96 now, so this is no longer an issue. Please close bug.
Comment 10 Vladyslav Bakayev 2007-06-03 22:25:28 UTC
> we're up to 0.96 now, so this is no longer an issue.
0.96 is ~ for all platforms.
0.95 is stable for amd64, ppc and sparc
0.94 is stable for rest of platforms, including x86, which is bigger part of installations in field

please use referenced url (http://packages.gentoo.org/packages/?category=dev-perl;name=net-server) to check.
Comment 11 Robert Baxter 2007-06-05 00:14:42 UTC
Pardon me, you are correct. Either way, are you still seeing an issue? All I can say is works for me.
Comment 12 Vladyslav Bakayev 2007-06-12 10:32:21 UTC
Just made another run of the script I've put as "hint" before.
gentoo.inode.at have damaged file, checksum should be 2dc5c27056e15b425c9b8421a51fc8dc:

http://gentoo.inode.at/ :       5eea5a9c2466adc1023d2722d352898a  Net-Server-0.94.tar.gz
ftp://gentoo.inode.at/source/ : 5eea5a9c2466adc1023d2722d352898a  Net-Server-0.94.tar.gz

And those sites didn't serve the request for the file:

http://gentoo.arcticnetwork.ca/
http://gentoo.binarycompass.org
http://mirror.phy.olemiss.edu/mirror/gentoo
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://files.gentoo.org
http://ftp.physics.auth.gr/pub/mirrors/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://ftp.lug.ro/gentoo/
http://linuv.uv.es/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo
http://mirror.isp.net.au/ftp/pub/gentoo/
http://mirror.gentoo.gr.jp
http://mirrors.64hosting.com/pub/mirrors/gentoo/

ftp://ftp.ndlug.nd.edu/pub/gentoo/
ftp://mirror.usu.edu/mirrors/gentoo/
ftp://lug.mtu.edu/gentoo
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://files.gentoo.org
ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/
ftp://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://mirror.scarlet-internet.nl/pub/gentoo
ftp://ftp.rnl.ist.utl.pt/pub/gentoo/
ftp://ftp.du.se/pub/os/gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://mirror.isp.net.au/pub/gentoo/
ftp://gentoo.kems.net/mirrors/gentoo
ftp://mirrors.64hosting.com/pub/mirrors/gentoo/
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-09-24 08:14:03 UTC
0.95 or newer stable everywhere, so use it. This doesn't go anywhere, closing.