Autor Tópico: Problema instalação de programas  (Lida 2231 vezes)

Offline Raizdecimal

  • Usuário Ubuntu
  • *
  • Mensagens: 33
    • Ver perfil
Problema instalação de programas
« Online: 23 de Junho de 2010, 18:14 »
Olá a todos. Estou com problemas durante a instalação de programas (em tudo: pacote no gerenciador, software center e terminal).
Com o comando apt-get upgrade, por exemplo, aparece:

felipe@felipe-laptop:/usr/bin$ sudo apt-get upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
9 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0B adicionais de espaço em disco serão usados.
Você quer continuar [S/n]? 
Configurando python-uno (1:3.2.0-7ubuntu4.1) ...
Compiling /usr/lib/python3.1/dist-packages/uno.py ...
  File "/usr/lib/python3.1/dist-packages/uno.py", line 284
    except RuntimeException,e:
                           ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/unohelper.py ...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (unohelper.py, line 140)
pycentral: pycentral pkginstall: error byte-compiling files (2)
pycentral pkginstall: error byte-compiling files (2)
dpkg: erro processando python-uno (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas de dependência impedem a configuração de openoffice.org-emailmerge:
 openoffice.org-emailmerge depende de python-uno; porém:
  Pacote python-uno não está configurado ainda.
dpkg: erro processando openoffice.org-emailmerge (--configure):
 problemas de dependência - deixando desconfigurado
Configurando python-numeric (24.2-9ubuntu1) ...
Nenhum relatório do apport gravado porque a mensagem de erro indica é o seguimento de um erro de uma falha anterior.

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/u1fsfsm.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/u1fsfsm.py", line 4
    state_machine = {'events': {u'AQ_DIR_DELETE_ERROR': [{'ACTION': u'md.create(path=path, uuid=uuid, type=type) aq.query(uuid=uuid)',
                                                     ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/volume_manager.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/volume_manager.py", line 332
    os.chmod(self.m.shares_dir, 0555)
                                   ^
SyntaxError: invalid token

pycentral: pycentral pkginstall: error byte-compiling files (28)
pycentral pkginstall: error byte-compiling files (28)
dpkg: erro processando telepathy-butterfly (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    dpkg: problemas de dependência impedem a configuração de ubuntuone-client:
 ubuntuone-client depende de python-ubuntuone-client (= 1.2.2-0ubuntu2); porém:
  Pacote python-ubuntuone-client não está configurado ainda.
dpkg: erro processando ubuntuone-client (--configure):
 problemas de dependência - deixando desconfigurado
dpkg: problemas de dependência impedem a configuração de ubuntuone-client-gnome:
 ubuntuone-client-gnome depende de ubuntuone-client (= 1.2.2-0ubuntu2); porém:
  Pacote ubuntuone-client não está configurado ainda.
dpkg: erro processando ubuntuone-client-gnome (--configure):
 problemas de dependência - deixando desconfigurado
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    Nenhum relatório do apport gravado porque MaxReports já foi atingido
              Configurando python-van.pydeb (1.3.1-1) ...
Compiling /usr/lib/python3.1/dist-packages/van/pydeb/__init__.py ...
  File "/usr/lib/python3.1/dist-packages/van/pydeb/__init__.py", line 147
    print {'py_to_src': py_to_src,
          ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (51)
pycentral pkginstall: error byte-compiling files (51)
dpkg: erro processando python-van.pydeb (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    Processando gatilhos para python-central ...
Configurando labyrinth (0.4.1-0ubuntu4) ...
Compiling /usr/lib/python3.1/dist-packages/labyrinth/Browser.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/Browser.py", line 181
    print "Window for map '%s' is already open" % map.title
                                              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py", line 539
    print "Unknown node type: "+str(n.nodeName)
                              ^

pycentral: pycentral pkginstall: error byte-compiling files (18)
pycentral pkginstall: error byte-compiling files (18)
dpkg: erro processando labyrinth (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    Erros foram encontrados durante o processamento de:
 python-uno
 openoffice.org-emailmerge
 python-ubuntuone-client
 telepathy-butterfly
 ubuntuone-client
 ubuntuone-client-gnome
 python-van.pydeb
 labyrinth
E: Sub-process /usr/bin/dpkg returned an error code (1)
felipe@felipe-laptop:/usr/bin$


Eu excluí várias linhas da saída original pois todas mostravam apenas esse erro de sintaxe do python. A minha versão default ($python -V) é 2.6(.5).
E meu arquivo /bin/share/python/debian_defaults está assim:

Código: [Selecionar]
[DEFAULT]
# the default python version
default-version = python2.6

# all supported python versions
supported-versions = python2.5, python2.6, python3.0, python3.1

# formerly supported python versions
old-versions = python2.3, python2.4, python2.5

# unsupported versions, including older versions
unsupported-versions = python2.3, python2.4

Já tentei mudar as versões (2.5,2.6 e 3), mas sempre que eu mudo aparecem erros mostrando que eu deveria estar usando a outra versão.
O que eu faço? Obrigado!

Offline mpmoraes

  • Usuário Ubuntu
  • *
  • Mensagens: 516
  • Rio de Janeiro - RJ
    • Ver perfil
Re: Problema instalação de programas
« Resposta #1 Online: 24 de Junho de 2010, 08:54 »
Tenta:
Citar
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
depois disso tenta instalar os programas que desja e posta aqui o resultado...
Ubuntu 12.04 - AMD64 Notebook: Compaq Q40-714br, Intel Core 2 Duo T6600 2.2GHz Memória 4GB HD 500GB DVD-RW

Offline Raizdecimal

  • Usuário Ubuntu
  • *
  • Mensagens: 33
    • Ver perfil
Re: Problema instalação de programas
« Resposta #2 Online: 24 de Junho de 2010, 14:08 »
felipe@felipe-laptop:~$ sudo dpkg --configure -a
[sudo] password for felipe:
Sorry, try again.
[sudo] password for felipe:
Configurando python-ubuntuone-client (1.2.2-0ubuntu2) ...
Compiling /usr/lib/python3.1/dist-packages/ubuntuone/logger.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/logger.py", line 239
    raise exc_type, exc_value, traceback
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/oauthdesktop/auth.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/oauthdesktop/auth.py", line 246
    except IOError, e:
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/action_queue.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/action_queue.py", line 298
    except Exception, e: # pylint: disable-msg=W0703
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/dbus_interface.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 452
    except KeyError, e:
                   ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/file_shelf.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/file_shelf.py", line 60
    except OSError, e:
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 224
    os.chmod(self.partials_dir, 0755)
                                   ^
SyntaxError: invalid token

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm.py", line 138
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm_draw.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm_draw.py", line 39
    print "Parsing file...   (%s)" % time.ctime()
                                 ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm_parser.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/fsm/fsm_parser.py", line 109
    self.rules = document.Sheets.getByName(u'rules')
                                                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/hash_queue.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/hash_queue.py", line 73
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/local_rescan.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/local_rescan.py", line 207
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/main.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/main.py", line 319
    gnomekeyring.DeniedError), e:
                             ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/sync.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/sync.py", line 382
    except OSError, e:
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/tools.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/tools.py", line 135
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/u1fsfsm.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/u1fsfsm.py", line 4
    state_machine = {'events': {u'AQ_DIR_DELETE_ERROR': [{'ACTION': u'md.create(path=path, uuid=uuid, type=type) aq.query(uuid=uuid)',
                                                     ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/volume_manager.py ...
  File "/usr/lib/python3.1/dist-packages/ubuntuone/syncdaemon/volume_manager.py", line 332
    os.chmod(self.m.shares_dir, 0555)
                                   ^
SyntaxError: invalid token

pycentral: pycentral pkginstall: error byte-compiling files (32)
pycentral pkginstall: error byte-compiling files (32)
dpkg: erro processando python-ubuntuone-client (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas de dependência impedem a configuração de ubuntuone-client:
 ubuntuone-client depende de python-ubuntuone-client (= 1.2.2-0ubuntu2); porém:
  Pacote python-ubuntuone-client não está configurado ainda.
dpkg: erro processando ubuntuone-client (--configure):
 problemas de dependência - deixando desconfigurado
Configurando telepathy-butterfly (0.5.11-0ubuntu1) ...
Compiling /usr/lib/python3.1/dist-packages/butterfly/aliasing.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/aliasing.py", line 63
    alias = u""
              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/capabilities.py ...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (capabilities.py, line 103)
Compiling /usr/lib/python3.1/dist-packages/butterfly/channel/media.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/channel/media.py", line 156
    print handle, self.GetSelfHandle()
               ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/connection.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/connection.py", line 129
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/presence.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/presence.py", line 151
    message = arguments.get('message', u'')
                                         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (28)
pycentral pkginstall: error byte-compiling files (28)
dpkg: erro processando telepathy-butterfly (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas de dependência impedem a configuração de ubuntuone-client-gnome:
 ubuntuone-client-gnome depende de ubuntuone-client (= 1.2.2-0ubuntu2); porém:
  Pacote ubuntuone-client não está configurado ainda.
dpkg: erro processando ubuntuone-client-gnome (--configure):
 problemas de dependência - deixando desconfigurado
Configurando labyrinth (0.4.1-0ubuntu4) ...
Compiling /usr/lib/python3.1/dist-packages/labyrinth/Browser.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/Browser.py", line 181
    print "Window for map '%s' is already open" % map.title
                                              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py", line 539
    print "Unknown node type: "+str(n.nodeName)
                              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/ImageThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/ImageThought.py", line 316
    print "Unknown: "+n.nodeName
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/Links.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/Links.py", line 201
    print "No tmp found"
                       ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/MMapArea.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/MMapArea.py", line 476
    print "Warning: Already have a primary root"
                                               ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/MainWindow.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/MainWindow.py", line 362
    print "Error"
                ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/TextBufferMarkup.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/TextBufferMarkup.py", line 96
    print "Errored"
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/TextThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/TextThought.py", line 313
    print "Warning: Trying to draw unfinished box "+str(self.identity)+".  Aborting."
                                                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/UndoManager.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/UndoManager.py", line 240
    print "Error: Not a valid undo action.  Ignoring."
                                                     ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/utils.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/utils.py", line 123
    print "Error: Unknown thought style: "+str(style)
                                         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (17)
pycentral pkginstall: error byte-compiling files (17)
dpkg: erro processando labyrinth (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Configurando python-van.pydeb (1.3.1-1) ...
Compiling /usr/lib/python3.1/dist-packages/van/pydeb/__init__.py ...
  File "/usr/lib/python3.1/dist-packages/van/pydeb/__init__.py", line 147
    print {'py_to_src': py_to_src,
          ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (51)
pycentral pkginstall: error byte-compiling files (51)
dpkg: erro processando python-van.pydeb (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Configurando python-uno (1:3.2.0-7ubuntu4.1) ...
Compiling /usr/lib/python3.1/dist-packages/uno.py ...
  File "/usr/lib/python3.1/dist-packages/uno.py", line 284
    except RuntimeException,e:
                           ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/unohelper.py ...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (unohelper.py, line 140)
pycentral: pycentral pkginstall: error byte-compiling files (2)
pycentral pkginstall: error byte-compiling files (2)
dpkg: erro processando python-uno (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas de dependência impedem a configuração de openoffice.org-emailmerge:
 openoffice.org-emailmerge depende de python-uno; porém:
  Pacote python-uno não está configurado ainda.
dpkg: erro processando openoffice.org-emailmerge (--configure):
 problemas de dependência - deixando desconfigurado
Erros foram encontrados durante o processamento de:
 python-ubuntuone-client
 ubuntuone-client
 telepathy-butterfly
 ubuntuone-client-gnome
 labyrinth
 python-van.pydeb
 python-uno
 openoffice.org-emailmerge
felipe@felipe-laptop:~$

Offline mpmoraes

  • Usuário Ubuntu
  • *
  • Mensagens: 516
  • Rio de Janeiro - RJ
    • Ver perfil
Re: Problema instalação de programas
« Resposta #3 Online: 24 de Junho de 2010, 18:44 »
Só por curiosidade cola aqui sua sources.list:
Citar
sudo gedit /etc/apt/sources.list
Ubuntu 12.04 - AMD64 Notebook: Compaq Q40-714br, Intel Core 2 Duo T6600 2.2GHz Memória 4GB HD 500GB DVD-RW

Offline Raizdecimal

  • Usuário Ubuntu
  • *
  • Mensagens: 33
    • Ver perfil
Re: Problema instalação de programas
« Resposta #4 Online: 25 de Junho de 2010, 13:28 »
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ lucid universe
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://br.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe
deb http://archive.canonical.com/ lucid partner

Offline mpmoraes

  • Usuário Ubuntu
  • *
  • Mensagens: 516
  • Rio de Janeiro - RJ
    • Ver perfil
Re: Problema instalação de programas
« Resposta #5 Online: 25 de Junho de 2010, 13:41 »
Muitas pessoas possuem restrições com este comando, mas eu nunca tive problemas com ele:
Citar
sudo apt-get autoremove
para rmover pacotes desnecessários aou que apresentaram problemas.

Depois entre com
Citar
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade

Posta aqui o resultado...
Ubuntu 12.04 - AMD64 Notebook: Compaq Q40-714br, Intel Core 2 Duo T6600 2.2GHz Memória 4GB HD 500GB DVD-RW

Offline Raizdecimal

  • Usuário Ubuntu
  • *
  • Mensagens: 33
    • Ver perfil
Re: Problema instalação de programas
« Resposta #6 Online: 25 de Junho de 2010, 13:58 »
Muitas pessoas possuem restrições com este comando, mas eu nunca tive problemas com ele:
Citar
sudo apt-get autoremove
para rmover pacotes desnecessários aou que apresentaram problemas.

Depois entre com
Citar
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade

Posta aqui o resultado...
Esse aqui:
 python-ubuntuone-client
 ubuntuone-client
 telepathy-butterfly
 ubuntuone-client-gnome
 labyrinth
 python-van.pydeb
 python-uno
 openoffice.org-emailmerge ?

Não terei problema nenhum, não? Posso instalar novamente depois?

Offline mpmoraes

  • Usuário Ubuntu
  • *
  • Mensagens: 516
  • Rio de Janeiro - RJ
    • Ver perfil
Re: Problema instalação de programas
« Resposta #7 Online: 25 de Junho de 2010, 14:04 »
Você poderá instalá-los depois.
Dizem que pode dar problemas se você tirar certos arquivos que são dependências de alguns programas, mas como sua intenção é reinstalá-los esses arquivos serão repostos.
Ubuntu 12.04 - AMD64 Notebook: Compaq Q40-714br, Intel Core 2 Duo T6600 2.2GHz Memória 4GB HD 500GB DVD-RW

Offline Raizdecimal

  • Usuário Ubuntu
  • *
  • Mensagens: 33
    • Ver perfil
Re: Problema instalação de programas
« Resposta #8 Online: 25 de Junho de 2010, 14:36 »
Creio que o problema está na configuração da versão de python... O que eu faço? Obrigado!

felipe@felipe-laptop:~$ sudo apt-get autoremove python-ubuntuone-client
[sudo] password for felipe:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
Os pacotes a seguir serão REMOVIDOS:
  libubuntuone-1.0-1 python-ubuntuone python-ubuntuone-client
  rhythmbox-ubuntuone-music-store ubuntuone-client ubuntuone-client-gnome
0 pacotes atualizados, 0 pacotes novos instalados, 6 a serem removidos e 50 não atualizados.
8 pacotes não totalmente instalados ou removidos.
Depois desta operação, 2683kB de espaço em disco serão liberados.
Você quer continuar [S/n]?
(Lendo banco de dados ... 220114 arquivos e diretórios atualmente instalados).
Removendo rhythmbox-ubuntuone-music-store ...
Removendo python-ubuntuone ...
Removendo libubuntuone-1.0-1 ...
Removendo ubuntuone-client-gnome ...
Removendo ubuntuone-client ...
Removendo python-ubuntuone-client ...
Processando gatilhos para libc-bin ...
ldconfig deferred processing now taking place
Processando gatilhos para man-db ...
Processando gatilhos para hicolor-icon-theme ...
Processando gatilhos para desktop-file-utils ...
Processando gatilhos para python-gmenu ...
Rebuilding /usr/share/applications/desktop.pt_BR.utf8.cache...
Processando gatilhos para python-support ...
Configurando python-uno (1:3.2.0-7ubuntu4.1) ...
Compiling /usr/lib/python3.1/dist-packages/uno.py ...
  File "/usr/lib/python3.1/dist-packages/uno.py", line 284
    except RuntimeException,e:
                           ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/unohelper.py ...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (unohelper.py, line 140)
pycentral: pycentral pkginstall: error byte-compiling files (2)
pycentral pkginstall: error byte-compiling files (2)
dpkg: erro processando python-uno (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas de dependência impedem a configuração de openoffice.org-emailmerge:
 openoffice.org-emailmerge depende de python-uno; porém:
  Pacote python-uno não está configurado ainda.
dpkg: erro processando openoffice.org-emailmerge (--configure):
 problemas de dependência - deixando desconfigurado
Configurando labyrinth (0.4.1-0ubuntu4) ...
Nenhum relatório do apport gravado porque a mensagem de erro indica é o seguimento de um erro de uma falha anterior.
                                    Compiling /usr/lib/python3.1/dist-packages/labyrinth/Browser.py ...

Compiling /usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/DrawingThought.py", line 539
    print "Unknown node type: "+str(n.nodeName)
                              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/ImageThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/ImageThought.py", line 316
    print "Unknown: "+n.nodeName
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/Links.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/Links.py", line 201
    print "No tmp found"
                       ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/MMapArea.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/MMapArea.py", line 476
    print "Warning: Already have a primary root"
                                               ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/MainWindow.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/MainWindow.py", line 362
    print "Error"
                ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/TextBufferMarkup.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/TextBufferMarkup.py", line 96
    print "Errored"
                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/TextThought.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/TextThought.py", line 313
    print "Warning: Trying to draw unfinished box "+str(self.identity)+".  Aborting."
                                                  ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/UndoManager.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/UndoManager.py", line 240
    print "Error: Not a valid undo action.  Ignoring."
                                                     ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/labyrinth/utils.py ...
  File "/usr/lib/python3.1/dist-packages/labyrinth/utils.py", line 123
    print "Error: Unknown thought style: "+str(style)
                                         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (17)
pycentral pkginstall: error byte-compiling files (17)
dpkg: erro processando labyrinth (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Configurando telepathy-butterfly (0.5.11-0ubuntu1) ...
Compiling /usr/lib/python3.1/dist-packages/butterfly/aliasing.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/aliasing.py", line 63
    alias = u""
              ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/capabilities.py ...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (capabilities.py, line 103)
Compiling /usr/lib/python3.1/dist-packages/butterfly/channel/media.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/channel/media.py", line 156
    print handle, self.GetSelfHandle()
               ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/connection.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/connection.py", line 129
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python3.1/dist-packages/butterfly/presence.py ...
  File "/usr/lib/python3.1/dist-packages/butterfly/presence.py", line 151
    message = arguments.get('message', u'')
                                         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (28)
pycentral pkginstall: error byte-compiling files (28)
dpkg: erro processando telepathy-butterfly (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    Configurando python-van.pydeb (1.3.1-1) ...
Compiling /usr/lib/python3.1/dist-packages/van/pydeb/__init__.py ...
  File "/usr/lib/python3.1/dist-packages/van/pydeb/__init__.py", line 147
    print {'py_to_src': py_to_src,
          ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (51)
pycentral pkginstall: error byte-compiling files (51)
dpkg: erro processando python-van.pydeb (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
                                                                    Erros foram encontrados durante o processamento de:
 python-uno
 openoffice.org-emailmerge
 labyrinth
 telepathy-butterfly
 python-van.pydeb
E: Sub-process /usr/bin/dpkg returned an error code (1)

« Última modificação: 26 de Junho de 2010, 23:20 por Raizdecimal »