Ubuntu 16.04 Owncloud 서버를 설치할 수 없습니다

Ubuntu 16.04 Owncloud 서버를 설치할 수 없습니다

최근에 15.10에서 16.04로 업그레이드했는데, 이로 인해 Apache/wordpress/owncloud 설치가 완전히 중단되었습니다. WordPress를 수정하는 동안 owncloud를 제거했습니다. 이제 owncloud를 설치하려고 하면 다음 오류가 발생합니다.

    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-server : Depends: php5 (>= 5.4.0) but it is not installable
                   Depends: php5-pgsql but it is not installable
                   Depends: php5-json but it is not installable
                   Depends: php5-ldap but it is not installable
                   Depends: php5-cli but it is not installable
                   Depends: php5-cgi but it is not installable
E: Unable to correct problems, you have held broken packages.

Ubuntu 16.04용 owncloud 저장소에서 패키지를 설치하고 있습니다. http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/

여기에서 owncloud를 중단하는 16.04 업그레이드에 대한 기사를 읽었습니다. Ubuntu 16.04 업그레이드: 인증 문제

그러나 해결 방법을 찾지 못했습니다. PHP7을 사용하기 위해 owncloud를 속일 수 있는 방법이 필요하다고 생각하지만 어떻게 해야 할지 모르겠습니다. 무엇을 해야할지 아는 사람이 있나요?

답변1

설치가 되었는지 확인하실 수 있습니다

sudo apt-get install owncloud owncloud-deps-php7.0 owncloud-files

어쩌면 그렇지 install owncloud않을 수도 있습니다install owncloud-deps-php7.0

여기에 링크한 문제가 발생했을 때... 16.04가 아닌 15.10 저장소를 설치했습니다. 문제를 해결하려고 할 때 16.04가 없었습니다. 위의 방법으로 작동하지 않는 경우. 나는 당신의 안으로 들어가려고 노력할 것입니다

/etc/apt/sources.list.d 

owncloud 하나를 찾아 숫자를 16.04에서 15.10 또는 15.04로 변경한 다음

sudo apt-get update 

그런 다음 설치를 시도하십시오

sudo apt-get install owncloud-files

먼저 그래도 작동하지 않으면 설치해 보세요.

sudo apt-get install owncloud  

그런 식으로 설치된다면 .. 설치 후 다시 돌아가서 owncloud.list를 16.04로 다시 업데이트하고 또 다른 apt-get 업데이트를 .. 그런 다음 업데이트가 있는지 확인하고 업데이트를 시도합니다.

관련 정보