Hm, this is confusing:
$ cat test.py
import apt_pkg
import apt_inst
import sys
debfile = sys.argv[1]
control = apt_inst.DebFile(debfile).control.extractdata("control")
sections = apt_pkg.TagSection(control)
print sections["Package"]
egon@top:/tmp$ python test.py brltty_4.2-8ubuntu1_amd64.deb
brltty
what is the output of
$ md5sum /var/cache/apt/archives/brltty_4.2-8ubuntu1_amd64.deb
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/724994
Title:
SystemError: E:Unparsable control file
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs