Bug#450510: HASH SUM MISMATCH errors in apt, versions 0.7.6

2007-11-12 Thread Daniel Burrows
  The submitter replied via private email.  It appears that he somehow
got a Packages file without any cryptographic checksums (not sure how);
I get the same behavior if I remove the cryptographic checksums from my
Packages file.  If this is intended behavior (and it makes sense to me),
apt should probably detect the missing sums and generate a different
error from the error it generates for a sum mismatch.

  Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#450510: HASH SUM MISMATCH errors in apt, versions 0.7.6

2007-11-12 Thread Uwe Bugla
Am Montag, 12. November 2007 16:39:48 schrieben Sie:
   The submitter replied via private email.  It appears that he somehow
 got a Packages file without any cryptographic checksums (not sure how);

manually, i. e. naively without using apt-ftparchive as command as a 
consequence of lacking experience :)

 I get the same behavior if I remove the cryptographic checksums from my
 Packages file.  If this is intended behavior (and it makes sense to me),
 apt should probably detect the missing sums and generate a different
 error from the error it generates for a sum mismatch.

I fully agree :)

Error messages should make constructive sense that makes the user sensitive 
for the what and why of the problem.
Would be nice to see some change here in order to avoid future 
misunderstandings..


   Daniel

Regards

Uwe



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#450510: HASH SUM MISMATCH errors in apt, versions 0.7.6

2007-11-11 Thread Daniel Burrows
On Wed, Nov 07, 2007 at 07:46:56PM +0100, Uwe Bugla [EMAIL PROTECTED] was 
heard to say:
 Hello everybody,
 
 (same message as yesterday, ccing all relevant maintainers of apt, apt-utils, 
 aptitude, and synaptic this time)
 
 using Debian Sid I stumble over lots of HASH SUM MISMATCHES in connection 
 with 
 apt versions  0.7.6.

  Could you please send a transcript of an apt session, illustrating the
error you're talking about, to this bug report?  If possible (e.g., they aren't
secret or too large), please also post your sources.list and the contents of the
Packages file that's giving you trouble.

  I just set up a local repository and was able to install packages from
it without any trouble.

 Then you should be able to reproduce the error on your own:
 The relevant package will _hang_ in directory /var/cache/apt/archives/partial.
 It will refuse to get installed at all.

  You're saying apt goes into an infinite loop trying to install your
packages?

  Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#450510: HASH SUM MISMATCH errors in apt, versions 0.7.6

2007-11-07 Thread Uwe Bugla
Package: apt
Version: all versions  0.7.6
Errors: HASH SUM MISMATCH errors

Hello everybody,

(same message as yesterday, ccing all relevant maintainers of apt, apt-utils, 
aptitude, and synaptic this time)

using Debian Sid I stumble over lots of HASH SUM MISMATCHES in connection with 
apt versions  0.7.6.

That concerns only self-built Debian packages that I host locally.
(call them unofficial ones if you may wish).

Within version 0.7.6 or earlier this error does not appear at all.

Can someone reading that please:

a. reproduce the error?

b. fix that bug?

Just take a self-built Debian package which is NOT part of any official distro 
and host it on a local server of your personal choice under f. ex.
var/www/apache2-default/mydebian/pool/main/*/(appname)/(app).

Imply the self-built packages' path to its repository in etc/apt/sources.list
(f. ex.: deb http://192.168.0.1/apache2-default/mydebian/ sid main non-free)

on the server and at least one workstation.

Then try to install the package using synaptic, kpackage or apt-get install...

Then you should be able to reproduce the error on your own:
The relevant package will _hang_ in directory /var/cache/apt/archives/partial.
It will refuse to get installed at all.

That can't be a real solution, can it?

Thanks

Uwe



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]