SystemError: E:Unparsable control file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: unattended-upgrades
got that from cron this morning:
/etc/cron.
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
if conffile_
File "/usr/bin/
open(destFile), "conffiles")
SystemError: E:Unparsable control file
===
in debug mode:
check_conffile_
found pkg: brltty-x11
conffile line: /etc/brltty/
current md5: 9f9e568c2818f63
<apt_pkg.
check_conffile_
found pkg: brltty
conffile line: /etc/brltty/
Fetched 0 B in 0s (0 B/s)
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
if conffile_
File "/usr/bin/
open(destFile), "conffiles")
SystemError: E:Unparsable control file
yet that file is not empty:
-rw-r--r-- 1 root root 61 2010-06-17 08:50 /etc/brltty/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unattended-upgrades 0.65ubuntu2
ProcVersionSign
Uname: Linux 2.6.37-6-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Feb 25 15:02:47 2011
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=
SourcePackage: unattended-upgrades
Related branches
Changed in unattended-upgrades (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
Hm, this is confusing:
$ cat test.py
import apt_pkg
import apt_inst
import sys
debfile = sys.argv[1] DebFile( debfile) .control. extractdata( "control" ) TagSection( control) 4.2-8ubuntu1_ amd64.deb
control = apt_inst.
sections = apt_pkg.
print sections["Package"]
egon@top:/tmp$ python test.py brltty_
brltty
what is the output of apt/archives/ brltty_ 4.2-8ubuntu1_ amd64.deb
$ md5sum /var/cache/