[Bug 633967] Re: apt-ftparchive generates corrupt Sources stanzas for .dsc files without Checksums-* fields

Ubuntu QA's Bug Bot bug-stats at murraytwins.com
Mon Sep 19 21:28:56 UTC 2011


** Tags added: testcase

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/633967

Title:
  apt-ftparchive generates corrupt Sources stanzas for .dsc files
  without Checksums-* fields

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” source package in Lucid:
  Fix Released
Status in “apt” source package in Maverick:
  Fix Released

Bug description:
  Binary package hint: apt

  TEST CASE:
  1. use lucid
  2. run ( cd /tmp ; apt-get source -d appconfig ; apt-ftparchive sources .)
  3. verify that there is a empty line between Checksums-Sha1 and Checksums-Sha256

  4. instal apt from lucid-proposed
  5. repeat step 2
  6. verify that the empty line is gone

  The Ubuntu master archive system was recently upgraded to lucid, and
  now our Sources files are corrupt in places.  It appears to happen to
  source packages that are old enough not to have Checksums-* fields in
  their .dsc files, so apt-ftparchive has to synthesise them.  The
  stanzas look like this:

  Package: appconfig
  Binary: libappconfig-perl
  Version: 1.56-2
  Priority: optional
  Section: interpreters
  Maintainer: Stefan Hornburg (Racke) <racke at linuxia.de>
  Build-Depends: perl (>= 5.6.0-16), debhelper (>= 3.0.18)
  Architecture: all
  Standards-Version: 3.6.1.0
  Format: 1.0
  Directory: pool/main/a/appconfig
  Files:
   732e037fe9182c2081aac4ffdc9707dd 713 appconfig_1.56-2.dsc
   b65cd919279777ce55eebb3ab4994e7b 54410 appconfig_1.56.orig.tar.gz
   4c8153d70c670b7a105108cb35ca325f 72366 appconfig_1.56-2.diff.gz
  Checksums-Sha1:
   e7ea3cb3eb178191662baa4dc4cc9c8d35fab828 713 appconfig_1.56-2.dsc

  Checksums-Sha256:
   6a50dc97fa795000fb5f069aa89f7321aa90c73794daad4c50ec66bb382a2f5a 713 appconfig_1.56-2.dsc

  The blank lines after Checksums-Sha1: and Checksums-Sha256: contain a
  single space.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/633967/+subscriptions




More information about the foundations-bugs mailing list