LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-08-2006, 03:00 PM   #1
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Question firefox 1.5 from fedora development repository


I am trying to install Firefox 1.5 from the Fedora Development repository.
The command I use is:

# yum --enablerepo=development --enablerepo=extras-development --enablerepo=extras --enablerepo=base --enablerepo=updates-released update firefox

The problem is that yum produces a hugh dependency list, which it cannot satisfy.
The full list is too long to post, but the first and last parts are:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package firefox.i386 0:1.5-4 set to be updated
--> Running transaction check
--> Processing Dependency: nspr >= 4.6 for package: firefox
--> Processing Dependency: nss >= 3.10 for package: firefox
--> Processing Dependency: libcairo.so.2 for package: firefox
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: firefox
--> Processing Dependency: libpangocairo-1.0.so.0 for package: firefox
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glibc.i686 0:2.3.90-29 set to be updated
---> Package nspr.i386 0:4.6.1-2 set to be updated
---> Package cairo.i386 0:1.0.2-3.1 set to be updated
---> Package nss.i386 0:3.11-2 set to be updated
---> Package pango.i386 0:1.11.1-2 set to be updated
--> Running transaction check
--> Processing Dependency: pango = 1.8.1 for package: pango-devel

--> Finished Dependency Resolution
Error: Missing Dependency: xorg-x11-libs = 6.8.2-37.FC4.49.2 is needed by package xorg-x11-xfs
Error: Missing Dependency: XFree86-libs >= 4.2.99 is needed by package libgnomeui
Error: Missing Dependency: libdps.so.1 is needed by package xorg-x11
Error: Missing Dependency: xorg-x11-libs = 6.8.2-37.FC4.49.2 is needed by package xorg-x11
Error: Missing Dependency: /usr/X11R6/lib/X11/XKeysymDB is needed by package openmotif
Error: Missing Dependency: xorg-x11-libs = 6.8.2-37.FC4.49.2 is needed by package xorg-x11-devel
Error: Missing Dependency: XFree86-libs is needed by package synaptics
Error: Missing Dependency: libdps.so.1 is needed by package ImageMagick
Error: Missing Dependency: libdpstk.so.1 is needed by package ImageMagick
Error: Missing Dependency: XFree86-devel is needed by package startup-notification-devel
Error: Missing Dependency: XFree86-devel is needed by package SDL-devel
Error: Missing Dependency: xorg-x11-devel = 6.8.2-37.FC4.49.2 is needed by package xorg-x11-deprecated-libs-devel
Error: Missing Dependency: xorg-x11-devel is needed by package gd-devel
Error: Missing Dependency: xorg-x11-devel is needed by package Xaw3d-devel
Error: Missing Dependency: xorg-x11-devel is needed by package openmotif-devel
Error: Missing Dependency: XFree86-devel is needed by package gtk2-devel


The strange thing is it seems to be doing something with unrelated (I think) components, like synaptics and ImageMagick.

Am I using the correct yum command?
If I install an individual package from the development tree, is it likely I will have to update a hugh list of components?

Thanks
Aidan
 
Old 01-08-2006, 04:31 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try these instead;

http://ftp.freshrpms.net/pub/freshrp...ing/4/firefox/
 
Old 01-08-2006, 04:47 PM   #3
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the link.
I'm not sure about updating from an unofficial repository though.
Am I right in thinking that the essential difference between installing from different repositories is that files get installed in different locations?
In that case, mixing repositories seems very 'unclean' to me - file for various versions of the same app scattered all over the place!

Thanks
Aidan
 
Old 01-08-2006, 05:32 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You fell comfortable installing developmental packages meant for the up coming Fedora Core 5??? This seems to at odds with your statement IMHO.

Maybe this will help;
http://dag.wieers.com/home-made/apt/FAQ.php#D1
http://www.fedorafaq.org/

FYI: the firefox rpm from the link will install in accordance to the FC4 specifications. And they do work the source was taken from the development site, the spec file was modifed to meet the FC4 system specs and re-built. I did basically the same thing for myself;

$ rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n' firefox
firefox-1.5-1.c4.centos4.i386.rpm

$ cat /etc/redhat-release
CentOS release 4.2 (Final)

Based on this;

http://www.redhat.com/archives/fedor.../msg01244.html
 
Old 01-08-2006, 05:50 PM   #5
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
The first link you gave is precisely why I am reluctant to use a different repository - they even acknowledge themselves that they don't all work together.
That it why I want to stick to Fedora if at all possible.

The Development repository is the only Fedora repository I could find Firefox 1.5.
I presume the firefox package in Development is stable, as it has been out for many weeks.
However, perhaps packages in Development aren't meant to work with FC4 - I don't know - this is the first time I've tried it (Anybody know for sure?).

Thanks
Aidan
 
Old 01-08-2006, 07:02 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The packages in Development are mainly meant for the upcoming FC5 release. One the big changes from FC3 and 4 in FC5 is modular X, which why you saw all the xorg-x11 dependencies. A simple reading of the firefox spec file from both src.rpms will show the common 'family tree' in the changes section.

Limiting yourself to the official fedora repositories is perfectly acceptable and reasonable. Just be aware that you may miss some functionally like playing mp3's and watching dvd's.
 
Old 01-08-2006, 07:21 PM   #7
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the info Lenard.
I do install from other repositories where necessary, I just wasn't sure about upgrading from one when the original installation didn't come from there.
If Development is meant for FC5 then I guess firefox 1.5 will never be officially available for FC4, otherwise it would already be in the Updates repository - would this be correct?
In that case, I will probably go ahead and use freshrpms - I hate being stuck with out of date software.

Thanks
Aidan
 
Old 01-22-2006, 09:14 AM   #8
geoffro
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Firefox 1.5

Hi I fixed it like this:
First close Firefox

Download Firefox 1.5 to Home

$ su

# mv firefox-1.5.tar.gz /urs/lib
# cd /usr/lib
# tar xzvf firefox-1.5.tar.gz
# mv firefox firefox-1.5
# which firefox
/usr/bin/firefox
# cd /usr/bin/
# mv firefox old.firefox
# ln -s /usr/lib/firefox-1.5/firefox
 
Old 01-22-2006, 10:38 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Perfectly acceptable.......

However since FC4 is rpm based you might want to first visit;
http://www.fedoranews.org/tchung/firefox/1.5/

Download all three files and copy firefox.desktop and firefox.png to /usr/src/redhat/SOURCES along with the firefox-1.5.tar.gz file. Copy the firefox.spec file to /usr/src/redhat/SPECS then from the SPECS location do;

rpmbuild -bb firefox.spec

You can find the resulting installable rpm binary in /usr/src/RPMS/{ARCH}
where ARCH is something like i386 or x86_64. This way you can keep and use your rpm database to update to the next version.
 
Old 01-22-2006, 10:02 PM   #10
phishphan420
LQ Newbie
 
Registered: Oct 2003
Location: Naugatuck, CT, USA, Earth
Distribution: Fedora Core 3
Posts: 21

Rep: Reputation: 15
Fc3

Lenard's method worked in FC3. I did of course have to do:
Code:
#rpm -i --force firefox-1.5-1.i386.rpm
with my fingers crossed, it wasnt easy to type. ;-)

Posted with FF 1.5 in 2.6.12-1.1381_FC3
 
Old 01-23-2006, 01:01 PM   #11
geoffro
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Perfectly acceptable.......
Download all three files and copy firefox.desktop and firefox.png to /usr/src/redhat/SOURCES along with the firefox-1.5.tar.gz file. Copy the firefox.spec file to /usr/src/redhat/SPECS then from the SPECS location do;

rpmbuild -bb firefox.spec .....
Yep that's the way to do it
Moved from micro$oft a month ago so still learning
/G

Last edited by geoffro; 01-23-2006 at 01:06 PM.
 
Old 01-23-2006, 05:31 PM   #12
bjharker
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora 8 & 11, CentOS 5, Debian Etch, Slackware 12.2
Posts: 26

Rep: Reputation: 15
thanks!

Lenard-
thanks for your post about building the rpm for firefox 1.5...worked like a charm, and helped clarify (for me anyways) some issues about dealing with rpms...
 
Old 02-03-2006, 09:01 AM   #13
KimMcCall
LQ Newbie
 
Registered: Jun 2004
Location: Menlo Park, CA
Distribution: Fedora Core 3
Posts: 9

Rep: Reputation: 0
Slightly safer invocation of rpm install

Instead of
# rpm -i --force firefox-1.5-1.i386.rpm
I used
# rpm -Uhv firefox-1.5-1.i386.rpm

It worked fine, and I felt safer not having to use the "--force"

Thanks, Lenard, for the guidance.
 
Old 02-21-2006, 08:07 AM   #14
bc819
LQ Newbie
 
Registered: Feb 2006
Distribution: FC 4
Posts: 2

Rep: Reputation: 0
Hi Lenard,

I downloaded the soucre, firefox-1.5.0.1.tar.gz, from mozilla site, and tried to use your method to upgrade to firefox 1.5.
But i got this error.
error: File /usr/src/redhat/SOURCES/firefox-1.5.tar.gz: No such file or directory

I looked into the firefox.spec file and could not figure out how to change 1.5 to 1.5.0.1.
TIA for any help.

barry
 
Old 02-21-2006, 09:29 AM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Look again, all you need to change is one line....

Name : firefox
Version : 1.5.0.1 <-----this one
Release : 1%{?dist}
 
  


Reply



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
Fedora Core 3 Default Repository windisch Linux - Software 3 08-24-2005 09:45 AM
Suse apt repository containing firefox Gsecur Linux - Software 5 10-05-2004 10:48 PM
Can't install development tools Fedora geekdaddy Linux - Newbie 0 04-13-2004 10:47 PM
need Evolution for Fedora development release cdrobsonjr Fedora 5 03-01-2004 10:48 PM
Macromedia Flash Development in Fedora carter Linux - Software 1 01-18-2004 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

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
Open Source Consulting | Domain Registration