package language-selector-common 0.2.10 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was updating Hardy Heron and I got the following error:
Preparing to replace language-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
lines = self.read_
File "/usr/bin/
self.
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
lines = self.read_
File "/usr/bin/
self.
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
lines = self.read_
File "/usr/bin/
self.
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Same for me when upgrading to Hardy from Gutsy.