HEllo,
I am trying to install a non-privildged UNO package (that is, a non
-shared package) on Ubuntu 64.
I do not understand why the above commands tries to try OO Berkeley DB
if the package is NOT shared ? Why the above command is NOT writting
exclusively in /home/fabio/.openoffice.org/... ?
fa...@catullus:~$ uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt
ERROR:
[/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
Berkeley Db error (0): Db::open: Permission denied
unopkg failed.
fa...@catullus:~$ strace /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 2>&1
[...]
lstat("/opt/openoffice.org", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat("/opt/openoffice.org/basis3.1", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat("/opt/openoffice.org/basis3.1/program", {st_mode=S_IFDIR|0755,
st_size=20480, ...}) = 0
lstat("/opt/openoffice.org/basis3.1/program/unorc", {st_mode=S_IFREG|
0444, st_size=501, ...}) = 0
access("/opt/openoffice.org/basis3.1/program/unorc", F_OK) = 0
access("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend",
F_OK) = 0
lstat("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend",
F_OK) = 0
lstat("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/proc/stat", O_RDONLY|O_CLOEXEC) = 37
read(37, "cpu 393597 69568 504671 6021500"..., 8192) = 1254
close(37) = 0
stat("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db",
{st_mode=S_IFREG|0644, st_size=12288, ...}) = 0
open("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db",
O_RDWR) = -1 EACCES (Permission denied)
open("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db",
O_RDWR) = -1 EACCES (Permission denied)
open("/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db",
O_RDWR) = -1 EACCES (Permission denied)
futex(0x13b9244, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x13b9270, 2)
= 1
write(2, "\nERROR: [/opt/openoffice.org3/pr"..., 216
ERROR:
[/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
Berkeley Db error (0): Db::open: Permission denied
) = 216
write(2, "\nunopkg failed.\n", 16
unopkg failed.
) = 16
open("/opt/openoffice.org/ure/lib/bridgefac.uno.so", O_RDONLY) = 37
If the argument do NOT include "--shared", it assumes it not a shared
extension correct ?
Can anyone bring some light to this behavoir found in Linux ?
regards,
--
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/