데비안 서버에 owncloud를 설치하려고 하는데 문제가 있습니다.

데비안 서버에 owncloud를 설치하려고 하는데 문제가 있습니다.

내 데비안 서버에 owncloud를 설치하려고 하는데 일부 패키지로 인해 문제가 발생합니다. 저는 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

누군가 문제를 해결하는 방법을 알고 있습니까 ??

소스.목록:

###############################################################################
# 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

답변1

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

이제 설치 과정은 매우 간단합니다.

Add repository and install manually(hide)

Debian 6.0의 경우 루트로 다음을 실행합니다:

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

적절한 업데이트 받기

apt-get owncloud 설치


다음과 같이 apt에 저장소 키를 추가할 수 있습니다.

wget apt-key add - < Release.key

답변2

상황을 단순화하는 것부터 시작해 보겠습니다.

먼저 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.

관련 정보