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?
fonte