[Bug 714970] Re: Need --arch= support in apt-ftparchive

Ubuntu QA's Bug Bot bug-stats at murraytwins.com
Mon Sep 19 21:44:33 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/714970

Title:
  Need --arch= support in apt-ftparchive

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

Bug description:
  Binary package hint: apt

  TEST CASE:
  The important part of this is that it does not introduce regressions. This is the focus of the test
  case. There is no need to verify the "bug" in the old version:

  1. install apt-utils from lucid-proposed
  2. create "repo" dir and download into that:
     https://launchpad.net/ubuntu/+archive/primary/+files/4g8_1.0-3_amd64.deb 
     https://launchpad.net/ubuntu/+archive/primary/+files/4g8_1.0-3_armel.deb 
  3. ensure you are in the "repo" dir and run "apt-ftparchive packages ."
  4. verify that you see two stanzas that start with "Package: 4g8" and that one has
     Architecture: armel and the other Architecture: amd64
  5. now run "apt-ftparchive packages . --arch=armel" and verify that there is only a single stanza
     (with armel as the arch)
  6. repeat for amd64 (expected one stanza) i386 (empty output)
  7. create new repo2 dir and cd into it
  8. download https://launchpad.net/ubuntu/+archive/primary/+files/2vcard_0.5-3_all.deb
  9. run "apt-ftparchive packages ." and very that 2vcard is in the output
  10. run "apt-ftparchive packages . --arch=i386" and verify that 2vcard is in the output
  11. repeat 10 with --arch=amd64 and --arch=armel and verify that 2vcard is part of the output
      (its a arch=all package)


  In order to better publish the Ubuntu archive, we need lucid support
  in apt-ftparchive for --arch=.

  We are currently testing a patch, and will upload it once it is
  confirmed to be sufficient for our needs.  The change is minor and
  isolated to apt-ftparchive.

  Rather than maintain a separate fork for the infrastructure, we would
  like to have this appear in an SRU to lucid.

  thanks,
  lamont

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




More information about the foundations-bugs mailing list