apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

1. apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Douglas dos Santos
error13

(usa Ubuntu)

Enviado em 24/03/2017 - 11:50h

um dia tentei instalar onlyoffice não deu certo... deixei pra la ... só que hoje fui executar apt-get upgrade deu erro e depois tentei o intall -f e olha só o resultado:


# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up onlyoffice-communityserver (8.9.2.27) ...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dpkg: error processing package onlyoffice-communityserver (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of onlyoffice:
onlyoffice depends on onlyoffice-communityserver; however:
Package onlyoffice-communityserver is not configured yet.

dpkg: error processing package onlyoffice (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
onlyoffice-communityserver
onlyoffice
E: Sub-process /usr/bin/dpkg returned an error code (1)




  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/03/2017 - 18:00h

Pra saber o nome do pacote instalado:
dpkg --get-selections | grep "onlyoffice" 


Para remover:
sudo apt-get purge 'nome-do-pacote' ou sudo dpkg --purge 'nome-do-pacote'
sudo apt-get autoremove


Limpar cache e atualizar:
sudo apt-get clean
sudo apt-get update


3. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/03/2017 - 13:26h

Desative qualquer repositório não oficial da distro e rode os comandos abaixo:
sudo dpkg --configure -a
sudo dpkg --clear-avail
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade



4. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Douglas dos Santos
error13

(usa Ubuntu)

Enviado em 24/03/2017 - 14:23h

PauloHAC escreveu:

Desative qualquer repositório não oficial da distro e rode os comandos abaixo:
sudo dpkg --configure -a
sudo dpkg --clear-avail
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade


é @PauloHAC sem chance continua aparecendo a mesma msg! é como se ele tenta-se instalar! queria remover isso!



5. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 24/03/2017 - 14:58h

Eu tentaria rodar autoremove e depois atualizaria novamente

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/


6. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Douglas dos Santos
error13

(usa Ubuntu)

Enviado em 24/03/2017 - 15:08h

clodoaldops escreveu:
Eu tentaria rodar autoremove e depois atualizaria novamente


ai @clodoaldops ...

# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up onlyoffice-communityserver (8.9.2.27) ...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dpkg: error processing package onlyoffice-communityserver (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of onlyoffice:
onlyoffice depends on onlyoffice-communityserver; however:
Package onlyoffice-communityserver is not configured yet.

dpkg: error processing package onlyoffice (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
onlyoffice-communityserver
onlyoffice
E: Sub-process /usr/bin/dpkg returned an error code (1)

sem sucesso =S


7. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/03/2017 - 15:34h

Você desinstalou esse onlyoffice? Se não, desinstale-o completamente, remova qualquer repositório de terceiros, apague o cache e rode o update.


8. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Douglas dos Santos
error13

(usa Ubuntu)

Enviado em 24/03/2017 - 15:38h

PauloHAC escreveu:

Você desinstalou esse onlyoffice? Se não, desinstale-o completamente, remova qualquer repositório de terceiros, apague o cache e rode o update.


entao @PauloHAC quando instalei usei um .deb entao nao sei bem como remover total... inclusive acho é essa a real duvida... pq sei q se eu remover total ele nao vai dar mais o erro porem nao sei como faco isso!...
... e qual cache preciso limpar?




9. Re: apt-get com erro (apos tentar instalar onlyoffice) [RESOLVIDO]

Douglas dos Santos
error13

(usa Ubuntu)

Enviado em 27/03/2017 - 08:45h

PauloHAC escreveu:

Pra saber o nome do pacote instalado:
dpkg --get-selections | grep "onlyoffice" 


[/code]


@PauloHAC só o comando acima eu precisava consegui remover.
vlw mesmo!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts