Bug#633396: cannot upgrade libreoffice-common (cp: cannot stat `/usr/lib/libreoffice/basis3.4/program/.services.rdb': No such file or directory)

July 09th, 2011 - 04:40 pm ET by Jonathan Nieder | Report spam
Package: libreoffice-common
Version: 1:3.4.1-1
Severity: serious
Justification: cannot upgrade

Hi,

Typical experimental amd64 system. From today's upgrade:

| Setting up libreoffice-style-galaxy (1:3.4.1-1) ...
| (Reading database ... 174098 files and directories currently installed.)
| Preparing to replace libreoffice-common 1:3.3.3-4 (using .../libreoffice-common_1:3.4.1-1_all.deb) ...
| Unpacking replacement libreoffice-common ...
| Setting up libreoffice-common (1:3.4.1-1) ...
| Updating services.rdb...
| cp: cannot stat `/usr/lib/libreoffice/basis3.4/program/.services.rdb': No such file or directory
| dpkg: error processing libreoffice-common (--install):
| subprocess installed post-installation script returned error exit status 1

Ideas?
Jonathan

| $ dpkg -S /usr/lib/libreoffice/basis3.4
| mozilla-libreoffice, libreoffice-filter-mobiledev, libreoffice-report-builder-bin, libreoffice-common: /usr/lib/libreoffice/basis3.4
| $ dpkg-query -W mozilla-libreoffice libreoffice-filter-mobiledev libreoffice-report-builder-bin libreoffice-common
| libreoffice-common 1:3.4.1-1
| libreoffice-filter-mobiledev 1:3.4.1-1
| libreoffice-report-builder-bin 1:3.4.1-1
| mozilla-libreoffice 1:3.4.1-1
| $ ls -lA /usr/lib/libreoffice/basis3.4
| total 12
| drwxr-xr-x 15 root root 4096 Jul 9 15:18 presets
| drwxr-xr-x 6 root root 4096 Jul 9 15:18 program
| drwxr-xr-x 16 root root 4096 Jul 9 15:18 share
| lrwxrwxrwx 1 root root 9 Jul 7 03:19 ure-link -> ../../ure
| $ ls -lA /usr/lib/libreoffice/basis3.4/program
| total 3204
| drwxr-xr-x 2 root root 4096 Jul 7 02:52 addin
| -rwxr-xr-x 1 root root 297 Jul 6 10:59 cde-open-url
| drwxr-xr-x 2 root root 4096 Jul 9 15:16 classes
| -rw-r--r-- 1 root root 1486 Jul 7 02:28 fundamentalbasisrc
| -rwxr-xr-x 1 root root 158 Jul 6 10:59 gnome-open-url
| -rwxr-xr-x 1 root root 217 Jul 6 10:59 kde-open-url
| -rw-r--r-- 1 root root 1495744 Jul 7 03:09 librptlx.so
| -rw-r--r-- 1 root root 1234952 Jul 7 03:09 librptuilx.so
| -rw-r--r-- 1 root root 386568 Jul 7 03:09 librptxmllx.so
| -rwxr-xr-x 1 root root 63248 Jul 7 03:09 nsplugin
| -rwxr-xr-x 1 root root 2116 Jul 6 10:59 open-url
| -rw-r--r-- 1 root root 52 Jul 6 15:41 pagein-calc
| -rw-r--r-- 1 root root 1023 Jul 6 15:41 pagein-common
| -rw-r--r-- 1 root root 52 Jul 6 15:41 pagein-draw
| -rw-r--r-- 1 root root 52 Jul 6 15:41 pagein-impress
| -rw-r--r-- 1 root root 52 Jul 6 15:41 pagein-writer
| drwxr-xr-x 2 root root 4096 Jul 7 02:52 plugin
| drwxr-xr-x 2 root root 4096 Jul 9 15:18 resource
| -rw-r--r-- 1 root root 57 May 19 04:11 root3.dat
| -rw-r--r-- 1 root root 57 May 19 04:11 root4.dat
| -rw-r--r-- 1 root root 57 May 19 04:11 root5.dat
| -rwxr-xr-x 1 root root 12061 Jul 6 10:59 senddoc
| -rw-r--r-- 1 root root 1053 Jul 7 03:17 unorc
| -rw-r--r-- 1 root root 150 Jul 7 02:28 versionrc



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 13 repliesReplies Make a reply

Similar topics

Replies

#1 Rene Engelhard
July 09th, 2011 - 04:50 pm ET | Report spam
On Sat, Jul 09, 2011 at 03:27:09PM -0500, Jonathan Nieder wrote:
Typical experimental amd64 system. From today's upgrade:

| Setting up libreoffice-style-galaxy (1:3.4.1-1) ...
| (Reading database ... 174098 files and directories currently installed.)
| Preparing to replace libreoffice-common 1:3.3.3-4 (using .../libreoffice-common_1:3.4.1-1_all.deb) ...
| Unpacking replacement libreoffice-common ...
| Setting up libreoffice-common (1:3.4.1-1) ...
| Updating services.rdb...
| cp: cannot stat `/usr/lib/libreoffice/basis3.4/program/.services.rdb': No such file or directory
| dpkg: error processing libreoffice-common (--install):
| subprocess installed post-installation script returned error exit status 1

Ideas?



Yes. I bet you don't have -core upgraded yet?

That file is only there in -core from 3.4. Probably I either need to make
a strict depends (bad) or don't run the trigger if the file doesn't exist...

Grüße/Regards,

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



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Rene Engelhard
July 10th, 2011 - 04:40 pm ET | Report spam
tag 633396 + unreproducible
tag 633396 + moreinfo
thanks

On Sat, Jul 09, 2011 at 03:27:09PM -0500, Jonathan Nieder wrote:
Typical experimental amd64 system. From today's upgrade:



How did you do the upgrade?

And what is a "typical experimental amd64 system"?

| Setting up libreoffice-style-galaxy (1:3.4.1-1) ...
| (Reading database ... 174098 files and directories currently installed.)
| Preparing to replace libreoffice-common 1:3.3.3-4 (using .../libreoffice-common_1:3.4.1-1_all.deb) ...
| Unpacking replacement libreoffice-common ...
| Setting up libreoffice-common (1:3.4.1-1) ...
| Updating services.rdb...
| cp: cannot stat `/usr/lib/libreoffice/basis3.4/program/.services.rdb': No such file or directory
| dpkg: error processing libreoffice-common (--install):
| subprocess installed post-installation script returned error exit status 1

Ideas?



Answer on my reply please.

But:

I did a dist-upgrade and a apt-get (-t experimental) install libreoffice. Both times
-core was installed before -commons postinst was run.

So no trigger involved directly...

Grüße/Regards,

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



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#3 Jonathan Nieder
July 10th, 2011 - 05:40 pm ET | Report spam
# maintainer doesn't seem to be interested, but the problem is well understood
# and I'm happy to fix it
owner 633396 !
tags 63396 - unreproducible moreinfo
quit

Hi Rene,

Rene Engelhard wrote:
On Sat, Jul 09, 2011 at 03:27:09PM -0500, Jonathan Nieder wrote:

Typical experimental amd64 system. From today's upgrade:



How did you do the upgrade?

And what is a "typical experimental amd64 system"?



I used cupt; you can reproduce it by using dpkg directly, too.
Besides, after your explanation it's obvious in the code where the
problem is. And the policy is very clear; "apt happens to choose an
upgrade path that doesn't trigger it" does not make a bug go away.

Anyway, I'm happy to take care of writing a fix and checking that it
fixes the problem, so I am not so inclined to attach dpkg logs etc. I
should be able to send a fix soon. I'll be glad to hear feedback on
it then.

Thanks again for your help.

Regards,
Jonathan



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#4 Rene Engelhard
July 10th, 2011 - 05:50 pm ET | Report spam
Hi,

On Sun, Jul 10, 2011 at 04:31:01PM -0500, Jonathan Nieder wrote:
Rene Engelhard wrote:
> On Sat, Jul 09, 2011 at 03:27:09PM -0500, Jonathan Nieder wrote:

>> Typical experimental amd64 system. From today's upgrade:
>
> How did you do the upgrade?
>
> And what is a "typical experimental amd64 system"?

I used cupt;



Ah. Something extravagant I do not and never will care about.

you can reproduce it by using dpkg directly, too.



True, but using dpkg is not always senseful. I.e. in lenny->squeeze
upgrade where upgrade order by apt etc. might be important.

And/or in complex dependencies.

Besides, after your explanation it's obvious in the code where the
problem is.



True

And the policy is very clear; "apt happens to choose an
upgrade path that doesn't trigger it" does not make a bug go away.



Honestly, I disagree. If dpkg -i *.deb breaks because you install
stuff which is Break:'ing or Conflict:'ing each other and that fails
it's not a bug in the package. It's dpkg not figuring it out, which is
OK. it's apt(itutude)s job.

Anyway, I'm happy to take care of writing a fix and checking that it
fixes the problem, so I am not so inclined to attach dpkg logs etc. I
should be able to send a fix soon. I'll be glad to hear feedback on
it then.



I have the check already there, just that the problem is that when what is
done the trigger never might run when installing -evolution or -binfilter -
effectively breaking them because LibO then doesn't know about them in any way.

That's why I asked you how you upgraded.

Grüße/Regards,

René



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#5 Jonathan Nieder
July 10th, 2011 - 06:00 pm ET | Report spam
Rene Engelhard wrote:

Fuck off.



Agh! Honestly I was trying to help (setting "owner" was to make clear
that I am happy to take responsibility for the bug) and don't
understand what I did wrong, so I would like some advice.

Clearly I don't understand how to contribute to Debian in a way that
is appreciated. :(



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search