Falha ao tentar instalar o cliente Owncloud no Linux Mint Rosa


0

Estou executando um novo Linux Mint Rosa (17,3 Cinnamont de 64 bits) e estou tendo muitos problemas para instalar o cliente owncloud nele:

Como o pacote no repositório mint está desatualizado, segui as 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 me levou 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 isto:

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

Tentar remover pacotes instalados potencialmente ruins, leva-me a isso:

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 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 para onde ir a partir daqui. O download e o clique duplo no instalador do pacote .deb me levam ao mesmo erro, e eu tentei alguns comandos apt-get mais sem sucesso. Qualquer ideia?

Respostas:


0

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

Estou executando o Kali linx (que é baseado no Debian como o Mint, 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 essa linha (haverá outras linhas, mas essa é a única com a qual nos preocupamos).

    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 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ê! Como sou um neófito do Linux, não sei se poderei ajudar a solucionar problemas mais profundos.


Eu segui o tópico, mas meu problema é que o cliente nos repositórios do Ubuntu está desatualizado. Estou lendo para ver se consigo ver algum tipo de solução alternativa (além disso, parece que o pôster estava pedindo ajuda em um raspberry pi, o Linux Mint, iirc, vem do UbuntU).
Neuromante 22/05
Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.