blob: a0fc8dc4cf0773f3319e3581c857761f8909e73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env python
import apt
cache = apt.Cache()
for pkg in cache:
if not pkg.candidateRecord:
continue
if "Task" in pkg.candidateRecord:
print "Pkg %s is part of '%s'" % (
pkg.name, pkg.candidateRecord["Task"].split())
#print pkg.candidateRecord
|