How do I know if a package is supported from python-apt

Sebastian Heinlein glatzor at
Fri Jan 12 08:03:37 GMT 2007

On Do, 2007-01-11 at 15:30 +0200, Noam Raphael wrote:

> Thanks! I don't understand all the complexities of package sources,
> but can I assume that if the candidateOrigin list contains one item
> which is supported, then the package is supported?

A short example:

import apt
cache = apt.Cache()
print cache["xterm"].candidateOrigin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the ubuntu-devel mailing list