[Pkg-lyx-devel] Bug#767616: Bug#767616: lyx: fails to upgrade from 'testing' - trying to overwrite /usr/share/icons/hicolor/48x48/apps/lyx.png

Nikos Andrikos nick.andrik at gmail.com
Mon Nov 3 15:19:30 UTC 2014


Hi Andreas,

In lyx control file, there is this line:
Depends: ... lyx-common (= ${source:Version}), ...

I thought this is enough to make sure that along lyx 2.1.2-3, the only
installable lyx-common version will be 2.1.2-3 .
If this is not the case, then we would need to add the breaks/replaces
options as you suggested, but could you please confirm that this is
the proper action?

Thanks for reporting the issue,
Nikos



2014-11-01 15:14 GMT+01:00 Andreas Beckmann <anbe at debian.org>:
> Package: lyx
> Version: 2.1.2-3
> Severity: serious
> User: debian-qa at 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 unpack .../archives/lyx_2.1.2-3_amd64.deb ...
>   Unpacking lyx (2.1.2-3) over (2.1.2-2) ...
>   dpkg: error processing archive /var/cache/apt/archives/lyx_2.1.2-3_amd64.deb (--unpack):
>    trying to overwrite '/usr/share/icons/hicolor/48x48/apps/lyx.png', which is also in package lyx-common 2.1.2-2
>   dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>   Preparing to unpack .../lyx-common_2.1.2-3_all.deb ...
>   Unpacking lyx-common (2.1.2-3) over (2.1.2-2) ...
>   Errors were encountered while processing:
>    /var/cache/apt/archives/lyx_2.1.2-3_amd64.deb
>
>
> cheers,
>
> Andreas
>
> _______________________________________________
> Pkg-lyx-devel mailing list
> Pkg-lyx-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-lyx-devel



More information about the Pkg-lyx-devel mailing list