Problema após instalar o gnome-desktop

0

Estou usando o Ubuntu 13.10 e atualizado para o Gnome 3.10. Mas quando eu estava tentando instalar o ubuntu-gnome-desktop , recebi um erro com o Libreoffice. Eu estava usando o Openoffice (eu removi o Libreoffice durante a instalação do OpenOffice) Eu recebi a seguinte mensagem de erro.

Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.1.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu já tentei sudo apt-get -f install , ele tenta instalar libreoffice-common , mas recebeu o seguinte erro

dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a4.1.3-0ubuntu1_all.deb (--unpack):                                                                                          
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.0-9714                                                                                                
rmdir: failed to remove ‘/var/lib/libreoffice/share/prereg/’: No such file or directory          
rmdir: failed to remove ‘/var/lib/libreoffice/share/’: No such file or directory                 
rmdir: failed to remove ‘/var/lib/libreoffice/program/’: No such file or directory               
rmdir: failed to remove ‘/var/lib/libreoffice’: No such file or directory                        
rmdir: failed to remove ‘/var/lib/libreoffice’: No such file or directory                        
Processing triggers for man-db ...                                                               
debconf: unable to initialize frontend: Dialog                                                   
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)         
debconf: falling back to frontend: Readline                                                      
Processing triggers for gnome-icon-theme ...                                                     
Processing triggers for hicolor-icon-theme ...                                                   
Processing triggers for shared-mime-info ...                                                     
Unknown media type in type 'all/all'                                                             
Unknown media type in type 'all/allfiles'                                                        
Unknown media type in type 'uri/mms'                                                             
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils ...
Processing triggers for mime-support ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.1.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu também tentei remover manualmente /usr/bin/soffice , openoffice & amp; ubuntu-gnome-desktop mas ainda o mesmo problema. autoremove , autoclean & amp; clean não parece ajudar também.

    
por ashik992 16.01.2014 / 11:28

2 respostas

1

Tente limpar openoffice-debian-menus executando o comando abaixo,

sudo dpkg --purge openoffice-debian-menus

Em seguida, execute o comando abaixo,

sudo apt-get -f install
    
por Avinash Raj 16.01.2014 / 11:35
1
  1. Eu tentei

    sudo aptitude purge libreoffice*.*
    
  2. Em seguida, reinstalou novamente o Libreoffice via Synaptic

por Gandhi 24.04.2014 / 06:33