Re[2]: [Slapt-get-user] md5 checksum for kernel-ide is not correct!

Jason Woodward slapt-get-user@software.jaos.org
Fri, 09 Jan 2004 10:15:16 -0500


Hi,

> Thanks for your reply but you'd have lost that bet!
> 
> moc@anansi:~/workshop$ find /var/run/slapt-get/ -name kernel-ide-2.4.24-i486-1.tgz -exec
md5sum {} \;
> a7409a91a5ca288b96490ac4e19e20c9 
/var/run/slapt-get/patches/packages/kernel-ide-2.4.24-i486-1.tgz
> 
> moc@anansi:~/workshop$ md5sum
/home/ftp/slackware/slackware-9.1/patches/packages/kernel-ide-2.4.24-i486-1.tgz
> a7409a91a5ca288b96490ac4e19e20c9 
/home/ftp/slackware/slackware-9.1/patches/packages/kernel-ide-2.4.24-i486-1.tgz
> 
> As you can see, I do not have a zero length file under /var/run/slapt-get and the md5sums for
the mirror and the cache match.

Ah, you must've downloaded it in a previous transaction.  The cut and paste you gave me was
from a second attempt and nothing was downloaded b/c the file was already there.  Apologies.
 
> Matches what's in CHECKSUMS.md5 too.  This is starting to smell like a bug to me rather than
user error 
> on my part.  Just ran slapt-get --upgrade again and got the same results as before, slapt-get
--clean 
> didn't make any difference either.  I'd prefer it to be a user error because then I could
learn something 
> and move on, but it doesn't look like it to me at the moment.

More than likely a bug.  The default behavior for 0.9.8 isn't condusive to lots of package
sources that have duplicate entries.  What package sources are you using?  

The forthcoming 0.9.8a (cvs current) does package data caching a bit differently.  What happens
now is that each package source is queried.  The package listing, update packages, and checksum
data are all retrieved for that source, then the checksums are matched to the packages and
updates.  They are stored together in /var/slapt-get/package_data.  This helps when you have
the odd situation where multiple sources have the same packages, in similar directory
structures (some background: the package is located in the checksum file by the location or
directory + package name + version + arch + build + .tgz).   This has also had a nice side
effect of greatly speeding up slapt-get when it is comparing md5 checksums.  So now downloads
are faster as there is no pause between them and detecting cached copies of packages is now
almost instantaneous.

Let me know what package sources you are using.  It might also be helpful if you could try out
the current code in cvs and help me test.  It may take care of your issue.  Let me know!


Take care,
jason

--
Jason Woodward
woodwardj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q+x41i5tJpce+pDmMEl8X0wew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
=4p8c
-----END PGP PUBLIC KEY BLOCK-----

my($c,@s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
$c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########