To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52791
                  Issue #:|52791
                  Summary:|rpm dependencies incorrect (installing only required
                          |packages yields non-working OOo)
                Component:|Installation
                  Version:|680m118
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|of
              Reported by:|buchanmilne





------- Additional comments from [EMAIL PROTECTED] Tue Aug  2 08:58:31 -0700 
2005 -------
I have the m118 RPMS available in a software installation repository (urpmi
medium for our Mandriva 2005LE and Mandrake 10.1 machines).

I would expect that installing any aptly named package (ie openofficeorg-writer)
would pull in all the other packages needed to run it. Unfortunately, this is
not the case:

# urpmi openofficeorg-writer

To satisfy dependencies, the following 9 packages are going to be installed (135
MB):
openofficeorg-core01-1.9.118-1.i586
openofficeorg-core02-1.9.118-1.i586
openofficeorg-core03-1.9.118-1.i586
openofficeorg-core04-1.9.118-1.i586
openofficeorg-core05-1.9.118-1.i586
openofficeorg-core06-1.9.118-1.i586
openofficeorg-core07-1.9.118-1.i586
openofficeorg-core08-1.9.118-1.i586
openofficeorg-writer-1.9.118-1.i586
Is this OK? (Y/n) y

   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core02-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core03-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core08-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core06-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core07-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-writer-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core04-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core01-1.9.118-1.i586.rpm
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core05-1.9.118-1.i586.rpm
The following packages have bad signatures:
/var/cache/urpmi/rpms/openofficeorg-core01-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core02-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core03-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core04-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core05-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core06-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core07-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-core08-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
/var/cache/urpmi/rpms/openofficeorg-writer-1.9.118-1.i586.rpm: Missing signature
(md5 OK)
Do you want to continue installation ? (y/N) y
installing openofficeorg-core03-1.9.118-1.i586.rpm
openofficeorg-core02-1.9.118-1.i586.rpm openofficeorg-core08-1.9.118-1.i586.rpm
openofficeorg-core07-1.9.118-1.i586.rpm openofficeorg-core06-1.9.118-1.i586.rpm
openofficeorg-writer-1.9.118-1.i586.rpm openofficeorg-core04-1.9.118-1.i586.rpm
openofficeorg-core01-1.9.118-1.i586.rpm openofficeorg-core05-1.9.118-1.i586.rpm
from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/9: openofficeorg-core03  #############################################
      2/9: openofficeorg-core02  #############################################
      3/9: openofficeorg-core08  #############################################
      4/9: openofficeorg-core07  #############################################
      5/9: openofficeorg-core06  #############################################
      6/9: openofficeorg-core04  #############################################
      7/9: openofficeorg-core01  #############################################
      8/9: openofficeorg-writer  #############################################
      9/9: openofficeorg-core05  #############################################

# /opt/openoffice.org1.9.118/program/swriter
/opt/openoffice.org1.9.118/program/javaldx: error while loading shared
libraries: libuno_sal.so.3: cannot open shared object file: No such file or
directory
/opt/openoffice.org1.9.118/program/soffice.bin: error while loading shared
libraries: libvcl680li.so: cannot open shared object file: No such file or 
directory
# LD_LIBRARY_PATH=/opt/openoffice.org1.9.118/program ldd
/opt/openoffice.org1.9.118/program/soffice.bin
        linux-gate.so.1 =>  (0xffffe000)
        libvcl680li.so => not found
        libsvl680li.so => not found
        libsvt680li.so => not found
        libutl680li.so => not found
        libtl680li.so => not found
        libcomphelp4gcc3.so => not found
        libucbhelper3gcc3.so => not found
        libvos3gcc3.so => not found
        libuno_cppuhelpergcc3.so.3 => not found
        libuno_cppu.so.3 => not found
        libuno_sal.so.3 => not found
        libtk680li.so => not found
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7f1a000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7f11000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7ef9000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e2c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e28000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e15000)
        libstlport_gcc.so => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d45000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7d22000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d19000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7bef000)
        /lib/ld-linux.so.2 (0xb7f3c000)

# for i in `find /opt/openoffice.org1.9.118/program/ -type l `;do if [ ! -e $i
];then rpm -qf $i;fi;done |sort -u
openofficeorg-core05-1.9.118-1

So, it seems  openofficeorg-core05 contains symlinks to files not provided by
any package required by it.

They seem to be in openofficeorg-core05u:

# for i in `find /opt/openoffice.org1.9.118/program/ -type l -exec readlink {}
\;`;do file=/opt/openoffice.org1.9.118/program/$i; if [ ! -e $file ];then urpmf
/opt/openoffice.org1.9.118/program/$i 2>/dev/null;fi;done |awk -F: '{print
$1}'|sort -u
openofficeorg-core05
openofficeorg-core05u

So, we install openofficeorg-core05u:

#  /opt/openoffice.org1.9.118/program/swriter
/opt/openoffice.org1.9.118/program/soffice.bin: error while loading shared
libraries: libvcl680li.so: cannot open shared object file: No such file or 
directory

# urpmf  libvcl680li.so
openofficeorg-core04u:/opt/openoffice.org1.9.118/program/libvcl680li.so
openofficeorg-core04u:/opt/openoffice.org1.9.118/program/libvcl680li.so.1.1

OK, so we need openofficeorg-core04u too ...

# urpmi openofficeorg-core04u
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core04u-1.9.118-1.i586.rpm
The following packages have bad signatures:
/var/cache/urpmi/rpms/openofficeorg-core04u-1.9.118-1.i586.rpm: Missing
signature (md5 OK)
Do you want to continue installation ? (y/N) y
installing openofficeorg-core04u-1.9.118-1.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/1: openofficeorg-core04u #############################################
[EMAIL PROTECTED] bgmilne]#  /opt/openoffice.org1.9.118/program/swriter
The application cannot be started.
The component manager is not available.

No other hints are really available as to what is missing ... so we see what
packages aren't installed:
# rpm -q `urpmq -y openofficeorg`|grep "not installed"
package openofficeorg-base is not installed
package openofficeorg-calc is not installed
package openofficeorg-core03u is not installed
package openofficeorg-core09 is not installed
package openofficeorg-core10 is not installed
package openofficeorg-draw is not installed
package openofficeorg-gnome-integration is not installed
package openofficeorg-graphicfilter is not installed
package openofficeorg-impress is not installed
package openofficeorg-javafilter is not installed
package openofficeorg-mandriva-menus is not installed
package openofficeorg-math is not installed
package openofficeorg-pyuno is not installed
package openofficeorg-spellcheck is not installed
package openofficeorg-testtool is not installed
package openofficeorg-xsltfilter is not installed

and try them one by one:
[EMAIL PROTECTED] bgmilne]# urpmi openofficeorg-core03u
   
http://buffy.obsidian.co.za/distro/i386/mandrake/club/2005LE/media/obs/openofficeorg-core03u-1.9.118-1.i586.rpm
The following packages have bad signatures:
/var/cache/urpmi/rpms/openofficeorg-core03u-1.9.118-1.i586.rpm: Missing
signature (md5 OK)
Do you want to continue installation ? (y/N) y
installing openofficeorg-core03u-1.9.118-1.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/1: openofficeorg-core03u #############################################
[EMAIL PROTECTED] bgmilne]#  /opt/openoffice.org1.9.118/program/swriter
[EMAIL PROTECTED] bgmilne]#


So, it seems like either openofficeorg-core03 should depend on
openofficeorg-core03u (and similar). But, then, there doesn't seem to be a good
reason for the seperation?

Also, I would note that rpm can usually get all the dependencies right itself
(using 'AutoReqProv on' instead of disabling it).

Finally, from the contents of openofficeorg-core09 and openofficeorg-core10, and
the fact that no package seems to require them, it seems like some features will
be enabled by installing them ... but unless they are required, or have a better
name/summary/description, it isn't likely people will realise what they are for.

Otherwise, the packages are great to have!

(P.S. It would be nice if they could be signed, and the GPG public key could be
provided, or if they could be built with a modern RPM so I could sign them
myself, to get rid of the signature warnings above ..).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to