Bug#563437: Uninstallable: trying to overwrite '/usr/share/php/doc', which is also in package php-pear

2010-01-02 Thread Thijs Kinkhorst
Package: php5-symfony1.0
Version: 1.0.21-1.1
Severity: grave
Justification: makes package uninstallable

Hi,

When I try to install the package, it tries to overwrite a symlink that is
shipped by 'php-pear', namely /usr/share/php/doc:

The following NEW packages will be installed:
  php5-symfony1.0
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2629kB of archives.
After this operation, 12.7MB of additional disk space will be used.
(Reading database ... 94091 files and directories currently installed.)
Unpacking php5-symfony1.0 (from .../php5-symfony1.0_1.0.21-1.1_all.deb) ...
dpkg: error processing 
/var/cache/apt/archives/php5-symfony1.0_1.0.21-1.1_all.deb (--unpack):
 trying to overwrite '/usr/share/php/doc', which is also in package php-pear 
0:5.2.11.dfsg.1-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/php5-symfony1.0_1.0.21-1.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This makes the package uninstallable. Probably you need to install docs under
usr/share/doc?


cheers,
Thijs


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-symfony1.0 depends on:
ii  php-pear 5.2.11.dfsg.1-2 PEAR - PHP Extension and Applicati
ii  php5 5.2.11.dfsg.1-2 server-side, HTML-embedded scripti
ii  php5-cgi 5.2.11.dfsg.1-2 server-side, HTML-embedded scripti
ii  php5-cli 5.2.11.dfsg.1-2 command-line interpreter for the p

php5-symfony1.0 recommends no packages.

php5-symfony1.0 suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#563437: Uninstallable: trying to overwrite '/usr/share/php/doc', which is also in package php-pear

2010-01-02 Thread Martin Meredith
reassign 563437 php-pear
thanks

I've just looked into this, and the reason that it's failing is that
/usr/share/php/doc is a symlink to /usr/share/doc/php-pear/PEAR

/usr/share/doc/php-pear is a symlink to /usr/share/doc/php5-common, which
doesn't include a PEAR directory.

If the symlinks were correct, this would install correctly (as the package is
built to use the PEAR documentation directory (as gleaned from pear config-get
doc_dir))

Reassigning this to the correct package.

On Sat, Jan 02, 2010 at 11:34:22PM +0100, Thijs Kinkhorst wrote:
 Package: php5-symfony1.0
 Version: 1.0.21-1.1
 Severity: grave
 Justification: makes package uninstallable
 
 Hi,
 
 When I try to install the package, it tries to overwrite a symlink that is
 shipped by 'php-pear', namely /usr/share/php/doc:
 
 The following NEW packages will be installed:
   php5-symfony1.0
 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B/2629kB of archives.
 After this operation, 12.7MB of additional disk space will be used.
 (Reading database ... 94091 files and directories currently installed.)
 Unpacking php5-symfony1.0 (from .../php5-symfony1.0_1.0.21-1.1_all.deb) ...
 dpkg: error processing 
 /var/cache/apt/archives/php5-symfony1.0_1.0.21-1.1_all.deb (--unpack):
  trying to overwrite '/usr/share/php/doc', which is also in package php-pear 
 0:5.2.11.dfsg.1-2
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/php5-symfony1.0_1.0.21-1.1_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 This makes the package uninstallable. Probably you need to install docs under
 usr/share/doc?
 
 
 cheers,
 Thijs
 
 
 -- System Information:
 Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
 Locale: LANG=nl_NL.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages php5-symfony1.0 depends on:
 ii  php-pear 5.2.11.dfsg.1-2 PEAR - PHP Extension and 
 Applicati
 ii  php5 5.2.11.dfsg.1-2 server-side, HTML-embedded 
 scripti
 ii  php5-cgi 5.2.11.dfsg.1-2 server-side, HTML-embedded 
 scripti
 ii  php5-cli 5.2.11.dfsg.1-2 command-line interpreter for the 
 p
 
 php5-symfony1.0 recommends no packages.
 
 php5-symfony1.0 suggests no packages.
 
 
 


signature.asc
Description: Digital signature