DKPG 5到,點算?

Installing package(s) with command apt-get -y install accountsservice ..
dpkg: dependency problems prevent configuration of slapd:
slapd depends on libldap-2.4-2 (= 2.4.28-1.1ubuntu4.3); however:
  Version of libldap-2.4-2 on system is 2.4.28-1.1ubuntu4.4.
dpkg: error processing slapd (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
slapd
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
accountsservice : Depends: libaccountsservice0 (= 0.6.15-2ubuntu9.6.1) but 0.6.15-2ubuntu9.6 is to be installed
slapd : Depends: libldap-2.4-2 (= 2.4.28-1.1ubuntu4.3) but 2.4.28-1.1ubuntu4.4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

PUSH!!!

TOP

Have you tried apt-get -f install "application" as suggested from the instruction? This is basically dependency warning, your program require
libldap-2.4-2 (= 2.4.28-1.1ubuntu4.3)

But your system have a newer version already:
libldap-2.4-2 on system is 2.4.28-1.1ubuntu4.4

try using apt-get -f install as suggested by the instruction, should be able to install. And typically a newer version of library should still be able to use as backward compatibility (but not guarantee)

TOP

Most likely, when you run "apt-get -f install", it will remove "accountservice", which "solve" the dependency issue.
If "apt-get install accountservice" requires an older library, it usually means that the packager of accountservice has not update the package yet (or not in CDN yet), just wait a few days for the files to update and re-run apt-get install will solve it.


Have you tried apt-get -f install "application" as suggested from the instruction? This is basically ...
ronstudio 發表於 2013-10-22 23:33

TOP