Comment 2 for bug 806428

Revision history for this message
Stéphane Graber (stgraber) wrote :

The error appears when doing:

import apt_pkg, apt
apt_pkg.init_config()
apt_pkg.init_system()

cache = apt_pkg.Cache(apt.progress.base.OpProgress())
srcpkgrecords=apt_pkg.GetPkgSrcRecords()

SystemError: E:You must put some 'source' URIs in your sources.list