Update-Manager crash on update "OSError: [Errno 2] no file or directory: './modaliases'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
If i try to make the update from Intrepid (8.10) to Jaunty, on the partial update it exit with this error:
*******
ERROR:root:not handled expection:
Traceback (most recent call last):
File "/usr/bin/
controler.
File "/usr/lib/
if not self.doPostInit
File "/usr/lib/
self.
File "/usr/lib/
func()
File "/usr/lib/
not self._supportIn
File "/usr/lib/
for filename in os.listdir(
OSError: [Errno 2] Nessun file o directory: './modaliases'
ERROR:root:failed to import apport python module, can't report bug: No module named python_hook
*******
Update-manager package is ver. 1:0.93.35
I've tried too:
- creating the directory ./modaliases in /usr/lib/
- inserting also this directory on the Python file in /usr/lib/
- enabling apport in this file /etc/default/apport (with echo enable=1)
But it always stops and i get new errors:
*******
ERROR:root:not handled expection:
Traceback (most recent call last):
File "/usr/bin/
controler.
File "/usr/lib/
if not self.doPostInit
File "/usr/lib/
self.
File "/usr/lib/
func()
File "/usr/lib/
not self._supportIn
File "/usr/lib/
logging.
UnboundLocalError: local variable 'xorgdriver' referenced before assignment
*******
I noted also some similar bugs like the #335416 but without any working solution for this problem.
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
I had exactly the same problem, and I also tried creating dir "modaliases".
However, I looked around filesystem and found that there's /tmp/tmp1AYBN/ modaliases which was probably created by update manager when I first attempted to upgrade from 8.10 to 9.04
I copied all the files:
cp /tmp/tmp1AYBN/ modaliases/ * ~/modaliases
And it worked.