Comment 4 for bug 787500

Revision history for this message
Colin Watson (cjwatson) wrote :

The attached patch backports what look like the relevant commits from current apt:

        revno: 1327.24.434
        fixes bug(s): http://bugs.debian.org/547724
        committer: Julian Andres Klode <email address hidden>
        branch nick: debian-experimental-ma
        timestamp: Sat 2010-06-26 20:56:44 +0200
        message:
          * apt-pkg/deb/deblistparser.cc:
            - Handle architecture wildcards (Closes: #547724).

        revno: 1327.24.436
        committer: Julian Andres Klode <email address hidden>
        branch nick: debian-experimental-ma
        timestamp: Sat 2010-06-26 23:01:49 +0200
        message:
          apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.

          Previously, linux-any was always matched, because the code simply
          appended linux- to the APT::Architecture value. Now, it does this
          only if the APT::Architecture value does not contain "-".

        revno: 1327.24.437
        committer: Julian Andres Klode <email address hidden>
        branch nick: debian-experimental-ma
        timestamp: Sun 2010-06-27 21:04:53 +0200
        message:
          deblistparser: Special-case *-armel, lpia and powerpcspe architectures.

        revno: 1327.76.1
        author: Sebastian Andrzej Siewior <email address hidden>
        committer: David Kalnischkies <email address hidden>
        branch nick: apt-sid
        timestamp: Thu 2010-10-07 14:50:25 +0200
        message:
          * apt-pkg/deb/deblistparser.cc:
            - support ArmHardFloat port in CompleteArch, thanks to Sebastian
              Andrzej Siewior for the patch!

Michael, does this seem reasonable? Do you think we might be able to backport this to lucid-proposed?