Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   yum update/install from a specific repo (http://www.linux-archive.org/fedora-user/126188-yum-update-install-specific-repo.html)

Rick Stevens 07-16-2008 11:56 PM

yum update/install from a specific repo
 
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.



Thanks,


On Wed, Jul 16, 2008 at 7:05 PM, Rick Stevens <ricks@nerd.com> 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@nerd.com -
- Hosting Consulting, Inc. -
- -
- When all else fails, try reading the instructions. -
----------------------------------------------------------------------

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






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

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

PK 07-17-2008 02:27 PM

yum update/install from a specific repo
 
On Wed, Jul 16, 2008 at 7:56 PM, Rick Stevens <ricks@nerd.com> 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@nerd.com> 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@nerd.com -

- Hosting Consulting, Inc. * * * * * * * * * * * * * * * * * * * * * -

- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *-

- * * * * *When all else fails, try reading the instructions. * * * *-

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



--

fedora-list mailing list

fedora-list@redhat.com

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











--

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

- Rick Stevens, Systems Engineer * * * * * * * * * * * rps2@nerd.com -

- Hosting Consulting, Inc. * * * * * * * * * * * * * * * * * * * * * -

- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *-

- *Time: Nature's way of keeping everything from happening at once. *-

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



--

fedora-list mailing list

fedora-list@redhat.com

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



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

Ed Greshko 07-17-2008 02:37 PM

yum update/install from a specific repo
 
PK wrote:

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.


I'm sure you've discovered that, upon reading the yum manpage, that your
hoped for option doesn't exist. You do, however, have access to the source
code for yum so you could make it do as you please... :-)


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

"Kevin J. Cummings" 07-17-2008 02:41 PM

yum update/install from a specific repo
 
PK wrote:
On Wed, Jul 16, 2008 at 7:56 PM, Rick Stevens <ricks@nerd.com
<mailto:ricks@nerd.com>> 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.


yum --disablerepo=all --enablerepo=blah update

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

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

PK 07-18-2008 02:21 PM

yum update/install from a specific repo
 
On Thu, Jul 17, 2008 at 10:37 AM, Ed Greshko <Ed.Greshko@greshko.com> wrote:

PK wrote:




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.





I'm sure you've discovered that, upon reading the yum manpage, that your hoped for option doesn't exist. *You do, however, have access to the source code for yum so you could make it do as you please... *:-)




I understand :) jus want to make sure if there was an alternate approach for this so I don't reinvent the wheel :). I'll have a look at the source.

Thanks,

*


--

fedora-list mailing list

fedora-list@redhat.com

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



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

g 07-18-2008 05:17 PM

yum update/install from a specific repo
 
PK wrote:

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


this world is not perfect for everyone.
but it is best one around for breathing oxygen.

have a look at attached.

from what you have be told in this thread, and reading
attached, you may realize what to do to get what you want.


rots a ruk pk.


--

tc,hago.

g
.

in a free world without fences, who needs gates.
Name : yum-aliases Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:54 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 14940 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:22 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to enable aliases filters
Description :
This plugin adds the command alias, and parses the aliases config. file to
enable aliases.

Name : yum-allowdowngrade Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:54 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 3489 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:22 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to enable manual downgrading of packages
Description :
This plugin adds a --allow-downgrade flag to yum to make it possible to
manually downgrade packages to specific versions.

Name : yum-basearchonly Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:54 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 6186 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:22 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to let Yum install only basearch packages.
Description :
this plugin makes Yum only install basearch packages on multiarch systems.
If you type 'yum install foo' on a x68_64 system, only 'foo-x.y.x86_46.rpm' is installed.
If you want to install the foo-x.y.i386.rpm, you have to type 'yum install foo.i386'.
The plugin only works with 'yum install'.

Name : yum-changelog Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:54 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 11964 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:22 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin for viewing package changelogs before/after updating
Description :
This plugin adds a command line option to allow viewing package changelog
deltas before or after updating packages.

Name : yum-downloadonly Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:55 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 4618 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:22 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to add downloadonly command option
Description :
This plugin adds a --downloadonly flag to yum so that yum will only download
the packages and not install/update them.

Name : yum-fastestmirror Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 12:58:24 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 21631 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin which chooses fastest repository from a mirrorlist
Description :
This plugin sorts each repository's mirrorlist by connection speed
prior to downloading packages.

Name : yum-filter-data Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:55 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 46901 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to list filter based on package data
Description :
This plugin adds the options --filter- vendors, groups, packagers, licenses,
arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
installed-sizes. Note that each package must match at least one pattern/range in
each category, if any were specified.

Name : yum Relocations: (not relocatable)
Version : 3.2.8 Vendor: Scientific Linux
Release : 10.sl Build Date: Fri 23 May 2008 07:59:58 PM UTC
Install Date: Sat 12 Jul 2008 12:49:10 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-3.2.8-10.sl.src.rpm
Size : 2348153 License: GPLv2+
Signature : DSA/SHA1, Fri 23 May 2008 08:00:04 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/
Summary : RPM installer/updater
Description :
Yum is a utility that can check for and automatically download and
install updated RPM packages. Dependencies are obtained and downloaded
automatically prompting the user as necessary.

Name : yum-kmod Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:55 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 28758 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to handle fedora kernel modules.
Description :
Plugin for Yum to handle installation of kmod-foo type of kernel modules,
when new kernel versions are installed.

Name : yum-list-data Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:55 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 30278 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to list aggregate package data
Description :
This plugin adds the commands list- vendors, groups, packagers, licenses,
arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and
installed-sizes.

Name : yum-merge-conf Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:56 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 15521 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to merge configuration changes when installing packages
Description :
This yum plugin adds the "--merge-conf" command line option. With this option,
Yum will ask you what to do with config files which have changed on updating a
package.

Name : yum-priorities Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 12:58:24 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 12698 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : plugin to give priorities to packages from different repos
Description :
This plugin allows repositories to have different priorities.
Packages in a repository with a lower priority can't be overridden by packages
from a repository with a higher priority even if repo has a later version.

Name : yum-protectbase Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:56 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 6400 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to protect packages from certain repositories.
Description :
This plugin allows certain repositories to be protected. Packages in the
protected repositories can't be overridden by packages in non-protected
repositories even if the non-protected repo has a later version.

Name : yum-protect-packages Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:56 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 9103 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to prevents Yum from removing itself and other protected packages
Description :
this plugin prevents Yum from removing itself and other protected packages.
By default, yum is the only package protected, but by extension this
automatically protects everything on which yum depends (rpm, python, glibc,
and so on).Therefore, the plugin functions well even without
compiling careful lists of all important packages.

Name : yum-refresh-updatesd Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:05:36 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 4308 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Tell yum-updatesd to check for updates when yum exits
Description :
yum-refresh-updatesd tells yum-updatesd to check for updates when yum exits.
This way, if you run 'yum list updates' and yum says there's a new version
of (for example) zsh available, puplet will almost instantly update itself
to reflect this.

Name : yum-skip-broken Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:56 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 13436 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:23 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to handle skiping packages with dependency problems
Description :
This plugin adds a --skip-broken to yum to make it possible to
check packages for dependency problems and skip the one with problems.

Name : yum-tsflags Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:56 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 2922 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:24 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to add tsflags by a commandline option
Description :
This plugin allows you to specify optional transaction flags on the yum
command line

Name : yum-upgrade-helper Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:06:58 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 10068 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:24 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to help upgrades to the next distribution version
Description :
this plugin allows yum to erase specific packages on install/update based on an additional
metadata file in repositories. It is used to simplify distribution upgrade hangups.

Name : yum-versionlock Relocations: (not relocatable)
Version : 1.1.10 Vendor: Scientific Linux
Release : 10.el5 Build Date: Wed 11 Jun 2008 04:05:47 PM UTC
Install Date: Sat 12 Jul 2008 01:07:00 PM UTC Build Host: norob.fnal.gov
Group : System Environment/Base Source RPM: yum-utils-1.1.10-10.el5.src.rpm
Size : 6272 License: GPL
Signature : DSA/SHA1, Wed 11 Jun 2008 04:25:24 PM UTC, Key ID da6ad00882fd17b2
URL : http://linux.duke.edu/yum/download/yum-utils/
Summary : Yum plugin to lock specified packages from being updated
Description :
This plugin allows certain packages specified in a file to be protected from being updated by
newer versions.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


All times are GMT. The time now is 05:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.