종속성이 설치되지 않았습니다.

종속성이 설치되지 않았습니다.

패키지를 테스트하고 있지만 .deb종속성이 설치되지 않는 이유를 알 수 없습니다.

제어 파일의 종속 라인은 다음과 같습니다.

Depends: zend-grid-module, postgresql-8.4, ${shlibs:Depends}, ${misc:Depends}

내가 실행할 때 :

$ sudo dpkg -i zend-grid-module-test-application_1.0.2-2_all.deb

이해합니다:

(Reading database ... 25616 files and directories currently installed.)
Preparing to replace zend-grid-module-test-application 1.0.2-2 (using zend-grid-module-test-application_1.0.2-2_all.deb) ...
Unpacking replacement zend-grid-module-test-application ...
dpkg: dependency problems prevent configuration of zend-grid-module-test-application:
 zend-grid-module-test-application depends on postgresql-8.4; however:
  Package postgresql-8.4 is not installed.
dpkg: error processing zend-grid-module-test-application (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zend-grid-module-test-application

이후:

$ sudo apt-get install -y -f

산출

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  zend-grid-module-test-application
The following packages will be upgraded:
  zend-grid-module-test-application
1 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
1 not fully installed or removed.
Need to get 0B/43.8kB of archives.
After this operation, 238kB disk space will be freed.
(Reading database ... 25618 files and directories currently installed.)
Preparing to replace zend-grid-module-test-application 1.0.2-2 (using .../zend-grid-module-test-application_1.0.2-2_all.deb) ...
Unpacking replacement zend-grid-module-test-application ...
Setting up zend-grid-module-test-application (1.0.2-2) ...

postgresql 종속성이 해결되는 것을 볼 수 없지만 설치될 것으로 예상됩니다.apt-get install -f -y

나에게 어떤 아이디어가 있나요?

답변1

이것은 무슨 일이 일어나고 있는지 설명하는 주요 출력 라인입니다.

The following packages will be upgraded:
  zend-grid-module-test-application

apt-get 은 zend-grid-module-test-application에 설치할 수 있는 다른(최신 또는 적어도 동일한) 버전을 찾았습니다 sources.list.apt-cache policy zend-grid-module-test-application

그런 다음 apt-get은 사용하려는 버전 대신 해당 버전(결국 최신 버전)을 설치합니다 dpkg -i. 그리고 apt-get이 찾은 것은 postgresql-8.4.

debian/changelog아마도 버전을 실행하기 전에 버전을 업그레이드해야 할 것입니다 dpkg-buildpackage. 설치해보시면 dch도움이 되실 겁니다.

답변2

저장소에 아직 Postgres 버전 8.4가 있습니까?

최신 버전의 Ubuntu에는 해당 항목이 없기 때문에 아마도 apt-get이 해결되지 않는 것 같습니다.

관련 정보