<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you Mairin and Herta for you response. Here is the result from
my up2date -i firefox, this was the first<br>
thing I tried:<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
[paula@rocky paula]$ up2date -i firefox<br>
Fetching Obsoletes list for channel: rhel-x86_64-ws-3...<br>
Fetching rpm headers...<br>
Name Version Rel <br>
----------------------------------------------------------<br>
The following packages you requested were not found:<br>
firefox<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
This is why I wanted to use yum. I don't understand<br>
why "packages requested were not found." I got<br>
firefox from RHN, but it isn't an rpm. It's a complete<br>
directory. In the directory I run ./firefox and get that<br>
gtk error. When I go to the console and run ./firefox,<br>
it takes me to google.... I don't know why this is so hard.<br>
One of my colleagues said "welcome to the linux world."<br>
But I've been working with linux for over a year and <br>
have never encountered this. <br>
Many thanks for all of your help.<br>
Paula<br>
<br>
<br>
Máirín Duffy wrote:
<blockquote cite="mid47603544.5060902@redhat.com" type="cite">
<pre wrap="">Hi Paula,
Paula J. Lindsay wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi everyone, I hope you can help me with this silly problem. I'm
working on a RHE 3 machine and I am trying to install yum
so I can yum down firefox. Well, when I try to install yum (via rpm)
there are too many dependencies/conflicts and the install
fails.
</pre>
</blockquote>
<pre wrap=""><!---->
Where are you getting the yum RPM for RHEL 3 from? Are you sure the RPM
you are using was built for RHEL 3?
RHEL 3's default and Red Hat supported package update system is a
program called 'up2date'. Do you have a specific reason that you would
like to use yum instead of up2date on RHEL 3?
</pre>
<blockquote type="cite">
<pre wrap="">I finally gave up and downloaded a firefox package and I can't
install that either. I get this message:
(firefox-bin:1120): Gtk-WARNING **: cannot open display:
</pre>
</blockquote>
<pre wrap=""><!---->
Where are you receiving this message? This doesn't seem to be a message
that RPM, yum, or up2date would output. See, it says "firefox-bin" so it
looks like an error message given by running firefox, which means
firefox would have to have been successfully installed.
How are you starting up firefox when you try to run it? My first guess
would be that maybe you've ssh'ed into a machine that has firefox
installed and you are typing 'firefox' at the prompt, but because you
are ssh'ed in it can't display the firefox window on your remote
machine. (If you are connecting from a remote Linux machine you can try
ssh -Y <hostname goes here> and then running firefox remotely and it
should pop up.)
</pre>
<blockquote type="cite">
<pre wrap="">I am getting so frustrated because these were such simple tasks and I am
just spinning my wheels. Why is it so hard to install
these two programs.
</pre>
</blockquote>
<pre wrap=""><!---->
It appears you successfully installed firefox. Yum, I am not sure what
the whole story is with that - why are trying to install it on a RHEL 3
machine? Is the RPM you are using built for RHEL 3?
</pre>
<blockquote type="cite">
<pre wrap="">Why doesn't the rpm that I download already have
the libs and python that is needed.
</pre>
</blockquote>
<pre wrap=""><!---->
Necessarily, programs like firefox and yum rely on versions of libraries
that are external to them. If every program contained the code for every
other program and library it required, you would have many duplicate
copies of the same set of libraries and programs installed on your
machine, not only wasting your harddrive space but also leaving your
machine vulnerable to security bugs as some programs' copies of a
particular library may be very out-of-date.
It is also important that the RPMs installed on your system are built
for the version of RHEL that you are using. If you try to install a yum
package that was built for RHEL 5 on a RHEL 3 machine, for example, it
will likely never install because it will require versions of libraries
and other packages that are not and likely will never be available in
RHEL 3. One of the main differences between RHEL 3 and RHEL 5, for
example, is the very package set and the manifest of package versions
available in each.
RPMs are not really meant to be installed by hand. We have package
management programs such as yum and up2date in RHEL and apt in Debian in
order to manage this 'dependency hell' for you. You should not have to
resolve these dependencies by hand. The following video/article does
talk a bit about this:
<a class="moz-txt-link-freetext" href="http://www.redhatmagazine.com/2007/09/20/the-next-horizon-how-red-hat-used-yum-to-overcome-rpm-dependency-hell/">http://www.redhatmagazine.com/2007/09/20/the-next-horizon-how-red-hat-used-yum-to-overcome-rpm-dependency-hell/</a>
If you would have installed firefox by running 'up2date -i firefox' you
would not have had to deal with any of this, if your goal was to just
install firefox.
</pre>
<blockquote type="cite">
<pre wrap="">I can't even
google the problem because I always end up where I downloaded the
program in the first place. Any help would be
dearly appreciated. And, thanks in advance.
</pre>
</blockquote>
<pre wrap=""><!---->
In the future you may have some luck with <a class="moz-txt-link-freetext" href="http://kbase.redhat.com/">http://kbase.redhat.com/</a>. Or
of course you can feel free to ask here!
Does this make any more sense now?
~m
_______________________________________________
rhn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rhn-users">https://www.redhat.com/mailman/listinfo/rhn-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Paula J. Lindsay
IT Analyst III
Research Computing
10550 North Torrey Pines Road
La Jolla, CA 92037
858.784.9378 (office)
858.784.9301 (fax)
<a class="moz-txt-link-abbreviated" href="mailto:paula@scripps.edu">paula@scripps.edu</a>
</pre>
</body>
</html>