reassign 626600 libgcj-common
retitle 626600 hardcodes gcj-dbtool-4.5 without proper depends, making -gcj 
packages fail to upgrade
affects 626600 libreoffice-gcj
thanks

On Fri, May 13, 2011 at 05:38:43PM +0200, Ralf Treinen wrote:
> root@murdock:/etc/apt/preferences.d# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   libudev0 udev
> The following packages will be upgraded:
>   libreoffice-gcj
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> 209 not fully installed or removed.
> Need to get 0 B/4,113 kB of archives.
> After this operation, 4,096 B of additional disk space will be used.
> Do you want to continue [Y/n]? 
> Reading changelogs... Done
> (Reading database ... 207915 files and directories currently installed.)
> Preparing to replace libreoffice-gcj 1:3.3.1-1 (using 
> .../libreoffice-gcj_1%3a3.3.2-2+b1_amd64.deb) ...
> Unpacking replacement libreoffice-gcj ...
> /usr/bin/rebuild-gcj-db: line 58: gcj-dbtool-4.5: command not found
  ^^^^^^^^^^^^^^^^^^^^^^^

  This is the called thing.

> dpkg: warning: subprocess old post-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> /usr/bin/rebuild-gcj-db: line 58: gcj-dbtool-4.5: command not found
> dpkg: error processing 
> /var/cache/apt/archives/libreoffice-gcj_1%3a3.3.2-2+b1_amd64.deb (--unpack):
>  subprocess new post-removal script returned error exit status 2
> configured to not write apport reports
>                                       /usr/bin/rebuild-gcj-db: line 58: 
> gcj-dbtool-4.5: command not found
> dpkg: error while cleaning up:
>  subprocess new post-removal script returned error exit status 2
> Errors were encountered while processing:
>  /var/cache/apt/archives/libreoffice-gcj_1%3a3.3.2-2+b1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root@murdock:/etc/apt/preferences.d# 

And why is this a LibreOffice bug? It just does this:

(sid)root@frodo:/# cat /var/lib/dpkg/info/libreoffice-gcj.postrm
#!/bin/sh
set -e
# Automatically added by dh_nativejava
if which rebuild-gcj-db >/dev/null 2>&1; then
        rebuild-gcj-db
fi
# End automatically added section

If rebuild-gcj-db is executing something which is not there this a bug
in that rebuild-gcj-db:

(sid)root@frodo:/# dpkg -S /usr/bin/rebuild-gcj-db
libgcj-common: /usr/bin/rebuild-gcj-db

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  r...@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-openoffice-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110513184533.ga29...@rene-engelhard.de

Reply via email to