[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get conflict: php4-pear and php4-pear-log



Hi,

I'm trying to install imp3 from the testing distribution using apt-get, but
the install breaks because there's a conflict between the php4-pear and
php4-pear-log packages.

If I isolate the php4-pear packages, I can install php4-pear correctly.

--------------------------------------------------------------------------
root@itvgw02:/usr/share/horde # apt-get install php4-pear
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  php4-pear
0 packages upgraded, 1 newly installed, 0 to remove and 147  not upgraded.
Need to get 0B/222kB of archives. After unpacking 1159kB will be used.
Selecting previously deselected package php4-pear.
(Reading database ... 27014 files and directories currently installed.)
Unpacking php4-pear (from .../php4-pear_4%3a4.1.2-4_all.deb) ...
Setting up php4-pear (4.1.2-4) ...
--------------------------------------------------------------------------

When I try and install php4-pear-log I get the following:

--------------------------------------------------------------------------ro
ot@itvgw02:/usr/share/horde # apt-get install php4-pear-log
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  php4-pear-log
0 packages upgraded, 1 newly installed, 0 to remove and 147  not upgraded.
Need to get 9752B of archives. After unpacking 86.0kB will be used.
Get:1 http://mirror.aarnet.edu.au testing/main php4-pear-log 1.1-2 [9752B]
Fetched 9752B in 0s (18.1kB/s)
(Reading database ... 27137 files and directories currently installed.)
Unpacking php4-pear-log (from .../php4-pear-log_1.1-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/php4-pear-log_1.1-2_all.deb
(--unpack):
 trying to overwrite `/usr/share/pear/Log/composite.php', which is also in
package php4-pear
Errors were encountered while processing:
 /var/cache/apt/archives/php4-pear-log_1.1-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--------------------------------------------------------------------------

What's the best way forward?

It seems safe to let php4-pear-log overwrite the file in both packages
but I can't see how to do that with apt-get.

Is php4-pear-log really required for imp3/horde2? Is there a way to
install imp3 without php4-pear-log?

Thanks,

David

--
David Shaw, itv|world                          David.Shaw@itvworld.com







Reply to: