Public bug reported:
Binary package hint: unattended-upgrades
I'm doing unattended-upgrades (0.55ubuntu4) on some Ubuntu 10.04
machines. If i try do give attributes, it crashes. There seems to be a
problem in option parsing.
# unattended-upgrade --help
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 490, in <module>
main()
File "/usr/bin/unattended-upgrade", line 242, in main
(options, args) = parser.parse_args()
File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib/python2.6/optparse.py", line 1434, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib/python2.6/optparse.py", line 1509, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib/python2.6/optparse.py", line 788, in process
self.action, self.dest, opt, value, values, parser)
File "/usr/lib/python2.6/optparse.py", line 810, in take_action
parser.print_help()
File "/usr/lib/python2.6/optparse.py", line 1664, in print_help
file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 112:
ordinal not in range(128)
If I do this on on Ubuntu 9.04 (unattended-upgrades 0.39) it works fine:
# unattended-upgrade --help
Usage: unattended-upgrade [options]
Options:
-h, --help show this help message and exit
-d, --debug print debug messages
** Affects: unattended-upgrades (Ubuntu)
Importance: Undecided
Status: Incomplete
** Tags: lucid
--
Error in option parsing
https://bugs.launchpad.net/bugs/608169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs