apt preferences file should allow comments (#) (was: [apport] update-manager crashed with SystemError in open())
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: update-manager
Are comments not allowed in the preferences file. Simply changing:
Package: tar
Pin: version 1.15.1-2ubuntu2
Pin-Priority: 1000
to:
#Package: tar
#Pin: version 1.15.1-2ubuntu2
#Pin-Priority: 1000
seems to have caused this defect.
ProblemType: Crash
Date: Sun Feb 4 19:04:37 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: update-manager 0.53.5 [modified: usr/share/
ProcCmdline: /usr/bin/python /usr/bin/
ProcCwd: /home/brian
ProcEnviron:
PATH=/
LANG=en_CA.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: update-manager
Uname: Linux pc 2.6.20-4-generic #2 SMP Fri Jan 5 04:31:55 UTC 2007 i686 GNU/Linux
Changed in apt (Debian): | |
status: | Unknown → Fix Released |
No, comments are not allowed in the apt preferences file.
I will change this to a wishlist bug against apt to allow this.