web-dev-qa-db-fra.com

Impossible d'installer ownCloud sur Ubuntu 16.04

J'obtiens les erreurs suivantes en essayant d'installer ownCloud:

The following information may help to resolve the situation:

The following packages have unmet dependencies:  owncloud : Depends:
owncloud-server (= 8.1.8-12.1) but it is not going to be installed
            Recommends: mysql-server but it is not installable or
                        mariadb-server but it is not installable
            Recommends: exim4 but it is not installable or
                        mail-transport-agent but it is not installable
            Recommends: owncloud-config-Apache (= 8.1.8-12.1) but it is not 
going to be installed
E: Unable to correct problems, you haveheld broken packages.

Comment puis-je réparer ça?

3
Randy Shimizu

Il y a un fork de Owncloud appelé Nextcloud, et c'est la version qui est mieux prise en charge. Je recommande d'utiliser Nextcloud à la place.

Dans Ubuntu 16.04, vous pouvez installer Nextcloud en un clin d’œil (le nouveau type de paquet d’installation pour Ubuntu 16.04 ou plus récent).

La documentation complète sur la façon d'essayer l'édition instantanée de Nextcloud est disponible à l'adresse suivante: https://github.com/nextcloud/nextcloud-snap

1
user4124

Faites ce qui suit dans le terminal:

Sudo dpkg --configure -a
Sudo apt-get autoremove --purge
Sudo apt-get autoclean --purge
Sudo apt-get -f install
Sudo apt-get update
Sudo apt-get ugrade
Sudo apt-get dist-upgrade

Espérons que maintenant le problème de dépendance sera résolu

Maintenant, installez le type owncloud dans le terminal

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud

Pour installer des fichiers owncloud dans le terminal

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud-files

REMARQUE: Cela ne fonctionnera que dans Ubuntu 16.04

Pour Ubuntu 15.10

Pour installer le type owncloud dans le terminal

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_15.10/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_15.10/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud

Pour installer les fichiers owncloud, tapez:

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_15.10/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_15.10/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud-files

Pour Ubuntu 14.04

Pour installer le type owncloud

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud

Pour installer les fichiers owncloud:

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud-files

Dans Ubuntu 12.04

Pour installer le type owncloud

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_12.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud

Pour installer le type de fichiers owncloud

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_12.04/Release.key -O Release.key
apt-key add - < Release.key
sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud-files
0
rancho