Package: python-apt Version: 0.6.17 apt_pkg.GetCache() segfaults if called before apt_pkg.InitSystem(): >>> import apt_pkg >>> apt_pkg.GetCache() Segmentation fault It should raise an exception like other functions do: >>> import apt_pkg >>> apt_pkg.VersionCompare("1","2") Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: _system not initialized Or alternatively, these functions should change to automatically call InitSystem() if the caller hasn't already. - Josh Triplett
Attachment:
signature.asc
Description: OpenPGP digital signature