LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2004, 04:46 AM   #1
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Angry Few installation questions (RPM, Java, Webcam)...


Hi ya,

I use SuSE 9.0 distro and I'm prety happy with it. Recentyl I've installed the OOo suite as I think it is far much better than the KDE's own KOffice package.

And here pops up the first problem. After installing OOo I got "broken dependancy" error that says the library libjawt.so is not on the system but OOo depends on it so there's brocken dependancy. Both YaST2 and apt-get refuse to do any work prior to "resolve" this conflict. "Resolving" means deinstalling the OOo suite. I deinstalled the OOo suite and then installed the j2se 1.4.2 package (as RPM), then I ran the ldconfig as follows

home:~# ldconfig /usr/java/jr2se_1.4.2_02

to ensure the libjawt.so library gets known to the system. Then I reinstalled the OOo suite and was hopping the error went away. How irritating... For no avail!!! The brocken dependancy error stills there.

The search here in LinuxQuestions.org did not brought the answer, but gave me some points of attention - I ran the jvmsetup application from the OOo suite, found and selected the installed J2SE runtime for use with OOo. But each time I run jvmsetup it says there's no JRE installed for use with OOo and I must browse and select it again. Again no success...

In other words, I did anything I know to get rid of this brocken dependancy error, but without success. Please if anyone knows how to solve this problem, just drop me a line here. Post your comments and/or suggestions. I'm thankful for each post and answer on my questions..

Then here is the second problem. The APT repository for SuSE (apt4rpm SuSE repository ) provides over 5000 RPMs, but apparentyl they have missing GPG signatures. What I get, when I use apt-get to install or update software on my machine is an error like this one:

Error: <this_packet_with_version_x.y.z>.rpm Signature is NOT OK. Missing GPG signature, Public key: <some_GPG_key>

And apt-get (and synaptic) refuses to install the RPM. Using the rpm command installs the RPM, but displays warning about missing GPG signatures. Does anyone know what the problem could be?! Should I run GPG over the downloaded RPMs in order to fix the missing signatures?! If yes, how to do it?!
Currently I get rid of this problem, by setting the parameter RPM::GPG_Check = "false", but I feel it is not very good idea to do so.

And finaly here is the third problem. I've one very standard and simple WebCam from Creative Labs. I thinks the brand should be the Creative WebCam II (not the Creative WebCam 5), but I'm not sure - SuSE did not recognized it. How to make it work on my system?! Search in the forums and in Internet (Google, Yahoo, Tucows) did not brought to me any valuable information. I download some drivers, manuals and HOWTO-s but neither helped to make the WebCam work.

Many thanks in advance.

Kind regards,
sbogus
 
Old 05-24-2004, 04:37 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"And here pops up the first problem. After installing OOo I got "broken dependancy" error that says the library libjawt.so is not on the system but OOo depends on it so there's brocken dependancy. Both YaST2 and apt-get refuse to do any work prior to "resolve" this conflict. "Resolving" means deinstalling the OOo suite. I deinstalled the OOo suite and then installed the j2se 1.4.2 package (as RPM), then I ran the ldconfig as follows"

The problem may be that libjawt.so exists but is not registered in the rpm data base. rpm looks for dependencies in the rpm data base. It does not look in the file tree for them. You can check this problem by finding the full path name for libjawt.so and then checking to see if that is registered in the rpm data base. The procedure is something like this:
find /usr -iname "*libjawt.so*"
or perhaps:
find /opt -iname "*libjawt.so*"
find /lib -iname "*libjawt.so*"

Lets suppose that you find /usr/java/libjawt.so. Then you check the rpm data base with:
rpm -q --whatprovides /usr/java/libjawst.so

If /usr/java/libjawst.so exists but is not registered in the rpm data base then you can install OOo with --nodeps:
rpm --nodeps -i /pathname/OOo-packagename

"Currently I get rid of this problem, by setting the parameter RPM::GPG_Check = "false", but I feel it is not very good idea to do so."

That is a good way to solve the problem.

"And finaly here is the third problem."
I don't know the answer. Somebody else will have to answer this one.

---------------------------
Steve Stites

Last edited by jailbait; 05-24-2004 at 04:44 PM.
 
Old 05-25-2004, 03:43 AM   #3
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Original Poster
Rep: Reputation: 15
Hi jailbait,
thanks for your reply!

I did waht you suggested, so here's the resumee of what I've got...

Quote:
The problem may be that libjawt.so exists but is not registered in the rpm data base. rpm looks for dependencies in the rpm data base. It does not look in the file tree for them. You can check this problem by finding the full path name for libjawt.so and then checking to see if that is registered in the rpm data base. The procedure is something like this: find /usr -iname "*libjawt.so*" or perhaps: find /opt -iname "*libjawt.so*" find /lib -iname "*libjawt.so*" Lets suppose that you find /usr/java/libjawt.so. Then you check the rpm data base with: rpm -q --whatprovides /usr/java/libjawst.so If /usr/java/libjawst.so exists but is not registered in the rpm data base then you can install OOo with --nodeps: rpm --nodeps -i /pathname/OOo-packagename
I did new fresh install of the whole J2SE 1.4.2_04 SDK where JRE is included, and I did it on clean place (I wiped out the old installation of JRE 1..4.2_94, so I'm prety sure there was no mess up with the "new" and "old" installations). I ran then ldconfig to refresh the link to libjawt.so and then I ran rpm --rebuilddb to rebuild the RPM database. Find command was successful and told me where the library resides, but rpm -q --whatprovides /opt/java/j2sdk_1.4.2_04/jre/lib/i386/libjawst.so throw the message out: "The library libjawt.so is not owned by any package".

I deinstalled OOo again and did my update and (re)install work with apt-get, and then I decided to install OOo via apt-get, so that the suite gets chance to build its dependencies as needed. For no avail again - what apt-get says is like this one: "OpenOffice_org can not be installed. It depends on libjawt.so wich is not installable. E: 1 Brocken package(s)".
apt-cache search libjawt.so did not found anything, so OOo is not installable via apt-get. Using the distribution's own RPMs for OOo and using the --nodepend parameter to rpm installs the suite just as usual, because after that install the brocken dependancy error pops up again.

For me this seems to be a brocken package error in the OOo suite itself - the RPM is built and packaged wrong.

Or... Any other suggestions for that problem?!
Many thanks in advance.

Kind regards,
sbogus
 
Old 05-25-2004, 11:17 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"For me this seems to be a brocken package error in the OOo suite itself - the RPM is built and packaged wrong."

I think that the problem is in the J2SE 1.4.2_04 SDK. I don't think that the install is registering /opt/java/j2sdk_1.4.2_04/jre/lib/i386/libjawst.so in the rpm data base. What I suggest that you do is try to install OOo using command line rpm with the --nodeps option. If that doesn't work then I agree that you have a broken package.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 05-25-2004, 01:25 PM   #5
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jailbait
What I suggest that you do is try to install OOo using command line rpm with the --nodeps option. If that doesn't work then I agree that you have a broken package.
I already wrote I tried to install OOo from the distribution RPMs with rpm --nodeps OpenOffice_org.xx.yy.rpm and that isntalled just okay, as well as without this --nodeps parameter. Afther that install, the brocken dependancy pops up again - i.e. using either YaST2 or apt-get, both say that OOo sute has brocken dependancy to libjawt.so.

So I mean the OOo suite has a bug inside.

Kind regards,
sbogus
 
Old 05-25-2004, 02:45 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"So I mean the OOo suite has a bug inside."

Yes, I agree. I think that the next thing to check to see if the bug has any effect when you run Open Office. The bug may just be in the install process. I suggest that you test Open Office to see if Open Office will work now that you have it installed.

-----------------------
Steve Stites
 
Old 05-26-2004, 03:02 AM   #7
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Original Poster
Rep: Reputation: 15
Hi jailbait,

Quote:
Originally posted by jailbait
... . The bug may just be in the install process. I suggest that you test Open Office to see if Open Office will work now that you have it installed.
Yes, it works fine with one exception - when OOo starts for the first time, it says that no suitable java installation was found, so none of the features that might require Java will work. I was unable though, to find "feature" that might not work. One note is here: I do not have as choice to create any database document (I think I've reade somewhere, OOo does not allow database documents to be created and maintained if Java and the corresponding javaODBC drivers are not locatable). This means there is no menu choice to create such database document, nor there is template for that task.

Besides this, OOo works stable and prety well. No problems at all with any other document, including MS Word, MS Excel and MS PowerPoint ones.

Kind regards,
sbogus
 
Old 05-26-2004, 11:51 AM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Yes, it works fine with one exception - when OOo starts for the first time, it says that no suitable java installation was found, so none of the features that might require Java will work."

I think that the problem is that OOo is looking for libjawst.so somewhere in /usr and libjawst.so is really at /opt/java/j2sdk_1.4.2_04/jre/lib/i386/libjawst.so. You might be able to fix this problem by making a symbolic link from where OOo is looking for libjawst.so to /opt/java/j2sdk_1.4.2_04/jre/lib/i386/libjawst.so. Try:

mkdir /usr/java
ln -s /opt/java/j2sdk_1.4.2_04/jre/lib/i386/libjawst.so /usr/java/libjawst.so

I am not sure that /usr/java/libjawst.so is where OOo is looking for java so you may have a better idea where OOo is looking.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 05-27-2004, 02:51 AM   #9
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Original Poster
Rep: Reputation: 15
Hi jailbait,

thanks for the suggestion - it seems to be the right one, because what OOo looks for is a configuration file named <JRE_Distribution_Name>.conf in the /etc/java directory. The name <JRE_Distribution_Name> is just the name of the J2SDK or J2SE package. In my example this would be j2sdk_1.4.2_04.conf. I can imagine what the file contents is, but I don't know how to create such configuration file. In the /etc/java directory is one README file with some instructions, but I didn't realize how it really works.

Do you (or anyone other) have any ideas about that?
Many thanks in advance.

Kind regards,
sbogus
 
Old 06-10-2004, 01:21 PM   #10
sunburntkamel
LQ Newbie
 
Registered: Apr 2004
Location: chicago
Distribution: SUSE 9.1
Posts: 18

Rep: Reputation: 0
yeah, this is the reason i trashed suse and went back to redhat.
 
Old 06-10-2004, 06:57 PM   #11
rbourne3
LQ Newbie
 
Registered: Jun 2004
Distribution: SuSE
Posts: 1

Rep: Reputation: 0
I fixed this by installing OOo with YAST, downloading and installing java with YAST (click on rpm in file manager) then reinstalling OOo with YAST. Note that nothing was uninstalled.
 
Old 06-11-2004, 05:51 AM   #12
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Original Poster
Rep: Reputation: 15
Hi ya,
thanks for the replyes and for the suggestions.

I somehow manged to get rid of this error (don't sure it is a real solution, but for me it worked perfect). I made this config file in /etc/java and stated therein the paths to the JSDK and to the JRE binaries and made the environment variables export from the config file. Then I just installed manually OOo 1.1.1 from scratch (note! it is not the SuSE 9.0's OOo 1.1, but newer) and ran the jvmsetup script from the programs subfolder ot the OOo installation. I did select my already installed JSDK and then like a magic, the libjawt.so conflict disappear.

Now I can use apt-get and YaST2 without any problems for missing or brocken packages.

Kind regards,
sbogus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie general debconf / webcam questions nobodyhere Linux - Hardware 2 08-13-2005 07:25 AM
RPM target installation questions (kernel). Thetargos Fedora 11 03-16-2004 02:46 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 09:24 PM
java rpm installation! shycalais Linux - Newbie 3 10-16-2003 10:11 PM
Please help - Gimp RPM installation and general questions Annapanna Linux - Newbie 5 06-05-2002 03:12 PM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration