yum include?!?
Jussi Lehtola
jussilehtola at fedoraproject.org
Wed Feb 16 10:57:57 UTC 2011
On Wed, 16 Feb 2011 11:48:35 +0100
"valent.turkovic at gmail.com" <valent.turkovic at gmail.com> wrote:
> Hi,
> I was looking for a way to use ONLY specific packages from some repos,
> and exclude everything else. There are some repos that have just one
> or two packages I want/need.
> I don't want other packages conflicting others in fedora repos. Is
> there a way to exclude everything except few specific packages?
>
> I found post [1] suggesting to use "yum --disablerepo=*
> --enablerepo=name --exclude=!my_package*" but that doesn't work.
e.g.
# yum --disablerepo=* --enablerepo=name update pkg1 pkg2 pkg3
will only update pkgs 1 2 and 3 (and their dependencies, if necessary).
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org
More information about the users
mailing list