Re: yum include?!?

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

 



On Wed, 16 Feb 2011 11:48:35 +0100
"valent.turkovic@xxxxxxxxx" <valent.turkovic@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux