Попытка установить клиент Owncloud на Linux Mint Rosa Fails

868
Neuromante

Я использую совершенно новую Linux Mint Rosa (17.3 Cinnamont 64-bit), и у меня слишком много проблем, чтобы установить на нее клиент owncloud:

Учитывая, что пакет в репозитории mint кажется устаревшим, я следовал инструкциям на странице 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 

Добавление ключа хранилища:

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

Возможно, я сделал что-то не так, потому что вот что происходит при попытке установить клиент:

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. 

Обойдя сеть, я нашел 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. 

И попытка двигаться дальше с неудовлетворенными зависимостями привела меня к этому:

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. 

И это:

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 

Попытка удалить потенциально плохие установленные пакеты приводит меня к этому:

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. 

Очевидно, что попытка удалить owncloud-client приводит меня к этому:

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. 

Так что ... я понятия не имею, куда идти отсюда. Загрузка и двойной щелчок по установщику пакета .deb приводят меня к той же ошибке, и я пробовал некоторые команды apt-get больше, но безрезультатно. Любая идея?

0

1 ответ на вопрос

0
Jacob

I had the same exact issue as you. I ran all the same commands and still no joy. I found this thread which said to "remove the official repos". So for me, my fix was to delete owncloud from my sources list and then try to re-install it again.

I'm running Kali linx (which is based of Debian like Mint I believe).

  1. Run apt-cache policy to see if this applies to you

    apt-cache policy 

    And this should produce output that contains this line (there will be other lines, but this is the only one we care about)

    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. Delete owncloud from your sources list

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

    (We are reversing the first step from the official install guide.)

  3. Run apt-cache again to verify that the delete was successful.

    apt-cache policy 
  4. Now install owncloud

    apt-get install owncloud-client 

YMMV but hopefully this helps you out! I'm a Linux neophyte so I don't know if I'll be able to help troubleshoot anything deeper.

Я следил за веткой, но моя проблема в том, что клиент в репозиториях Ubuntu устарел. Я читаю вокруг, чтобы увидеть, могу ли я найти какой-то обходной путь (также, похоже, что постер просил помощи на Raspberry Pi, Linux Mint, iirc, из UbuntU). Neuromante 7 лет назад 0