[Slackbuilds-users] zim md5sum mis-match

Ricardo J. Barberis ricardo at palmtx.com.ar
Tue Nov 14 22:28:20 UTC 2017


El Martes 14/11/2017 a las 19:00, Brenton Earl escribió:
> On Tue, 2017-11-14 at 21:13 +0100, Matteo Bernardini wrote:
> > 2017-11-14 20:34 GMT+01:00 Brenton Earl <brent at exitstatusone.com>:
> > > On Tue, 2017-11-14 at 11:06 -0800, Rich Shepard wrote:
> > > >    Downloaded zim-0.67.tar.gz; SBo shows md5sum
> > > > (e87975727f1166c723912c949bea51f2)
> > > >
> > > >    The downloaded file shows md5sum
> > > > (6c3cddd2c48a894a32ce4c7796dd8ddc).
> > >
> > > I just built zim with sbopkg in both x86 and x86_64 fresh Slackware
> > > 14.2 virtual machines without issue.  Zim runs as expected in X as
> > > well.
> > >
> > > Please double check that you have the right files.
> >
> > Hi Brenton,
> >
> > it looks like the tar.gz has a different dimension and different md5
> > at every download with wget here
> >
> > $ ls -1 zim-0.67.tar.gz*
> > zim-0.67.tar.gz
> > zim-0.67.tar.gz.1
> > zim-0.67.tar.gz.2
> > zim-0.67.tar.gz.3
> > $ md5sum zim*
> > dffaac1401f62db18862633bcec443d8  zim-0.67.tar.gz
> > 0709950d79ffcb24b5f621672405ed9e  zim-0.67.tar.gz.1
> > 513786446c319989791cafde60a2d2ac  zim-0.67.tar.gz.2
> > 3259556cbf87ce054d31a41de2194d62  zim-0.67.tar.gz.3
>
> As a test I downloaded zim with wget on my CentOS 7.4 machine.  The zim
> md5sum on my CentOS 7 installation matches for every copy downloaded.
> On my Slackware installations a download of zim with wget does not
> match, but downloads with the links (web browser) do match.  Sbopkg
> does not report a md5sum mismatch.
>
> I am not really sure what I can do to fix this.  Does anyone have any
> suggestions?

Some issue with wget's compression detection?

$ LANG=C wget http://zim-wiki.org/downloads/zim-0.67.tar.gz -O zim-0.67.tar.gz ; md5sum zim-0.67.tar.gz ; rm -f zim-0.67.tar.gz
--2017-11-14 19:24:13--  http://zim-wiki.org/downloads/zim-0.67.tar.gz
Resolving zim-wiki.org... 95.170.72.161, 2a01:7c8:eb:0:95:170:72:161
Connecting to zim-wiki.org|95.170.72.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/gzip]
Saving to: 'zim-0.67.tar.gz'

zim-0.67.tar.gz                               [         <=>                                                                          ]   1.94M  1.15MB/s    in 1.7s

2017-11-14 19:24:15 (1.15 MB/s) - 'zim-0.67.tar.gz' saved [2035901]

3259556cbf87ce054d31a41de2194d62  zim-0.67.tar.gz



With '--compression=none' the md5sum matches what's on SBo:

$ LANG=C wget --compression=none http://zim-wiki.org/downloads/zim-0.67.tar.gz -O zim-0.67.tar.gz ; md5sum zim-0.67.tar.gz ; rm -f zim-0.67.tar.gz
--2017-11-14 19:24:22--  http://zim-wiki.org/downloads/zim-0.67.tar.gz
Resolving zim-wiki.org... 95.170.72.161, 2a01:7c8:eb:0:95:170:72:161
Connecting to zim-wiki.org|95.170.72.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2034747 (1.9M) [application/gzip]
Saving to: 'zim-0.67.tar.gz'

zim-0.67.tar.gz                           100%[=====================================================================================>]   1.94M  1.15MB/s    in 1.7s

2017-11-14 19:24:24 (1.15 MB/s) - 'zim-0.67.tar.gz' saved [2034747/2034747]

e87975727f1166c723912c949bea51f2  zim-0.67.tar.gz


Cheers,
-- 
Ricardo J. Barberis
Usuario Linux Nº 250625: http://counter.li.org/
Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
Senior SysAdmin / IT Architect - www.DonWeb.com


More information about the SlackBuilds-users mailing list