LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   firefox 1.5 from fedora development repository (https://www.linuxquestions.org/questions/fedora-35/firefox-1-5-from-fedora-development-repository-400941/)

aoconnor 01-08-2006 03:00 PM

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

Lenard 01-08-2006 04:31 PM

Try these instead;

http://ftp.freshrpms.net/pub/freshrp...ing/4/firefox/

aoconnor 01-08-2006 04:47 PM

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

Lenard 01-08-2006 05:32 PM

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

aoconnor 01-08-2006 05:50 PM

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

Lenard 01-08-2006 07:02 PM

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.

aoconnor 01-08-2006 07:21 PM

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

geoffro 01-22-2006 09:14 AM

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

Lenard 01-22-2006 10:38 AM

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.

phishphan420 01-22-2006 10:02 PM

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 :cool:

geoffro 01-23-2006 01:01 PM

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

bjharker 01-23-2006 05:31 PM

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...:)

KimMcCall 02-03-2006 09:01 AM

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.

bc819 02-21-2006 08:07 AM

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

Lenard 02-21-2006 09:29 AM

Look again, all you need to change is one line....

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


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