I committed the following fix to the Debian branch which should fix this
problem.
=== modified file 'apt/package.py'
--- apt/package.py 2010-03-08 14:04:39 +0000
+++ apt/package.py 2010-03-30 10:58:26 +0000
@@ -955,9 +955,9 @@ class Package(object):
"""
path = "/var/lib/dpkg/info/%s.list" % self.name
try:
- file_list = open(path)
+ file_list = open(path, "rb")
try:
- return file_list.read().decode().split("\n")
+ return file_list.read().decode("utf-8").split(u"\n")
finally:
file_list.close()
except EnvironmentError:
** Changed in: python-apt (Ubuntu)
Status: New => In Progress
--
exception raised by installedFiles on unicode filenames
https://bugs.launchpad.net/bugs/407953
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