Der Versuch, den Owncloud-Client unter Linux Mint Rosa zu installieren, schlägt fehl

983
Neuromante

Ich verwende einen brandneuen Linux Mint Rosa (17,3 Cinnamont 64-Bit) und habe zu viele Probleme, um den owncloud-Client darauf zu installieren:

Da das Paket für das Minze-Repo veraltet zu sein scheint, habe ich die Anweisungen der owncloud-Seite befolgt :

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 

Repository-Schlüssel hinzufügen:

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

Vielleicht habe ich etwas falsch gemacht, weil dies beim Installieren des Clients der Fall ist:

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. 

Als ich im Netz herumging, fand ich 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. 

Und der Versuch, mit den unerfüllten Abhängigkeiten weiterzumachen, führte mich dazu:

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. 

Und das:

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 

Der Versuch, möglicherweise fehlerhaft installierte Pakete zu entfernen, führt mich dazu:

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. 

Offensichtlich führt der Versuch, owncloud-client zu entfernen, dazu:

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. 

Also ... ich habe keine Ahnung, wohin ich gehen soll. Das Herunterladen und Doppelklicken auf das .deb-Paketinstallationsprogramm führt zu demselben Fehler, und ich habe einige apt-get-Befehle mehr versucht, ohne Erfolg. Irgendeine Idee?

0

1 Antwort auf die Frage

0
Jacob

Ich hatte genau das gleiche Problem wie Sie. Ich habe die gleichen Befehle ausgeführt und trotzdem keine Freude. Ich habe diesen Thread gefunden, in dem es heißt "die offiziellen Repos entfernen". Für mich bestand mein Fix darin, owncloud aus meiner Quellenliste zu löschen und dann erneut zu installieren.

Ich verwende Kali Linx (das auf Debian basiert, wie Mint glaube ich).

  1. Führen Sie eine apt-cache-Richtlinie aus, um zu sehen, ob dies für Sie zutrifft

    apt-cache policy 

    Und dies sollte eine Ausgabe erzeugen, die diese Zeile enthält (es wird andere Zeilen geben, aber dies ist die einzige, die uns wichtig ist)

    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. Löschen Sie owncloud aus Ihrer Quellenliste

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

    (Wir machen den ersten Schritt von der offiziellen Installationsanleitung zurück.)

  3. Führen Sie apt-cache erneut aus, um zu überprüfen, ob das Löschen erfolgreich war.

    apt-cache policy 
  4. Installieren Sie jetzt owncloud

    apt-get install owncloud-client 

YMMV aber hoffentlich hilft dir das raus! Ich bin ein Linux-Neuling, also weiß ich nicht, ob ich tiefer gehende Probleme beheben kann.

Ich bin dem Thread gefolgt, aber mein Problem ist, dass der Client auf den Ubuntu-Repos veraltet ist. Ich lese herum, um zu sehen, ob ich eine Art Workaround sehen kann (Außerdem scheint das Poster auf einem Himbeer-Pi um Hilfe gebeten zu haben, Linux Mint, Iirc kommt von UbuntU). Neuromante vor 7 Jahren 0