[Bug 724994] Re: SystemError: E:Unparsable control file

2011-04-06 Thread Launchpad Bug Tracker
** Branch linked: lp:unattended-upgrades -- 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

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-04-06 Thread Michael Vogt
** Changed in: unattended-upgrades (Ubuntu) Status: Confirmed = In Progress ** Changed in: unattended-upgrades (Ubuntu) Importance: Undecided = High ** Also affects: unattended-upgrades (Ubuntu Natty) Importance: High Status: In Progress -- You received this bug

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-04-06 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 0.71ubuntu1 --- unattended-upgrades (0.71ubuntu1) natty; urgency=low * debian/po/da.po: - added, thanks toJoe Dalton (closes: #619320) * unattended-upgrade, test/test_conffile.py: - use

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Fabien Tassin
-- 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 ubuntu-bugs@lists.ubuntu.com

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Michael Vogt
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

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Fabien Tassin
2214af036daec03e20b54b521dc33bbc /var/cache/apt/archives/brltty_4.2-8ubuntu1_amd64.deb $ python test.py /var/cache/apt/archives/brltty_4.2-8ubuntu1_amd64.deb brltty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Fabien Tassin
...but your test file is very different from the faulty code: # get conffile value from pkg pkg_conffiles = apt_inst.debExtractControl( open(destFile), conffiles) with destFile =

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Michael Vogt
Thanks, indeed - I looked at line 120 in my trunk code which is different from the natty packages. I can reproduce the failure now. -- 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:

[Bug 724994] Re: SystemError: E:Unparsable control file

2011-02-25 Thread Fabien Tassin
Good, moving to confirmed then. ** Changed in: unattended-upgrades (Ubuntu) Status: New = Confirmed -- 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