Author: jgg
Date: 1999-06-05 04:33:29 GMT
Fixed handling of MD5 failures
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-item.cc,v 1.30 1999/05/24 03:39:36 jgg Exp $
+// $Id: acquire-item.cc,v 1.31 1999/06/05 04:33:29 jgg Exp $
/* ######################################################################
Acquire Item - Item to acquire
if (Md5Hash != MD5)
{
_error->Error("MD5Sum mismatch for package %s",Version.ParentPkg().Name());
- Rename(DestFile + ".FAILED",DestFile);
+ Rename(DestFile,DestFile + ".FAILED");
return;
}
}
* Suggests dpkg-dev for apt-get source. Closes: #38158
* Fixed typo in apt-get help. Closes: #38712
* Improved the error message in the case of broken held package. Closes: #38777
+ * Fixed handling of MD5 failures
-- Jason Gunthorpe <jgg@debian.org> Wed, 12 May 1999 09:18:49 -0700