[Yum] Package management strategy with yum

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

 



On Wed, Mar 30, 2005 at 09:35:28AM -0500, Sean Dilda wrote:
> From yum(8):
>        --enablerepo=repoid
>               Enables  a  specific  repository  that has been disabled in
>               the configuration file using the enabled=0 option.
>               Configuration Option: enabled
>        --disablerepo=repoid
>               Disables a specific repository.
>               Configuration Option: enabled
> That's from yum 2.2.0.

Okay, obviously you're seeing something here that I'm not. How do I disable
all non-specific repositories?

Here's what I'm doing -- that may make this more clear: I want to run yum
-y update (actually, yum -y upgrade) from a cron job rather frequently. However,
if someone drops in a repo file for some-random-eastern-european-repo to
provide access to some very hypothetical app, I don't want that accessed so
frequently. (There's a host of reasons for that, but I hope they're
obvious.) I also don't necessarily want it updated from with assumeyes. I
just want my repos to be looked at.

Listing all such possible specific repos on the command line isn't, well,
practical.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux