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

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


Hi,

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
this.

Michael, please prove me wrong. :)

Thanks,

Pitti
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20070110/6d1ed5bb/attachment.pgp 


More information about the ubuntu-devel mailing list