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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-22-2006, 07:35 AM
|
#16
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
What happens if you try "rpm -Uvh mozilla-firefox-1.5.0.2-1.2006mcnl.i586.rpm" instead? U = update, i = install.
|
|
|
04-22-2006, 08:28 AM
|
#17
|
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:
|
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 03:07 PM.
|
|
|
04-22-2006, 08:44 AM
|
#18
|
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:
|
shall I try the same thing with --replacefiles option?
wouldn't it do any damage?!
|
|
|
04-22-2006, 08:46 AM
|
#19
|
Member
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221
Rep:
|
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 08:47 AM.
|
|
|
04-22-2006, 09:05 AM
|
#20
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
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 09:07 AM.
|
|
|
04-22-2006, 09:22 AM
|
#21
|
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:
|
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 ***
|
|
|
04-22-2006, 09:37 AM
|
#22
|
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:
|
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.
|
|
|
04-22-2006, 09:53 AM
|
#24
|
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:
|
Quote:
Originally Posted by jib2
|
I don't understand what shall I do now, please read my previous post!
|
|
|
04-22-2006, 09:54 AM
|
#25
|
Member
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221
Rep:
|
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 09:57 AM.
|
|
|
04-22-2006, 09:59 AM
|
#26
|
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:
|
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 10:01 AM.
|
|
|
04-22-2006, 10:17 AM
|
#27
|
Member
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221
Rep:
|
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).
|
|
|
04-22-2006, 11:01 AM
|
#28
|
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:
|
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 .
|
|
|
04-22-2006, 11:13 AM
|
#29
|
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:
|
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 01:10 PM.
|
|
|
04-22-2006, 11:52 AM
|
#30
|
Member
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221
Rep:
|
Ok, glad you could make it.
|
|
|
All times are GMT -5. The time now is 11:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|