Não é possível desinstalar ou reinstalar o desktop do Ubuntu

1

A opção uninstall-wubi não funciona.

Quando eu tento reinstalá-lo, eles mostram um erro e me dizem para verificar "wubi 12.04 rev266" log

Tudo vai bem até o fundo, o que mostra isso:

There is another file or directory with this name.
Please remove it before continuing.
Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 81, in select_target_dir
Exception: Cannot install into C:\ubuntu.
There is another file or directory with this name.
Please remove it before continuing.
05-25 15:20 DEBUG  TaskList: # Cancelling tasklist
05-25 15:20 DEBUG  TaskList: # Finished tasklist
05-25 15:20 ERROR  root: Cannot install into C:\ubuntu.
There is another file or directory with this name.
Please remove it before continuing.
Traceback (most recent call last):
  File "\lib\wubi\application.py", line 58, in run
  File "\lib\wubi\application.py", line 132, in select_task
  File "\lib\wubi\application.py", line 158, in run_installer
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 81, in select_target_dir
Exception: Cannot install into C:\ubuntu.
There is another file or directory with this name.
Please remove it before continuing.

O que eu faço? Eu tentei a opção desinstalar wubi, mas tudo o que mostra é "reinstalar usando configurações recomendadas que não fazem nada"

Ok, tentei instalá-lo em outro hardrive e consegui isto:

Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 117, in create_uninstaller
  File "\lib\wubi\backends\win32\registry.py", line 45, in set_value
WindowsError: [Errno 5] Access is denied
05-26 16:12 DEBUG  TaskList: # Cancelling tasklist
05-26 16:12 DEBUG  TaskList: # Finished tasklist
05-26 16:12 ERROR  root: [Errno 5] Access is denied
Traceback (most recent call last):
  File "\lib\wubi\application.py", line 58, in run
  File "\lib\wubi\application.py", line 132, in select_task
  File "\lib\wubi\application.py", line 158, in run_installer
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 117, in create_uninstaller
  File "\lib\wubi\backends\win32\registry.py", line 45, in set_value
WindowsError: [Errno 5] Access is denied
    
por sherwyngsw 25.05.2012 / 09:54

3 respostas

2

Renomeie ou remova o diretório C:\ubuntu e execute wubi.exe novamente.

Como diz no log:

Exception: Cannot install into C:\ubuntu. There is another file or directory with this name. Please remove it before continuing.

    
por bcbc 25.05.2012 / 18:45
1

Abra os programas Adicionar / Remover em suas janelas, haverá o programa wubi instalado, desinstale-o e tente novamente.

tudo de bom.

    
por rɑːdʒɑ 25.05.2012 / 09:59
0

Sua desinstalação do wubi deve ser executada a partir do Windows, não do Ubuntu. (isso irá remover o Ubuntu completamente do seu sistema). Reinstale o desktop do Ubuntu: = deve ser feito no sistema Ubuntu.

    
por Julien Chau 25.05.2012 / 16:08