LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-22-2006, 06:35 AM   #16
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63

What happens if you try "rpm -Uvh mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm" instead? U = update, i = install.
 
Old 04-22-2006, 07:28 AM   #17
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Mega Man X
What happens if you try "rpm -Uvh mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm" instead? U = update, i = install.
Code:
[root@nfs Desktop]# rpm -ivh mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm
Preparing...                ########################################### [100%]
        file /usr/bin/mozilla-firefox from install of mozilla-firefox-1.5.0.2-1.2006mcnl conflicts with file from package mozilla-firefox-1.0.6-15mdk
        file /usr/share/icons/large/mozilla-firefox.png from install of mozilla-firefox-1.5.0.2-1.2006mcnl conflicts with file from package mozilla-firefox-1.0.6-15mdk
        file /usr/share/icons/mini/mozilla-firefox.png from install of mozilla-firefox-1.5.0.2-1.2006mcnl conflicts with file from package mozilla-firefox-1.0.6-15mdk
        file /usr/share/icons/mozilla-firefox.png from install of mozilla-firefox-1.5.0.2-1.2006mcnl conflicts with file from package mozilla-firefox-1.0.6-15mdk

Last edited by itz2000; 04-22-2006 at 02:07 PM.
 
Old 04-22-2006, 07:44 AM   #18
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
shall I try the same thing with --replacefiles option?

wouldn't it do any damage?!
 
Old 04-22-2006, 07:46 AM   #19
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Yeah, that's the problem with Mdv Firefox rpm : some other packages depend on it.

You could try rpm -Uvh --nodeps (i don't think it would prevent epiphany or yelps from working).

Last edited by jib2; 04-22-2006 at 07:47 AM.
 
Old 04-22-2006, 08:05 AM   #20
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
OOps, sorry. I didn't notice you've already tried the -U command. Yup, you need to be root to install rpm's. You could install a new firefox without removing the old one (and potentially breaking other things). Try this:

Forget the .rpm out for a second. Go to www.mozilla.org and grab the tar.gz package:

http://download.mozilla.org/?product...nux&lang=en-US

As root, move that file to your /opt with:

mv firefox-1.5.0.2.tar.gz /opt

I'm putting it here to do not conflict with anything, and it's also a good place to install packages that don't come with your distribution. Uncompress the file:

tar xzvf firefox-1.5.0.2.tar.gz

You will notice that a new folder was created(firefox-1.5.0.2) in the same directory you are (/opt/firefox-1.5.0.2). Go into that directory and you will find a file called firefox right? Run it:

./firefox

That should start your new firefox without a problem while still keeping the old one. However, if you simply type "firefox" at the terminal, you will run the old firefox. To be able to use the new firefox, you need to create a symbolic link:

rm -rf /usr/bin/firefox
ln -s /usr/opt/firefox-1.5.0.2/firefox /usr/bin/firefox

If you remove the firefox installed on your system, yelp and ephyphany will stop working. If you use the suggestion provided by jib2, you may have your firefox updated without breaking anything.

However, if you don't need those programs, then it's safe to remove them anyway.

Also, don't be to afraid to brake your system while installing things. It will brake eventually because rpm's are evil J/k (or am I, lol)

Last edited by Mega Man X; 04-22-2006 at 08:07 AM.
 
Old 04-22-2006, 08:22 AM   #21
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Mega Man X
OOps, sorry. I didn't notice you've already tried the -U command. Yup, you need to be root to install rpm's. You could install a new firefox without removing the old one (and potentially breaking other things). Try this:

Forget the .rpm out for a second. Go to www.mozilla.org and grab the tar.gz package:

http://download.mozilla.org/?product...nux&lang=en-US

As root, move that file to your /opt with:

mv firefox-1.5.0.2.tar.gz /opt

I'm putting it here to do not conflict with anything, and it's also a good place to install packages that don't come with your distribution. Uncompress the file:

tar xzvf firefox-1.5.0.2.tar.gz

You will notice that a new folder was created(firefox-1.5.0.2) in the same directory you are (/opt/firefox-1.5.0.2). Go into that directory and you will find a file called firefox right? Run it:

./firefox

That should start your new firefox without a problem while still keeping the old one. However, if you simply type "firefox" at the terminal, you will run the old firefox. To be able to use the new firefox, you need to create a symbolic link:

rm -rf /usr/bin/firefox
ln -s /usr/opt/firefox-1.5.0.2/firefox /usr/bin/firefox

If you remove the firefox installed on your system, yelp and ephyphany will stop working. If you use the suggestion provided by jib2, you may have your firefox updated without breaking anything.

However, if you don't need those programs, then it's safe to remove them anyway.

Also, don't be to afraid to brake your system while installing things. It will brake eventually because rpm's are evil J/k (or am I, lol)
I've already done that! it's not working somehow!
Code:
[root@nfs firefox]# ./firefox
./run-mozilla.sh: line 131: 22948 Segmentation fault      "$prog" ${1+"$@"}
[root@nfs firefox]# exit
exit
[zuki@nfs firefox]$ ./firefox
*** glibc detected *** double free or corruption (out): 0x08c692a0 ***
 
Old 04-22-2006, 08:37 AM   #22
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
I hate myself!
Untill I succeded with the --nodeps option, I wanted to create a shortcut so I did this
Code:
rm -rf /usr/bin/firefox
ln -s /usr/bin/mozilla-firefox /usr/bin/firefox
and I don't know how to start firefox again!
I only have this wondow of firefox opened.
If I close this, I don't know how would I be able to open it again.
 
Old 04-22-2006, 08:42 AM   #23
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
My apologies. Looks like the Firefox 1.5.0.2 rpm might break Yelps.
http://www.linuxfordummies.org/index.php?topic=445.0
 
Old 04-22-2006, 08:53 AM   #24
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jib2
My apologies. Looks like the Firefox 1.5.0.2 rpm might break Yelps.
http://www.linuxfordummies.org/index.php?topic=445.0

I don't understand what shall I do now, please read my previous post!
 
Old 04-22-2006, 08:54 AM   #25
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
I believe firefox would be installed in /usr/lib/mozilla-firefox-1.5.0.2
or something like that (you'll have to check)

Your link should be something like:

ln -s /usr/lib/mozilla-firefox-1.5.0.2/run-mozilla.sh /usr/bin/firefox

Then you can launch firefox with:
$ firefox

(Not sure, though, since i don't use the Mdv rpm)

EDIT: There might be a symlink already from the rpm; try
$ mozilla-firefox

Last edited by jib2; 04-22-2006 at 08:57 AM.
 
Old 04-22-2006, 08:59 AM   #26
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Code:
[root@nfs mozilla-firefox-1.5.0.2]# ln -s /usr/lib/mozilla-firefox-1.5.0.2/run-mozilla.sh /usr/bin/firefox

[zuki@localhost mozilla-firefox-1.5.0.2]$ firefox

firefox: Cannot execute .
So that means that it's there, but the symbolik link is not working, how can I run it in other way?



EDIT:
here's what I get from that mozilla-firefox
Code:
[zuki@localhost mozilla-firefox-1.5.0.2]$ mozilla-firefox
./mozilla-firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory

Last edited by itz2000; 04-22-2006 at 09:01 AM.
 
Old 04-22-2006, 09:17 AM   #27
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Well, i don't know; the library is in /usr/lib/mozilla-firefox...

Try
$ /usr/lib/mozilla-firefox-1.5.0.2/run-mozilla.sh

First, check the permissions on that file (must be executable).
 
Old 04-22-2006, 10:01 AM   #28
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jib2
Well, i don't know; the library is in /usr/lib/mozilla-firefox...

Try
$ /usr/lib/mozilla-firefox-1.5.0.2/run-mozilla.sh

First, check the permissions on that file (must be executable).
I don't think I need to touch the permissions... but anyways,
what command should I do to make this executable (what permissions?)



BTW :
Code:
[zuki@localhost mozilla-firefox-1.5.0.2]$ /usr/lib/mozilla-firefox-1.5.0.2/run-mozilla.sh

run-mozilla.sh: Cannot execute .
 
Old 04-22-2006, 10:13 AM   #29
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
The solution is

Downloading that RPM, and all the required RPM (google them/rpm find)
and then
su to root :

Code:
[root@nfs Desktop]# rpm -Uvh --nodeps  mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm
and if u deleted some stuff like I did, u can reinstall by :
Code:
[root@nfs Desktop]# rpm -Uvh --nodeps  mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm --replacepkgs

Thanks for everyone!

Last edited by itz2000; 04-22-2006 at 12:10 PM.
 
Old 04-22-2006, 10:52 AM   #30
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Ok, glad you could make it.
 
  


Reply

Tags
firefox, upgrade


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
upgrading to firefox 1.5 krock923 Debian 12 05-07-2006 11:40 PM
Upgrading firefox on xandros windy9 Linux - General 2 04-21-2006 04:52 PM
Upgrading Firefox the right way duffmckagan Ubuntu 39 12-22-2005 01:40 PM
Upgrading Firefox ipodlinux Linux - Software 12 11-27-2005 12:13 AM
Upgrading Firefox LiberteToujours Linux - Software 0 01-17-2005 05:45 PM


All times are GMT -5. The time now is 12:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration