need --enablerepo cli option
Neal Becker
ndbecker2 at gmail.com
Tue May 16 12:20:51 PDT 2006
On Tuesday 16 May 2006 3:05 pm, Pascal Bleser wrote:
> Neal Becker wrote:
> > One thing I still need to use yum for:
> > sudo yum --enablerepo=updates-debuginfo install python-debuginfo
> >
> > AFAICT, smart doesn't have a handy CLI way to temporarily enable a
> > repository, as in the above.
>
> So I thought as well and started to hack something, but yesterday
> Gustavo told me about the following option:
> -o force-channels=alias1,alias2,alias3
>
> It's what you're looking for.
>
OK, then we need better documentation.
smart install --help:
[...]
Options:
-h, --help Show this help message and exit
--stepped Split operation in steps
--urls Dump needed urls and don't commit operation
--download Download packages and don't commit operation
--explain Include additional information about changes,when possible
-y, --yes Do not ask for confirmation
No clues that there is a -o force-channels
More information about the Smart
mailing list