Tentando instalar o cliente Owncloud no Linux Mint Rosa falha

0

Estou executando um novo Linux Mint Rosa (17.3 Cinnamont 64-bit), e estou tendo muitos problemas para instalar o cliente owncloud nele:

Dado que o pacote no repositório da casa da moeda parece estar desatualizado, eu segui o instruções da página owncloud :

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
sudo apt-get update
sudo apt-get install owncloud-client

Adicionando a chave do repositório:

wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_16.04/Release.key
sudo apt-key add - < Release.key  

Talvez eu tenha feito algo errado, porque é isso que acontece ao tentar instalar o cliente:

sudo apt-get install owncloud-client
[sudo] password for lalala: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 owncloud-client : Depends: libowncloudsync0 (= 2.2.0-2) but it is not going to be installed
                   Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
                   Depends: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Percorrendo a rede, encontrei o sudo apt-get install -f:

sudo 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.

E tentar avançar com as dependências não atendidas levou-me a isso:

sudo apt-get install libowncloudsync0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libowncloudsync0 : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
E: Unable to correct problems, you have held broken packages.

E isso:

sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

Tentativa de remover pacotes potencialmente mal instalados, leva-me a isto:

sudo apt-get remove libstdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgbm1 : Depends: libgl1-mesa-dri
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Obviamente, tentar remover o owncloud-client me leva a isso:

sudo apt-get remove owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'owncloud-client' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Então ... eu não tenho idéia de onde ir a partir daqui. Fazer o download e clicar duas vezes no instalador de pacotes .deb me leva ao mesmo erro, e eu tentei alguns comandos do apt-get mais sem sucesso. Alguma idéia?

    
por Neuromante 21.05.2016 / 13:58

1 resposta

0

Eu tive o mesmo problema exato que você. Eu corri todos os mesmos comandos e ainda sem alegria. Eu encontrei este tópico que dizia "remover os repositórios oficiais". Então, para mim, minha correção foi excluir o owncloud da minha lista de fontes e tentar reinstalá-lo novamente.

Eu estou rodando o Kali linx (que é baseado no Debian, como o Mint, eu acredito).

  1. Execute a política do apt-cache para ver se isso se aplica a você

    apt-cache policy
    

    E isso deve produzir uma saída que contenha esta linha (haverá outras linhas, mas essa é a única que nos interessa)

    500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0  Packages
     release o=obs://build.opensuse.org/isv:ownCloud:desktop/Debian_8.0,n=Debian_8.0,l=isv:ownCloud:desktop,c=
     origin download.opensuse.org
    
  2. Exclua o owncloud da sua lista de fontes

    rm /etc/apt/sources.list.d/owncloud-client.list
    

    (Estamos revertendo o primeiro passo do guia de instalação oficial.)

  3. Execute o apt-cache novamente para verificar se a exclusão foi bem-sucedida.

    apt-cache policy
    
  4. Agora instale o owncloud

    apt-get install owncloud-client
    

YMMV, mas espero que isso ajude você! Eu sou um neófito do Linux, então não sei se poderei ajudar a solucionar problemas mais profundos.

    
por 21.05.2016 / 18:47