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

Martin Pitt martin.pitt at
Wed Jan 10 14:12:05 GMT 2007


Noam Raphael [2006-12-27 23:18 +0200]:
> Is there a way to get from python-apt the info of whether a package is
> supported or not? I'm trying to write a utility that will assist in
> removing unneeded packages, and it seems to me that knowing whether a
> package is supported or not can help decide whether to remove a
> package or not.

Such a feature would greatly help me in apport as well for deciding
the origin of a particular package (and not report things if it's not
an Ubuntu package). However, since we cannot assume anything about the
user's apt sources I doubt that there is a solid method to determine

Michael, please prove me wrong. :)


Martin Pitt
Ubuntu Developer
Debian Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 

More information about the ubuntu-devel mailing list