>>> 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]") [[('hal', '', '')]]
(Succeeds on Natty.)
>>> import apt_pkg init_config( ) config. set("APT: :Architecture" , "i386") init_system( ) parse_src_ depends( "hal [!linux-any]")
>>> apt_pkg.
>>> apt_pkg.
>>> apt_pkg.
>>> apt_pkg.
[[('hal', '', '')]]
(Succeeds on Natty.)