Re: yum update/install from a specific repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Jul 16, 2008 at 7:56 PM, Rick Stevens <ricks@xxxxxxxx> wrote:
PK wrote:
hmm I don't want to change the repo files, prefer to leave them at its
default state and jus have yum do that for me. At least I don't have to do
that with up2date so I'm looking for a similar behaviour.

Then "yum --disablerepo=atrpms,livna update" will do it.


hmm close enough. But still not what I was hoping for. the above approach sure works but I would have to know all the repo names. It might be easy for jus a couple of repos, But what if I have 10 other custom repos . I do not want to specify each of them with disablerepo jus to get updates from a specific one. Was hoping for something simple like "yum --repo=blah update" and this gets the updates only from repo blah and ignores the rest.


 



Thanks,


On Wed, Jul 16, 2008 at 7:05 PM, Rick Stevens <ricks@xxxxxxxx> wrote:

PK wrote:

hello:

had a quick question. Is there a way to check/install updates from a
specific repo through yum. So say I have fedora, livna and atrpms repos on
my box, would like to install /update only from fedora. So for example,
up2date has a way of getting updates from a specific channel i.e up2date
--channel=updates -u.

so whats equivalent of that with yum?

Set "enable=0" in all of the repos you have except for updates.  If you
need to grab something from one of the disabled repos, use

      yum --enablerepo=atrpms update

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                       rps2@xxxxxxxx -
- Hosting Consulting, Inc.                                           -
-                                                                    -
-          When all else fails, try reading the instructions.        -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




--
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                       rps2@xxxxxxxx -
- Hosting Consulting, Inc.                                           -
-                                                                    -
-  Time: Nature's way of keeping everything from happening at once.  -

----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux