On 11/09/2010 09:55 PM, Gonzalo Pérez de Olaguer Córdoba wrote: > I had installed php-pear 5.2.6.dfsg.1-1+lenny9 and php-net-smtp 1.3.1-1. > These are the current versions in lenny. > > Then I upgrade lenny to squeeze, and apt-get wants to upgrade php-net-smtp > to version 1.4.2-1. I don't know why apt-get doesn't upgrade php-pear too, > this would avoid the problem. > > And during the upgrade I got: > > Preparando para reemplazar php-net-smtp 1.3.1-1 (usando > .../php-net-smtp_1.4.2-1_all.deb) ... > Desempaquetando el reemplazo de php-net-smtp ... > dpkg: error al procesar /var/cache/apt/archives/php-net-smtp_1.4.2-1_all.deb > (--unpack): > intentando sobreescribir `/usr/share/php/doc', que está también en el > paquete php-pear
I believe that it tried to upgrade php-pear later (there's no guarantee on the order that apt will choose when upgrading). Maybe adding a Depends (or maybe a Pre-Depends) on php-pear will fix it. I'll ask on IRC right now. I'm also re-tagging the bug, as it deserves a RC and a retitled. Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org