On Thu, Sep 12, 2013 at 4:37 AM, Andreas Beckmann <a...@debian.org> wrote:

> Package: ampache-common
> Version: 3.6-rzb2752+dfsg-1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package fails to upgrade from
> 'testing'.
> It installed fine in 'testing', then the upgrade to 'sid' fails
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.
>
> See policy 7.6 at
> http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
>
> >From the attached log (scroll to the bottom...):
>
>   Preparing to replace ampache-common 3.6-git408e713+dfsg-4 (using
> .../ampache-common_3.6-rzb2752+dfsg-1_all.deb) ...
>   Unpacking replacement ampache-common ...
>   dpkg: error processing
> /var/cache/apt/archives/ampache-common_3.6-rzb2752+dfsg-1_all.deb
> (--unpack):
>    trying to overwrite
> '/usr/share/ampache/www/modules/prototype/prototype.js', which is also in
> package ampache 3.6-git408e713+dfsg-4
>   ampache-common: Vhost not present, nothing to doPreparing to


This is a symlink which is being managed by dh_linktree



> replace ampache 3.6-git408e713+dfsg-4 (using
> .../ampache_3.6-rzb2752+dfsg-1_all.deb) ...
>   Unpacking replacement ampache ...
>   dpkg: warning: unable to delete old directory '/etc/apache2/conf.d':
> Directory not empty
>

This is an artifact left over by the apache2.4 transition.  I updated the
package according to

https://wiki.debian.org/Apache/PackagingFor24

IMHO dh_apache2 is responsible for removing this dir and all it's contents,
not ampache.

-- 
Charlie Smotherman
Debian Contributor
Ubuntu Developer

Reply via email to