Public bug reported:

When I list the priority of packages using the apt.cache module, I
reliably get a segfault on the latest update of Hardy:

Python 2.5.2 (r252:60911, Feb 26 2008, 14:43:53)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from apt.cache import Cache
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not 
stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
>>> for i in Cache(): j = i.priority
...
Segmentation fault (core dumped)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: hwct

** Tags added: hwct

-- 
python-apt segfaults when listing priorities on Hardy
https://bugs.launchpad.net/bugs/196233
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to