Hi Daniel!

On Mon, Jul 28, 2008 at 11:30 AM, Daniel Burrows <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 25, 2008 at 09:21:18PM -0300, "Nelson A. de Oliveira" <[EMAIL 
> PROTECTED]> was
>> When I try to upgrade phpldapadmin, aptitude always automatically
>> install some other unneeded packages to satisfy the dependencies.
>> See:
>>
>> phpldapadmin depends on apache2 | httpd
>>
>> I have lighttpd installed (that provides httpd).
>> So aptitude shouldn't install apache2-mpm-prefork, apache2-utils and
>> apache2.2-common
>>
>> The same thing for php5. It depends on libapache2-mod-php5 (>= 5.2.5-3)
>> | php5-cgi (>= 5.2.5-3)
>>
>> I have php5-cgi installed, but it tries to install libapache2-mod-php5
>>
>> Is it a known problem with aptitude, something wrong on the package
>> dependencies or just another stupid user bug, please?
>
>  Could you please post a transcript of what happens when you run
> "aptitude install -o 'Debug::pkgDepCache::AutoInstall=true' phpldapadmin"?

Sorry that I have updated phpldapadmin, but with the php5 case I have:

$ LC_ALL=C aptitude install -o 'Debug::pkgDepCache::AutoInstall=true' php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Installing libapache2-mod-php5 as dep of php5
Installing apache2-mpm-prefork as dep of libapache2-mod-php5
Installing apache2.2-common as dep of apache2-mpm-prefork
Installing apache2-utils as dep of apache2.2-common
Installing php5-common as dep of libapache2-mod-php5
The following packages are BROKEN:
  php5-cgi php5-cli php5-gd php5-ldap
The following NEW packages will be installed:
  apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a}
libapache2-mod-php5{a}
The following packages will be upgraded:
  php5 php5-common
The following packages are RECOMMENDED but will NOT be installed:
  ssl-cert
2 packages upgraded, 4 newly installed, 0 to remove and 21 not upgraded.
Need to get 4005kB of archives. After unpacking 9814kB will be used.
The following packages have unmet dependencies:
  php5-gd: Depends: php5-common (= 5.2.6-2+b1) but 5.2.6-3 is to be installed.
  php5-ldap: Depends: php5-common (= 5.2.6-2+b1) but 5.2.6-3 is to be installed.
  php5-cgi: Depends: php5-common (= 5.2.6-2+b1) but 5.2.6-3 is to be installed.
  php5-cli: Depends: php5-common (= 5.2.6-2+b1) but 5.2.6-3 is to be installed.
The following actions will resolve these dependencies:

Upgrade the following packages:
php5-cgi [5.2.6-2+b1 (now) -> 5.2.6-3 (unstable)]
php5-cli [5.2.6-2+b1 (now) -> 5.2.6-3 (unstable)]
php5-gd [5.2.6-2+b1 (now) -> 5.2.6-3 (unstable)]
php5-ldap [5.2.6-2+b1 (now) -> 5.2.6-3 (unstable)]

Score is 210

Accept this solution? [Y/n/q/?]


php5 depends on libapache2-mod-php5 | libapache2-mod-php5filter |
php5-cgi, php5-common
Since I already have php5-cgi installed, it shouldn't try to install
libapache2-mod-php5, right?

Thank you!

Best regards,
Nelson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to