[Bug 787500] Re: cannot handle b-d [!linux-any]

Colin Watson cjwatson at canonical.com
Thu Jun 9 20:06:16 UTC 2011


With apt 0.7.25.3ubuntu9.5:

>>> import apt_pkg
>>> apt_pkg.init_config()
>>> apt_pkg.config.set("APT::Architecture", "i386")
>>> apt_pkg.init_system()
>>> apt_pkg.parse_src_depends("hal [!linux-any]")
[]
>>> apt_pkg.parse_src_depends("hal [i386]")
[[('hal', '', '')]]
>>> apt_pkg.parse_src_depends("hal [powerpc]")
[]
>>> apt_pkg.parse_src_depends("hal [linux-i386]")
[[('hal', '', '')]]
>>> apt_pkg.parse_src_depends("hal [linux-any]")
[[('hal', '', '')]]
>>> apt_pkg.parse_src_depends("hal [any-i386]")
[[('hal', '', '')]]
>>> apt_pkg.parse_src_depends("hal [linux-any], foo [any-powerpc], bar [hurd-any]")
[[('hal', '', '')]]
>>> apt_pkg.parse_src_depends("hal [linux-any], foo [any-powerpc], bar [!hurd-any]")
[[('hal', '', '')], [('bar', '', '')]]

This all looks correct.  I also did an upgrade of my lucid chroot to a
bunch of batched-up stuff from lucid-updates:

The following packages will be upgraded:
  dhcp3-client dhcp3-common initscripts libdbus-1-3 libgssapi-krb5-2
  libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libpam-modules
  libpam-runtime libpam0g libtiff4 libtiff4-dev libtiffxx0c2 linux-libc-dev
  logrotate ntpdate openssh-client perl perl-base perl-modules sysv-rc
  sysvinit-utils tzdata x11-xserver-utils
26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

... and that succeeded.  I'm happy to call this good.

** Tags added: verification-done
** Tags removed: verification-needed

-- 
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/787500

Title:
  cannot handle b-d [!linux-any]

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

Bug description:
  Binary package hint: germinate

  see gvfs, b-d on hal:

     libhal-dev (>= 0.5.10) [!linux-any]

  but hal shows up in component-mismatches

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




More information about the foundations-bugs mailing list