Hi there,
This is a probably stupid question, but I never checked what strategy yum uses.
If I do "yum install firefox" on a freshly installed F19 system, and the initial version of FIrefox on F19 (the one shipped on the LiveCD) is, say, 21.0, but the latest update on the repos is, say, Firefox 23.0. Does "yum install firefox" directly fetch FF 23.0.x, or does it install the "baseline" browser (21.0) and then on the next "yum update firefox" jump to 23?.
Thanks in advance. FC
On Thursday, September 05, 2013 01:08:50 AM Fernando Cassia wrote:
Hi there,
This is a probably stupid question, but I never checked what strategy yum uses.
If I do "yum install firefox" on a freshly installed F19 system, and the initial version of FIrefox on F19 (the one shipped on the LiveCD) is, say, 21.0, but the latest update on the repos is, say, Firefox 23.0. Does "yum install firefox" directly fetch FF 23.0.x, or does it install the "baseline" browser (21.0) and then on the next "yum update firefox" jump to 23?.
Yum default behaviour would be (AFAIK) to install version 23.0 as it would report 21.0 already installed. And find nothing to do.
/M.
-- During times of Universal Deceit, telling the truth becomes a revolutionary actDurante épocas de Engaño Universal, decir la verdad se convierte en un Acto Revolucionario- George Orwell
On Thu, Sep 5, 2013 at 1:16 AM, Martin S shieldfire@gmail.com wrote:
Yum default behaviour would be (AFAIK) to install version 23.0 as it would report 21.0 already installed. And find nothing to do.
Suppose we're talking about a package which is not part of the base install. Or that we're talking about Fedora XFCE whose default browser is not Firefox :)
FC
On 09/05/2013 11:01 AM, Fernando Cassia wrote:
On Thu, Sep 5, 2013 at 1:16 AM, Martin S <shieldfire@gmail.com mailto:shieldfire@gmail.com> wrote:
Yum default behaviour would be (AFAIK) to install version 23.0 as it would report 21.0 already installed. And find nothing to do.Suppose we're talking about a package which is not part of the base install. Or that we're talking about Fedora XFCE whose default browser is not Firefox :)
FC
Yum would always default to installing the highest version available, unless you provide the specific version number at the command.
On Thu, Sep 5, 2013 at 1:32 AM, Rejy M Cyriac rcyriac@redhat.com wrote:
Yum would always default to installing the highest version available, unless you provide the specific version number at the command.
Thanks Rejy!
FC
On 09/04/2013 10:31 PM, Fernando Cassia wrote:
Suppose we're talking about a package which is not part of the base install. Or that we're talking about Fedora XFCE whose default browser is not Firefox :)
AFAIK it installs the most recent version. Why would you expect it to do anything else?
On Thu, Sep 5, 2013 at 2:38 AM, Joe Zeff joe@zeff.us wrote:
AFAIK it installs the most recent version. Why would you expect it to do anything else?
I somehow got the mistaken idea that "yum install" installed the base package from /os/packages and yum update retrieved stuff from /updates/ on the mirror/repo
Obviously I was wrong :) FC
On 09/05/2013 12:09 PM, Fernando Cassia wrote:
On Thu, Sep 5, 2013 at 2:38 AM, Joe Zeff <joe@zeff.us mailto:joe@zeff.us> wrote:
AFAIK it installs the most recent version. Why would you expect it to do anything else?I somehow got the mistaken idea that "yum install" installed the base package from /os/packages and yum update retrieved stuff from /updates/ on the mirror/repo
Obviously I was wrong :) FC
No worries. You learn much better from mistakes, as long as, you are not embarrassed to ask, and you are open to accept criticisms and suggestions. :-)
Cheers,
rejy (rmc)
-- During times of Universal Deceit, telling the truth becomes a revolutionary act Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto Revolucionario
- George Orwell
On 09/05/2013 08:39 AM, Fernando Cassia wrote:
On Thu, Sep 5, 2013 at 2:38 AM, Joe Zeff <joe@zeff.us mailto:joe@zeff.us> wrote:
AFAIK it installs the most recent version. Why would you expect it to do anything else?I somehow got the mistaken idea that "yum install" installed the base package from /os/packages and yum update retrieved stuff from /updates/ on the mirror/repo
Obviously I was wrong :)
In fact, yum does not have an idea about what is a base package and what is an update, it just looks at all the configured repos and selects the newest version. On the other hand, if you tell yum "--disable-repo=updates", the updates repository will be hidden to the selection algorithm, so you will get the base version.
On Thu, Sep 5, 2013 at 4:07 AM, Roberto Ragusa mail@robertoragusa.itwrote:
In fact, yum does not have an idea about what is a base package and what is an update, it just looks at all the configured repos and selects the newest version. On the other hand, if you tell yum "--disable-repo=updates", the updates repository will be hidden to the selection algorithm, so you will get the base version.
Excellent factoid Roberto!
In fact that paragraph should go quoted verbatim to the yum man page, if man pages were actually manual (documentation) pages instead of pages long description of switches/options rarely with any useful real-world usage case examples... ;)
The best documentation, imho was the one provided with Digital Research DR-DOS 6.0 and the /? switch used with every command...
FC
Hi
On Thu, Sep 5, 2013 at 3:57 AM, Fernando Cassia wrote:
In fact that paragraph should go quoted verbatim to the yum man page, if man pages were actually manual (documentation) pages instead of pages long description of switches/options rarely with any useful real-world usage case examples...
Convert any such suggestions into bug reports
https://fedoraproject.org/wiki/How_to_file_a_bug_report
Rahul
Am 05.09.2013 07:31, schrieb Fernando Cassia:
On Thu, Sep 5, 2013 at 1:16 AM, Martin S <shieldfire@gmail.com mailto:shieldfire@gmail.com> wrote:
Yum default behaviour would be (AFAIK) to install version 23.0 as it would report 21.0 already installed. And find nothing to do.Suppose we're talking about a package which is not part of the base install. Or that we're talking about Fedora XFCE whose default browser is not Firefox :)
irrelevant, yum does *always* take the newest version if you do not specify one - period
On Thu, Sep 5, 2013 at 5:15 AM, Reindl Harald h.reindl@thelounge.netwrote:
irrelevant,
Not irrelevant, I was responding to Martin's comment that said "as it would report 21.0 already installed". I wanted for Martin to understand I asked for the default behavior, regardless of whether a given package was already installed or not, a fact that HE introduced into the argument, not me.
Now, I now understand how yum works thanks to others who replied in a less patronizing way, thanks very much.
FC
On Thursday, September 05, 2013 05:45:49 AM Fernando Cassia wrote:
On Thu, Sep 5, 2013 at 5:15 AM, Reindl Harald <h.reindl@thelounge.net[1]> wrote:
irrelevant,
Not irrelevant, I was responding to Martin's comment that said "as it would report 21.0 already installed". I wanted for Martin to understand I asked for the default behavior, regardless of whether a given package was already installed or not, a fact that HE introduced into the argument, not me.
/M.
-------- [1] mailto:h.reindl@thelounge.net
On Thu, Sep 05, 2013 at 01:31:16AM -0400, Fernando Cassia wrote:
On Thu, Sep 5, 2013 at 1:16 AM, Martin S shieldfire@gmail.com wrote:
Yum default behaviour would be (AFAIK) to install version 23.0 as it would report 21.0 already installed. And find nothing to do.
Suppose we're talking about a package which is not part of the base install. Or that we're talking about Fedora XFCE whose default browser is not Firefox :)
Yum will attempt to install the latest version it can find based on the repositories defined in /etc/yum.repos.d that are either 1) configured as enabled or 2) enabled from the command line via --enablerepo.