LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Windows better than Linux for java upgrades?

[ILUG] Windows better than Linux for java upgrades?

Niall O Broin niall at linux.ie
Sat Nov 27 12:31:27 GMT 2004


On 27 Nov 2004, at 11:40, Conor Wynne wrote:

> Rebooted into linux (mandrake10), do a "urpmi --autoselect"
> Nothing!

Bad Mandrake so.

> So off I go to http://java.sun.com and download the rpm.
> I do the usual rpm -Uvh j*.rpm and it upgrades.
>
> But its still using the old plugin!
> So I am forced to "unlink /usr/lib/mozilla/plugins/libjavaplugin.so" &
> then relink it with the patched java runtime.

This I can't understand. If you updated the RPM then whatever 
/usr/lib/mozilla/plugins/libjavaplugin.so symlinked to will have been 
changed, and so Mozilla should automatically have the correct plugin.

HOWEVER if Mozilla was running while you did all this (and perhaps you 
have quickstart or some such, so it could have been running even if you 
thought it was not) then it may have had a copy of the old plugin 
loaded in memory.

> I have to repeat the procedure on my SUN JDS2 workstation.
> Surely the RPM package should be altered so that it checks for the
> existence of linked plugins during install time, and relinks where
> appropriate.

So you'd want the RPM to do something like this:

for each file in rpm
do
	search every disk I can find for files which symlink to these files
	change something
done

But as I said, this is moot anyway - if FILEA is a symlink to FILEB 
then as soon as FILEB changes so too does FILEA BUT there could be 
caching issues as discussed above.



Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell