Bug#677146: python-uno uses file from libreoffice-core in preinst without declaring PreDepends
found 677146 1:3.4.6-2
On Mon, Jun 11, 2012 at 05:01:20PM -0400, Mike O'Connor wrote:
> Package: python-uno
> Version: 1:3.5.3-5
> Severity: serious
It would have been nice if you could have marked it sanely so that it would
not block this with other RC and security fixes from migrating:
rene@frodo:~/Debian/Pakete/LibreOffice/bpo/libreoffice-3.4.6$ cat debian/python-uno.preinst.in
if [ "$1" = "upgrade" ]; then
rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-python
> Justification: Policy 7.2
> during an upgrade, the python-uno preinst script calls:
> This file seems to come from the libreoffice-core pacakge. According
No, it comes from -common.
> to the policy:
> "Pre-Depends are also required if the preinst script depends on
> the named package"
Seriously I'd like to avoid this.
Note that the preinst checks whether unopkg is functional:
if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
if [ -e /usr/lib/libreoffice/share/prereg/bundled ] && readlink /usr/lib/libreoffice/share/prereg/bundled 2>&1 >/dev/null && [ -L $d/ure-link ]; then
> I found this when helping someone that was having trouble upgrading
> from squeeze to wheezy and was getting a preinst failure due to this
> file being missing.
What is your exact problem? And wow. squeeze->wheezy and then you file it