Попытка установить owncloud на сервере Debian, возникли проблемы

1708
Jakob Abfalter

Я пытаюсь установить owncloud на моем сервере Debian, но некоторые пакеты вызывают проблемы. Я не очень привык к Linux, и мне может понадобиться помощь в решении проблемы:

Это команда, которую я использую:

cd && apt-get update &&  apt-get -y install apache2 php5 php-pear php-xml-parser php5-sqlite php5-json \ sqlite php5-mysql mp3info curl libcurl3 libcurl3-dev php5-curl zip php5-gd wget \ && wget http://owncloud.org/releases/owncloud-3.0.0.tar.bz2 && \ tar xfj owncloud-3.0.0.tar.bz2 && \ cp -r owncloud /var/www/ && chown -R www-data:www-data /var/www/owncloud && \  /etc/init.d/apache2 restart 

Это сообщение об ошибке, которое я получаю:

The following packages have unmet dependencies: initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed Breaks: initramfs-tools (< 0.104) but 0.98.8 is to be installed klibc-utils : Breaks: initramfs-tools (< 0.103) but 0.98.8 is to be installed E: Broken packages 

Так что я думаю, у меня проблемы с зависимостями с initscripts и klibc-utils.

Здесь полный консольный вывод

Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php5-common' instead of 'php5-json' Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev' 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: initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed Breaks: initramfs-tools (< 0.104) but 0.98.8 is to be installed klibc-utils : Breaks: initramfs-tools (< 0.103) but 0.98.8 is to be installed E: Broken packages 

У кого-нибудь есть идеи, как решить проблему ??

sources.list:

############################################################################### # Hetzner mirror  deb http://mirror.hetzner.de/debian/packages squeeze main contrib non-free deb http://mirror.hetzner.de/debian/security squeeze/updates main contrib non-free    ############################################################################### # backup mirror #  deb http://cdn.debian.net/debian/ squeeze main non-free contrib deb-src http://cdn.debian.net/debian/ squeeze main non-free contrib  deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free  ## backports deb http://mirror.hetzner.de/debian/backports squeeze-backports main contrib non-free deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free  ## Phpmyadmin deb http://ftp.us.debian.org/debian testing main contrib non-free 
3
попробуйте '-f установить', обновить зеркала и попробуйте снова Lorenzo Von Matterhorn 11 лет назад 0
Похоже, вы играли с `/ etc / apt / sources, list`. Проблема в том, что некоторые пакеты новее других. Не могли бы вы опубликовать свой список sources.list, чтобы мы могли посмотреть, пожалуйста? terdon 11 лет назад 0
Обратите внимание, что версия 3.0.0 действительно старая и больше не поддерживается! Если возможно, просто используйте репозитории, как указано в ответе Temander! codeling 11 лет назад 0

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

3
Termanader

http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud

Процесс установки довольно прост сейчас.

Add repository and install manually(hide) 

Для Debian 6.0 запустите следующее от имени пользователя root:

echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_6.0/ /' >> /etc/apt/sources.list.d/owncloud.list

apt-get update

apt-get установить owncloud


Вы можете добавить ключ хранилища в apt следующим образом:

wget добавление apt-ключа - <Release.key

0
Kruug

Давайте начнем с упрощения ситуации.

Сначала беги apt-get update && apt-get upgrade.

Если это работает нормально, тогда бегите wget http://owncloud.org/releases/owncloud-3.0.0.tar.bz2 && tar xfj owncloud-3.0.0.tar.bz2 && cp -r owncloud /var/www/ && chown -R www-data:www-data /var/www/owncloud && /etc/init.d/apache2 restart.

Похожие вопросы